Hi,
We are using Jira with the official Python SDK and due to a recent prematurely deprecated authentication method we get a lot of 401 errors formatted as HTML.
Now, we already traced the cause for these errors so no need for help there, I only want to know why HTML? Whoever is sending a message to Jira API is doing so with computer code. Why can't I get a JSON message that describes the error in a way I can easily parse with my program?
Is there a reason a JSON API would return an HTML response?