Confusing error messages
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-13-2022
04:23 PM
While trying to get this to work in Postman before the meeting earlier I was sent on some tangents by the error messages provided in some circumstances.
For example, when I was trying to get a list of tables (I now know the endpoint isn't ready) I assumed it would be a GET request. However, the error that was returned said that my JWT token was malformed. I realise it's a knucklehead mistake on my part, but it was frustrating for a while.
Another example was when I entered the wrong endpoint. In the documentation for the authorization if you hit the dropdown on the example on the right the url provided is:
https://data-access-platform.example.com/api
This returns a 403, with a "Missing Authentication Token" message. This should be a 404.