---
title: "API Error Codes and How to Fix Them"
url: "https://voicedeliver.com/docs/errors.md"
canonical_url: "https://voicedeliver.com/docs/errors"
last_updated: "2026-11-14"
type: "reference"
summary: "Every VoiceDeliver API error code with its HTTP status, whether to retry, and how to fix it, plus the error envelope each failed call returns."
related: ["https://voicedeliver.com/docs/api.md"]
---

# Errors

> **For AI agents:** the complete index of VoiceDeliver pages is [llms.txt](https://voicedeliver.com/llms.txt). Every page is also served as markdown at its URL plus .md.

Every VoiceDeliver API error code with its HTTP status, whether to retry, and how to fix it, plus the error envelope each failed call returns.

All failures use one envelope. Branch on `error.code` and read `error.fix`.

```json
{
  "error": {
    "code": "invalid_input",
    "message": "...",
    "fix": "...",
    "docs_url": "https://voicedeliver.com/docs/errors#invalid_input",
    "retryable": false,
    "request_id": "req_..."
  }
}
```

| Code | HTTP | Retry | Meaning | Fix |
| --- | --- | --- | --- | --- |
| `unauthorized` | 401 | no | The API key is missing, malformed, revoked or unknown. | Send a valid key in the Authorization header as "Bearer <key>". If the key was revoked, create a new one and retry. |
| `forbidden` | 403 | no | This API key is not allowed to make this request. | Use a key from an account that has access to this product, or ask the account owner to grant access. |
| `insufficient_credits` | 402 | no | The account does not have enough credits for this lookup. | Add credits to the account, then retry. Nothing was charged for this request. |
| `rate_limited` | 429 | yes | Too many requests for this API key. | Wait the number of seconds in the Retry-After header, then retry. Spread requests out to stay under the X-RateLimit-Limit value. |
| `invalid_input` | 400 | no | The request input is invalid. | Correct the field named in the message and resend. Each product input schema is in the OpenAPI document. Nothing was charged. |
| `unknown_product` | 404 | no | No product exists at this path. | Check the product id in the URL against the product list in the OpenAPI document or llms.txt. |
| `method_not_allowed` | 405 | no | This endpoint does not accept that HTTP method. | Use the method named in the Allow response header (lookup endpoints and /v1/mcp accept POST). |
| `payload_too_large` | 413 | no | The request body is too large. | Send one lookup input per request and keep the JSON body small. Split large lists into separate requests. |
| `provider_unavailable` | 503 | yes | The data source for this product is unavailable right now. | If retryable is true, retry later with exponential backoff. If it is false, this product is not configured on this server and retrying will not help. Nothing was charged. |
| `internal_error` | 500 | yes | An unexpected error occurred. | Retry once after a short wait. If it fails again, report the request_id to support. Nothing was charged. |
| `not_found` | 404 | no | Nothing exists at this address. | Check the path and any ids in it against the API reference, then retry. |
| `conflict` | 409 | no | The request conflicts with the current state of the resource. | Fetch the resource again, check its current state, then resend if the change still applies. |
| `signature_invalid` | 400 | no | The request signature is missing or does not match. | Sign the exact raw request body with the signing secret this server was given and send the signature header. |
| `plan_limit` | 402 | no | The current plan does not allow this. | Change to a plan that includes it, or reduce usage to stay within the plan, then retry. |
| `subscription_required` | 402 | no | This needs an active subscription. | Email hello@voicedeliver.com and we start your plan, then retry. |
| `trial_expired` | 402 | no | The free trial has ended. | Email hello@voicedeliver.com and we start your plan to keep using the service. |
| `trial_allowance_exhausted` | 402 | no | The trial allowance is used up. | Nothing was charged. Email hello@voicedeliver.com and we start your plan so you can keep going; the plan is only charged when you ask. |

A send refused for permission reasons, for example no permission on file or an opt-out, returns `forbidden` (HTTP 403) and explains the reason in `message`. Include the `request_id` when you write to support.

## Related

- [VoiceDeliver API Reference: Every Endpoint](https://voicedeliver.com/docs/api.md)
