Comment on page
We have standardized how we handle errors across all of our APIs.
When an error occurs, we will return information about why the error occurred as well as the corresponding HTTP error code.
A Validation error will occur if you send a request that is missing a parameter or has a parameter with an invalid/unacceptable value. In this situation, we will return the HTTP status code 400 (Bad Request) along with error details.
"message": "'query.iban' is required",
Whenever a validation error occurs your response will have the structure explained in the table below:
If you send a request to a non-existent endpoint, you will receive HTTP status code 404 (Not Found), and the following JSON response:
"message": "No endpoint matching requested URL was found."
Whenever a Not Found Error occurs, your response will have the structure explained in the table below:
If there is an error on our end, you will receive an error message that explains what happened. When an Internal Server Error occurs, our team members are alerted, and we investigate why it happened.
Whenever an Internal Server Error occurs, your response will receive a response having HTTP status 500 (Internal Server Error), and the JSON response explained in the table below: