> ## Documentation Index
> Fetch the complete documentation index at: https://docs.live.sdk.aurorax.co/llms.txt
> Use this file to discover all available pages before exploring further.

# Error Codes

> HTTP status codes, MCP tool errors, and retry guidance.

## REST API Status Codes

| Status | Meaning | What to Do |
| - | - | - |
| `400` | Malformed request or API key passed in URL query string. | Fix the request format and pass API keys in headers only. |
| `401` | Missing, invalid, or revoked API key. | Check `Authorization: Bearer ask_...` or `X-API-Key`. |
| `402` | Billing is not active or payment is past due. | Link or update a card in the Developer Portal. |
| `403` | Project is suspended. | Check project status in the Developer Portal. |
| `404` | Resource not found in this project. | Verify the ID belongs to the authenticated project. |
| `409` | State conflict (for example, cancelling a finished request or answering when not in `needs_input`). | Fetch the latest request state before retrying. |
| `422` | Invalid request fields (such as phone format, targets, or clarification answers). | Fix the fields noted in the response and retry. |
| `429` | Rate limit exceeded. | Back off and retry. |
| `5xx` | Temporary server error. | Retry safely with the same `Idempotency-Key`. |

## MCP Tool Errors

MCP tool failures return structured error fields (`error_code`, `message`, `retryable`, and `hint`) so the agent knows whether to retry automatically or ask the user. When retrying `create_request` after a timeout or server error, reuse the same `idempotency_key`.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.