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:

Error Example

Here's the example of the error object:

{
  "status": 403,
  "success": false,
  "error": {
    "code": 101,
    "type": "missing_api_key",
    "message": "You did not provide proper API key, please check documentation"
  }
}

Error Codes

In the table below, you can find all the possible errors that VatZen API can return:

Last updated