Skip to main content

Common errors

401 Unauthorized — invalid API key

Check:
  • Token was copied correctly (no extra spaces)
  • Token has not been deleted or expired
  • Request header format is correct: Authorization: Bearer sk-xxxxx

402 Payment Required — insufficient balance

Solution: Log in to the dashboard and top up your account.

404 Not Found — endpoint doesn’t exist

Check:
  • Base URL is correct: https://api.anyone.ai/v1
  • Make sure you haven’t added or omitted /v1

429 Too Many Requests — request rate too high

Solution: Wait a few seconds and retry, or reduce your request rate. See rate limits for details.

500 / 502 / 503 — server error

The upstream model may be temporarily unavailable. Solution:
  1. Wait a minute and retry
  2. Try a different model
  3. If the issue persists, contact support

Base URL setup

Make sure your base URL is set correctly:
The most common mistake is adding a trailing / to the base URL. Use https://api.anyone.ai/v1, not https://api.anyone.ai/v1/.

Still stuck?

  • Check the Logs page in the dashboard to see if your request reached Anyone
  • Confirm that your network can access api.anyone.ai
  • Contact support with your error details