Skip to main content
The DiVA API uses standard HTTP response codes to indicate the status of requests. When errors occur, the API may return an error message. You can use the response codes and error messages to aid in debugging requests and to improve your exception handling capability. Core API error codes are listed separately.

Response codes

The DiVA API uses standard HTTP response codes to indicate the status of requests. In general, codes in the 2xx range indicate success, codes in the 4xx range indicate an error in the request, and codes in the 5xx range indicate an error on the Marqeta platform. The following table shows some common response codes:

Error codes and messages

Error codes are based on HTTP response codes. The first three digits include the HTTP response code and the last three digits represent the error. Common error codes 403