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

# Common API errors

> Diagnose common NexusAPI client, protocol, and request failures.

Before retrying, save the error text, Request ID, time, model, and endpoint. Do not send a full API key.

<Tip>
  **Diagnose before retrying**

  Parameter, protocol, and session-compatibility issues do not disappear through repeated requests. Retry a known transient failure only once and at a low frequency.
</Tip>

## `status_code=500, not implemented`

When this appears while `/v1/responses` calls a current Anthropic-type Claude channel, it is a protocol mismatch—not a temporary upstream outage.

1. For a custom application, use `/v1/chat/completions`.
2. For Claude Code, follow the [Claude Code guide](/en/tools/claude-code) and keep its native Messages configuration.
3. Do not retry the same request unchanged.

## HTTP errors

| Error           | Typical cause                                                        | First action                                                    |
| --------------- | -------------------------------------------------------------------- | --------------------------------------------------------------- |
| 400             | Invalid model, endpoint, parameter, or session state                 | Verify the protocol and run a minimal new-session test.         |
| 401             | Missing, invalid, expired, or disabled API key                       | Recopy the key and check `Authorization: Bearer ...`.           |
| 403             | Group, model restriction, IP allowlist, account, or upstream refusal | Check the key settings and model group.                         |
| 404             | Wrong path or duplicate `/v1`                                        | Check the actual request URL and use the client-specific guide. |
| 429             | Rate limit or concurrency limit                                      | Reduce concurrency and follow `Retry-After` when provided.      |
| 500 / 502 / 503 | Temporary processing or upstream failure                             | Wait 10–30 seconds and retry once.                              |
| 504 / 524       | Request or upstream wait timeout                                     | Shorten context/output where practical; keep the Request ID.    |

## `no available channel`

The current key's group has no enabled route for that model. Check the exact model ID, token group, and Model Marketplace availability. Do not create new keys or top up repeatedly to solve it.

## `Concurrency limit exceeded for user`

Too many active requests are using the account. Wait for existing requests to finish and reduce client concurrency. Recreating the API key does not remove this limit.

## Long conversations and tool calls

* **`Invalid signature in thinking block`**: Start a new session, update the client, and avoid continuing the same session across multiple clients.
* **`previous_response_id is only supported on Responses WebSocket v2`**: Start a new session and turn off experimental response reuse or update the client.
* **`Content block not found`**: See [Content block not found](/en/faq/content-block-not-found).

## Image generation

Use image models only through the Images endpoint. For `Image generation is not enabled`, `model not supported`, or a timeout, check the model, key group, and parameter support first. Keep the Request ID and do not immediately submit the same job again.

## Suspected unexpected charge

Do not assume that an error will be retried by the platform. Check the final client result and matching Request IDs. If you need help, provide the relevant Request IDs and times.
