API Errors
VatZen is Deprecated since January 2022 and API server will be shut down soon!
If you request fails for some reason, VatZen API will return non-200 HTTP code as well as JSON response which will contain details about the error occurred.
Error Object
Here's the format of error object, which is returned by the API:
Field | Type | Description |
|
| Equal to the HTTP status returned with this response. Status for errors is always non-200. For available HTTP errors, please see the documentation. |
|
| Boolean value set to |
|
| This object contains "readable" data about the error. |
|
| Internal code of the error, you can find the entire errors' list below. |
|
| The same as error code, but easier to understand. |
|
| Long string, which will help you to understand what has happened and how to resolve this issue. |
Error Example
Here's the example of the error object:
Error Codes
In the table below, you can find all the possible errors that VatZen API can return:
Code | Type | Description |
|
| No API Key provided |
|
| Provided API Key is invalid |
|
| API Key has reached the daily or monthly requests limit |
|
| Request contains invalid input |
|
| IP Address in the request is invalid |
|
| We failed locating the supplied IP Address |
|
| You provided an invalid Country Code |
|
| You provided an invalid "amount" value |
Last updated