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

# Errors

> Error response format and common error codes

# Errors

All errors return JSON with an `error` object containing `code` and `message` fields.

```json theme={null}
{
  "error": {
    "code": "NOT_FOUND",
    "message": "No carrier found with DOT# 99999"
  }
}
```

## Error Codes

| Code             | HTTP Status | Description                            |
| ---------------- | ----------- | -------------------------------------- |
| `NOT_FOUND`      | 404         | Resource doesn't exist                 |
| `INVALID_PARAM`  | 400         | Bad request parameter                  |
| `INVALID_BODY`   | 400         | Invalid JSON request body              |
| `ACCOUNT_EXISTS` | 409         | Account with this email already exists |
| `RATE_LIMITED`   | 429         | Too many requests                      |
| `UNAUTHORIZED`   | 401         | Missing or invalid API key             |
| `INTERNAL_ERROR` | 500         | Server error                           |
