Troubleshooting

Fixes for the errors people run into most.

Updated October 28, 2026

Start with error.code in the response body: it names the exact reason. Every request, including failed ones, also appears under LLM activity with its status and error.

401 authentication_error

The key is missing, mistyped or revoked. Check that the header is exactly Authorization: Bearer <key> and that the variable is set in the process that sends the request (echo ${#OT_API_KEY} should print a number above 40). Check the key's prefix against the list under API keys.

If error.code is api_key_expired, the key passed the expiry date chosen when it was created (the message gives the date). It can't be extended: create a new key under API keys, update your application, then revoke the expired one. Keys about to expire are flagged on the API keys page, and owners and admins get an email 7 days before.

If you see a key under API keys whose secret nobody has, it can't be shown again. If it says No use yet, regenerate it (a new secret is shown once) or delete it.

403 byok_required

Your organization hasn't connected AWS credentials yet. Add them under Integrations; requests work immediately after.

404 unknown model

Use the Open Token model ID (like amazon/nova-lite), not the Bedrock model ID. The full list is under Models or GET /v1/models.

429 rate_limit_error

You went over your tier's requests per minute or concurrency. Wait for Retry-After and retry with exponential backoff. If it happens during normal traffic, see usage tiers and limits or ask us for a higher tier.

502 provider_error

Amazon Bedrock failed or denied the call. The message says which: most often the model isn't enabled in your AWS account and region, or your credentials lack bedrock:InvokeModel. Enable model access in the Bedrock console, check the IAM policy, and try again.

503 provider_unavailable

The provider couldn't take the call right now: Amazon Bedrock answered ServiceUnavailableException, or another provider said it was unavailable or overloaded. In a stream that already started, it arrives as an error event with code: 503. A call that produced no output isn't billed. Wait for Retry-After and retry with exponential backoff. Bedrock's other failures stay 502 provider_error.

Streaming stops early

A proxy or load balancer between your app and us may buffer or cut long responses. Disable response buffering for the API path and raise idle timeouts above your longest expected generation.

MCP server

For errors when connecting Cursor, Claude or another assistant, see MCP server.

Still stuck?

Contact us with the request ID (id in the response, starting with gen_) and the time it happened.