# API Error Messages

Sample Error Response

```json
{
    "result": "error",
    "message": "Symbol Required -- Symbol is required for this request",
    "data": "",
    "params": {}
}
```

In the example provided, the error message indicates that a "Symbol" is required for the request.

The Error response follow the format:

```
Symbol Required -- Symbol is required for this request
<Error Header>  -- <Error Message>
```

The Error Header and Messages

* Invalid Time:&#x20;
  * End time must be accompanied by a start time&#x20;
  * Start time and end time must be different&#x20;
  * End time must be greater than start time
* Invalid Limit: \
  Limit must be an integer
* Invalid Time Format:&#x20;

  Accepted formats are:&#x20;

  * YYYY-MM-DDTHH:MM:SSZ&#x20;
  * YYYY-MM-DDTHH:MM:SS.sssZ&#x20;
  * YYYY-MM-DD
* Symbol Required: \
  Symbol is required for this request
* Invalid Symbol:&#x20;

  Symbol does not exist
* Symbol Different Endpoint:&#x20;

  Symbol frequency belongs to a different endpoint
* Invalid Frequency:&#x20;

  Frequency must be one of the following:&#x20;

  * r for real-time
  * h for hourly
  * d for daily
* Too Many Requests: \
  Rate limit exceeded
* Unauthorized:&#x20;
  * You have not specified authorization header&#x20;
  * You are not authenticated properly&#x20;
  * You do not have access to requested endpoint
