Text of error messages are empty

 

When the user performs an action that is not allowed, an error message appears in the upper right corner of the page. We use non 200 status codes to communicate errors from backend to UI. But sometimes proxy and firewalls between Jira Server and the users doesn’t like responses with non 200 codes. They may replace our response with something else and this causes error popups to show empty content.

In a recent issue, IBM DataPower Gateway caused this problem for one of our clients. It converted oru 406 response code with a JSON message to following 200 response.

<html><body><p> code: dp-500 msg: HTTP response code in response not allowed </p></body></html>

Solution for this was adding 406 response code to white list of IBM DataPower Gateway.