> This page is for version v1 (default).
> For other versions, use one of these documentation indexes:
> - v1 (default): https://developers.outpave.com/v1/llms.txt
> - v2: https://developers.outpave.com/v2/llms.txt

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://developers.outpave.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://developers.outpave.com/_mcp/server.

# Errors and rate limits

v1 uses standard HTTP status codes. Error bodies are JSON with a short `error` message, and validation failures add a `details` array. Branch on the status code, not on the message text.

```json
{
  "error": "Validation failed",
  "details": ["allocations must contain at least one entry"]
}
```

## Status codes

| Status | Meaning                                                                            | What to do                                                 |
| ------ | ---------------------------------------------------------------------------------- | ---------------------------------------------------------- |
| `400`  | The request failed validation.                                                     | Fix the fields named in `details`. Do not retry unchanged. |
| `401`  | The credential or token is missing, invalid or expired, or the key is deactivated. | Get a new access token, then retry once.                   |
| `403`  | The key is valid but lacks the role or scope for this operation.                   | Use a key with the role the operation names.               |
| `404`  | The resource does not exist or is not visible to your key.                         | Check the identifier.                                      |
| `429`  | You exceeded the rate limit for your key.                                          | Wait, then retry. See below.                               |
| `5xx`  | Unexpected server error.                                                           | Retry with exponential backoff.                            |

## Rate limits

Limits apply per API key and are shared with v2.

| Key role   | Per 10 seconds | Per hour |
| ---------- | -------------- | -------- |
| `Admin`    | 60             | 3,600    |
| `ReadOnly` | 30             | 1,800    |

These are defaults. A key can have custom limits; the headers show the ones in effect.

| Header                | Meaning                          |
| --------------------- | -------------------------------- |
| `RateLimit-Limit`     | Requests allowed in the window.  |
| `RateLimit-Remaining` | Requests left in the window.     |
| `RateLimit-Reset`     | Seconds until the window resets. |

Successful responses report the hourly budget. A `429` reports the exhausted budget and includes `Retry-After` in seconds; wait that long before retrying.

Failed authentication is limited to 30 attempts per IP address per 15 minutes. Further attempts return `429` with `Retry-After`.

## Retrying writes

v1 Platform and Company operations do not take an idempotency key. Before you retry a create that timed out, read the resource to check whether the first attempt succeeded.

A Customer Portal JSON request is safe to retry when you send an `externalId`; a request that uploads files is not. See [Customer Portal ingestion](/v1/docs/guides/customer-portal#retry-safely).