Selected models are free to useView free models
Documentation / API errors

API Errors & Troubleshooting

Use the error code and full message to identify issues with keys, quotas, request content or service availability.

Find an error code
00

Identify the issue first

The same code can have different causes, so keep the full error message. A client showing “Connected” or “Request submitted” does not mean the task completed successfully.

The console actions in 401 / 402 details apply only to confirmed LanoX key or balance issues. An HTTP status alone is insufficient. Do not top up or change your key for upstream errors.

For 401, check the setup first. For 429, pause retries. For 503, contact us. Balance or budget issues generally require credit or quota changes; waiting alone may not help.

01

Error reference

Identify the category, then check the likely causes. Fix the setup, content or quota before retrying, rather than resubmitting the same request repeatedly.

16 results
Error code16 / 16
HTTP401Keys & quotas

Incorrect API key or integration setup

The API key, base URL, selected provider or client’s cached settings may be incorrect.

Common causes
  • The key is incorrect or includes spaces or line breaks.
  • The key has been deleted or disabled, or the client is still using old settings.
  • Claude Code / CC Switch is not connected to LanoX as described in the integration guide.
How to resolve it
  1. Check the API key, base URL and selected provider again.
  2. For Claude Code / CC Switch, use an API key created on the platform and set the base URL to https://api.lanox.ai, without /v1 or a trailing slash.
  3. Save the settings, fully quit and reopen the client, then send a short message.
When to retry
Adjust firstFix the settings and restart the client before retrying.
If the website login page says your session has expired, sign in again. Contact us if 401 persists.
Claude Code / CC Switch base URL: https://api.lanox.ai
Next steps in the LanoX console

Use only when the full message confirms a LanoX key or integration issue. Do not change keys to try to fix upstream authentication failures.

Manage API keys
02

Resolve common messages

Messages vary by model and integration. Start with the keywords in the message, then use the error code to confirm the issue.

Common messagesError codeFirst action
400Check the model, attachments and features in use
422Revise the content to follow the rules
422Revise the content or use permitted materials
422Use materials that meet the requirements
429Pause repeated retries and try again later
503Contact us
03

Check your setup & contact us

Use the full client error message and final outcome when troubleshooting. “Connected” or “Request sent” alone does not confirm success.

Recommended checks

5 steps
  1. 01

    Record the time, code and full message. Save a screenshot with the key hidden.

  2. 02

    Check the selected provider, base URL and API key against the integration guide.

  3. 03

    Check personal or enterprise balance, employee budgets and key limits. Reduce concurrent tasks.

  4. 04

    Send a short message using an available model. Remove attachments and extra features if needed.

  5. 05

    Contact us if these checks do not help, or if you see 503 or persistent service errors.

Include in your support request

Include the time, client and version, model name, error code, full message or screenshot, and whether the issue affects only one model, account or key.

For image or video tasks, include the task ID. Also include the request ID if it appears in the error details.

Do not send full API keys, passwords or verification codes. Hide keys and personal information in screenshots.