errorTemplate doesn't work in Atlassian Connect Express

Hello, I have a problem with showing templates for unauthorized users.

We have enabled errorTemplate option in config.json and added unauthorized.hbs.

Instead of template, I see the error “Something’s gone wrong” and spinner.

Answers from these topics didn’t help:

How can I fix this problem?

Many thanks.
Vladislav Komanchy

The something goes wrong spinner sounds a whole lot like this issue over here: An update on our investigation to solve intermittent iframe loading problems in Connect apps
This is related to the all.js file not being correctly loaded/initalized and has nothing to do with an error on your server, therefore the error template does not catch this particular case.

1 Like