# Error Response Codes

## HTTP Status Codes

Each request to the API will return an HTTP status code, a three-digit code that indicates the outcome of the request.&#x20;

<table><thead><tr><th width="106">Code</th><th width="233"></th><th>Description</th></tr></thead><tbody><tr><td><mark style="color:green;"><code>200</code></mark></td><td><code>Success</code></td><td>Indicates a successful request and will contain <a href="/pages/w1yTw0X4c43P7dGeE176#response-headers">response headers</a> with addition details about the request.</td></tr><tr><td><mark style="color:red;"><code>400</code></mark></td><td><code>BadRequestError</code></td><td>Indicates that the request was malformed or invalid. Make sure you included all required fields to the endpoint in the request.</td></tr><tr><td><mark style="color:red;"><code>401</code></mark></td><td><code>UnauthorizedError</code></td><td>Indicates that the client is not authorized to access the requested resource. Make sure you are including a valid <a href="/pages/k3ETHPc9E4JPONyqqhqd#bearer-token-authentication">API Key</a> in the request header.</td></tr><tr><td><mark style="color:red;"><code>403</code></mark></td><td><code>ForbiddenError</code></td><td>Indicates the client is authenticated but not authorized to access the requested resource.</td></tr><tr><td><mark style="color:red;"><code>429</code></mark></td><td><code>RateLimitError</code></td><td>Indicates too many requests to the server within a window of time, exceeding the allowed <a href="/pages/axCIvJXLW8bxBKiqKpuZ">rate limit</a> for that endpoint. </td></tr><tr><td><mark style="color:red;"><code>500</code></mark></td><td><code>InternalServerError</code></td><td>Indicates the server encountered an unexpected error that prevented it from fulfilling the request. This usually means there is an issue with the server, not the request.</td></tr></tbody></table>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://developers.mobile-text-alerts.com/api-basics/error-response-codes.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
