Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

When the user performs an action that is not allowed on the approval page, an error message appears in the upper right corner of the page. The issue may arise that the texts in this error message cannot be displayed.This issue may be caused by the IBM DataPower Gateway error handling strategy. In this case, it can be resolved by adding the 406 error code to the jira whitelist. 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.

Code Block
<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.