# Error Codes

Our endpoints use [HTTP response codes](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status) to indicate API request success or failure. 

General HTML status codes

2xx Success. 

4xx Errors based on information provided in the request

5xx Errors on viaNexus Data Platform servers


## viaNexus Data Platform HTTP Status Codes

HTTP Code    | Type                              | Description
-------------|-----------------------------------|--------
__400__      | Incorrect Values                  | Invalid values were supplied for the API request
__400__      | No Symbol                         | No symbol provided
__400__      | Type Required                     | Batch request `types` parameter requires a valid value
__401__      | Authorization Restricted          | Hashed token authorization is restricted
__401__      | Authorization Required            | Hashed token authorization is required
__401__      | Restricted                        | The requested data is marked restricted and the account does not have access.
__401__      | No Key                            | An API key is required to access the requested endpoint.
__401__      | Secret Key Required               | The secret key is required to access to requested endpoint.
__401__      | Denied Referer                    | The referer in the request header is not allowed due to API token domain restrictions.
__402__      | Over Limit                        | You have exceeded your allotted credit quota (and pay-as-you-go is not enabled on legacy plans).
__402__      | Free Tier Not Allowed             | The requested endpoint is not available to free accounts.
__402__      | Tier Not Allowed                  | The requested data is not available to your current tier.
__403__      | Authorization Invalid             | Hashed token authorization is invalid.
__403__      | Disabled Key                      | The provided API token has been disabled
__403__      | Invalid Key                       | The provided API token is not valid.
__403__      | Test Token in Production          | A test token was used for a production endpoint.
__403__      | Production Token in Sandbox       | A production token was used for a sandbox endpoint.
__403__      | Circuit Breaker                   | Your pay-as-you-go circuit breaker has been engaged and further requests are not allowed.
__403__      | Inactive                          | Your account is currently inactive.
__404__      | Unknown Symbol                    | Unknown symbol provided
__404__      | Not Found                         | Resource not found
__413__      | Max Types                         | Maximum number of `types` values provided in a batch request.
__429__      | Too Many Requests                 | [Too many](https://console.vianexus.com/docs/api-basics/error-codes#request-limits) requests hit the API too quickly. An exponential backoff of your requests is recommended.
__451__      | Enterprise Permission Required    | The requested data requires additional permission to access.
__500__      | System Error                      | Something went wrong on an viaNexus Data Platform server.

Markdown of https://console.vianexus.com/docs/api-basics/error-codes. Append `.md` to any docs URL.
