---
title: HTTP/Error Codes
slug: api/httperror-codes
icon: 🚨
docTags: 
createdAt: 2025-06-10T02:33:03.390Z
---

# API Error Handling and Resolution&#x20;

To support smooth integration and effective troubleshooting, this section provides a list of HTTP error codes that may be returned by the Data Zoo KYC Data API. These status codes follow standard HTTP conventions and are intended to help developers quickly identify and address issues during implementation and ongoing use.&#x20;

## API Responses

### Success

| **Success Code**  | **Description**                                                                                 |
| ----------------- | ----------------------------------------------------------------------------------------------- |
| **200&#x20;**- OK | Indicates that the request was successfully received, understood, and processed by the server.  |



### Error&#x20;

Each code is accompanied by possible causes and suggested resolutions.&#x20;

| **Error Code**                            | **Description**                                                                                                                      | **Possible causes**                                                                                                                                                                                                                                                                                                                                                                                      |
| ----------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **400&#x20;**- Bad Request                | Indicates that the server cannot or will not process the request due to something that is perceived to be an error from client side. | ▪️Invalid JSON or malformed request body.<br />▪️Missing required query parameters or headers.<br />▪️Invalid values or formats (e.g., wrong data type).<br />▪️Incorrect content type (e.g., sending text/plain when application/json is expected).<br /><br />Example,<br />:::BlockQuote
"validationErrors": \[ "Invalid value for dateOfBirth should be: in format YYYY-MM-DD or DD-MM-YYYY." ],
::: |
| **401&#x20;**- Unauthorized<br />         | The request failed as valid authentication credentials for the target resource.                                                      | No credentials were provided, or the credentials provided (e.g. API key, token, username/password) are invalid or expired.<br /><br />Example,<br />:::BlockQuote
`{ "error": "Incorrect log in credentials detected" }`
:::                                                                                                                                                                             |
| **403&#x20;**- Forbidden<br />            | Indicates that the client’s identity may be known, but they do not have permission<br /> to access the requested resource.           | ▪️The user is authenticated but lacks required permissions or roles.<br />▪️The resource is restricted (e.g., admin-only access).<br />▪️IP address or region has been blocked.<br />▪️Access is intentionally denied due to policy or configuration.                                                                                                                                                    |
| **404&#x20;**- Not Found                  | Indicates that the server is reachable, but the specific <br />URL or resource does not exist or could not be found.                 | ▪️Incorrect URL or endpoint path.<br />▪️API version mismatch or deprecated endpoint.                                                                                                                                                                                                                                                                                                                    |
| **405&#x20;**- Method Not Allowed         | Occurs when a client sends a request where the method is not permitted for the target URL.                                           | Only POST method is allowed.                                                                                                                                                                                                                                                                                                                                                                             |
| **500&#x20;**- Internal Server Error      | Server failed to process the request due to a problem on the server side                                                             | Can be triggered by a wide range of issues. It indicates that something went wrong on the server, but the exact cause is not specified in the response. <br />                                                                                                                                                                                                                                           |
| **503&#x20;**- Service Unavailable        | Indicates the server is currently unable to handle the request due to temporary overload, maintenance, or downtime.                  | ▪️Server under high load or experiencing traffic spikes.<br />▪️Scheduled maintenance.<br />                                                                                                                                                                                                                                                                                                             |
| **522&#x20;**- Origin Connection Time-out | Indicates the request was aborted due to connection issue.                                                                           | Common causes of a 522 error include an overloaded origin server, firewall or security settings blocking Cloudflare, long-running processes, or network issues between Cloudflare and the server.                                                                                                                                                                                                        |



### Submit a Support Ticket&#x20;

If the issue persists or further assistance is required, [submit a support ticket here](https://datazoo.freshdesk.com/support/tickets/new).



