A JS alert pops up saying "an error occured while importing your calendar" and in the network console we can see various errors:
> Failed to load resource: the server responded with a status of 500 (Internal Server Error) import_view.coffee:73
> SyntaxError: Unexpected token < in JSON at position 0(…)
$.ajax.error @ import_view.coffee:73
> <!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
<head>
<meta http-equiv="content-type" content="text/html;charset=utf-8">
<meta name="description" content="Error 504: Ga
.....
Expected result
A message is displayed in the app's UI, and it's not the 504 bad gateway one.
Steps to reproduce
Result
A JS alert pops up saying "an error occured while importing your calendar" and in the network console we can see various errors:
Expected result
A message is displayed in the app's UI, and it's not the 504 bad gateway one.