Skip to main content
At $0.00 in Atlaso credit, the AI clean-up of saved messages waits, for Gateway calls and Plugin messages alike. Saving, recall, Ambient Memory, Ask and own-key model calls keep working. See Credits and learning. Errors have this shape. This example is the actual unknown-model response body:
Read error.code for the cause, param for the affected field (or null), and message for the fix. Open doc_url for the matching section of this reference. Keep the response’s x-request-id when contacting support. Provider validation errors can preserve a provider-specific code, so your client also needs a fallback for unknown codes. Unrecognized provider codes keep their original value and link to provider_error, which explains provider-specific errors. Atlaso never relays a provider’s own link fields: doc_url always points to this page. A provider’s message text is relayed after recognised API keys are scrubbed from it, so it can contain a link the provider wrote.

Authentication and availability

bedrock_payment_method_required

403, param: model. AWS needs a valid payment method on your AWS account before it can enable this model, sold through AWS Marketplace. Add or fix one in AWS Billing, Payment preferences, wait 5 minutes, then try again. Your key is fine and remains working. See AWS payment methods.

bedrock_model_access_required

403, param: model. AWS has not enabled the named model for your AWS account. Request access in the Amazon Bedrock console (Model access), or ask AWS, then try again. Your key stays working and your other Bedrock models still work. This is model access, not a request to replace your key. See AWS model access.

bedrock_inference_profile_required

400, param: model. AWS requires an inference profile for this model. Choose this model’s catalog ID from GET /v1/models; Atlaso accepts only catalog IDs as model, not an inference-profile ID or ARN. If a catalog ID gets this error, report it to Atlaso support. Your key stays working. See AWS inference profiles.

Request errors

Provider keys and billing

Provider balances are separate from Atlaso learning credit. Adding Atlaso credit cannot fix a provider billing error; your own-key calls are billed by the provider. insufficient_quota is the wire code. Activity’s internal error class for that case is provider_quota_exhausted. It is different from a temporary rate limit.

Limits and transient provider failures

For a model with several live, configured hosts, Atlaso can try another host using your saved, enabled, working key for that host. It follows provider.order, then the catalog’s host order, subject to provider.only and provider.ignore. A host temporarily marked unavailable is skipped when another candidate is ready. A catalog row pinned to one host stays on that host. A model with only one routable host does not use routing retries. Atlaso can switch after a connection failure, a connect timeout, HTTP 408, 429 or 5xx, an error the host reports before any answer text, or a key, access, billing or quota refusal. It never switches once the request was sent and the reply then fails or stalls (a read timeout: the host may bill it), once answer text has started, or after a request-shape error, an unsupported setting, a content filter or a client disconnect. provider.allow_fallbacks: false stops host switching. It does not disable the remaining host’s retry. When only one candidate remains on the multi-host route, Atlaso may retry that host once after a connection failure, a connect timeout, HTTP 408, 429 or 5xx. It waits between 0.5 and 2 seconds, honoring a Retry-After within that range; it does not retry when the requested wait exceeds 2 seconds. Key, billing and quota refusals are not retried on the same host. There are at most three attempts in total. x-atlaso-provider names the hostname that actually answered. Each attempt has its own Activity record and is priced separately from its reported usage and catalog prices. An attempt replaced by another is marked switched. The reply’s call ID and cost describe the final attempt, not the sum of all attempts. A call that never reached a provider has no inference charge; missing usage after a provider call is not evidence of a zero bill. Your SDK may retry independently; choose its retry settings explicitly. A client timeout, or an edge 502, 504 or 524 page, with automatic retries can make the provider run and bill the same non-streamed call twice, because the provider keeps working after your client or the network in front of the gateway gives up (a 524 means the request reached the gateway). For long answers, set a longer timeout or stream the reply. A refusal that a retry cannot fix (a limit or budget stop, a key problem, a bad request, a missing user ID on a key that requires memory) carries x-should-retry: false, which the OpenAI SDKs follow. A refusal before any model call has no provider inference charge. A failed call that reached the provider can still be billed.

Streams

After a streaming response starts, HTTP status cannot change. Inspect SSE frames for an error even if the initial HTTP status was 200. On Chat Completions, an error is a frame with an error object. On Responses, it is an error event (with code, message, param and doc_url at the top level) or a response.failed event (with the error in response.error). Treat both as failures. An error sanitizer can use provider_error when a provider’s error code is absent or unsafe. A stream interruption can emit provider_unavailable, or provider_timeout when the provider stalls past the read timeout; stream_interrupted is also a call-record classification, not a promise of a separate HTTP response code. Do not treat an incomplete stream as a complete answer or blindly replay a request whose tools may already have run.

Blocked before reaching Atlaso

The network in front of the gateway (its firewall and proxy) can answer a request itself. Its answer has no x-request-id, which Atlaso sets on every reply, errors included. It is usually an HTML page, and JSON when the client asks for JSON, but it never carries an Atlaso error.code. Some ordinary text can trigger its firewall, for example a file path such as ../../etc/passwd, a SQL fragment such as ' ; DROP TABLE x; --, or ${jndi:. The Atlaso SDK reports these answers with their own kinds instead of auth or server:

edge_blocked

What happened: an HTTP 403 answer without x-request-id (an HTML page, or JSON when the client asks for JSON) came from the network in front of the gateway, not from Atlaso. Atlaso never saw the request. Atlaso did not check your API key. The SDK’s message says so and includes at most the page’s short title, never the page itself. How to fix: The SDK does not retry it automatically, because the same text is usually blocked again. If the text is ordinary, contact support with the time of the call (UTC) and the route; there is no request id to quote.

edge_error

What happened: another 4xx or 5xx answer without x-request-id, for example a proxy error page. A 502, 503 or 504 page (or 520 to 526) is what you see for a minute or two while the gateway restarts for a deploy. It did not come from Atlaso’s API, and the request may or may not have reached Atlaso. How to fix: It may be retried automatically. The SDK applies the same retry rules as for any other reply with that status: a 408, 409, 429 or any 5xx is retried with the usual backoff and maxRetries / max_retries; other 4xx answers are not retried. Writes keep their own rules: a memory add is retried only after a 429 or a 5xx, always with its idempotency key, so the fact is saved once, and an update is never retried. If the retries run out after a 5xx, or its Retry-After is longer than the time left, a memory add returns unknown: resend the same text with the same idempotency key. If it keeps happening, contact support with the time of the call (UTC). With the SDK’s scoped clients (client() and anthropic() on a user scope), your OpenAI or Anthropic client raises its usual status error (for example PermissionDeniedError for 403) with the same plain message, and classify(err).code is edge_blocked or edge_error. It never retries edge_blocked; for edge_error it keeps its own retry rules for that status. With a client you scope yourself through headers(), the client keeps its own retry setting and its error message can contain the page; pass the error to classify() for the plain kind and message.

Monthly budget stop

This refusal carries x-should-retry: false and no Retry-After. See Limits and budgets.

Memory API errors

The Memory API also uses invalid_api_key, gateway_not_enabled, rate_limited and memory_unavailable from above. Its errors have the same five-field error object. Once a deletion has finished, an add through the Memory API can save the same fact again, so the Memory API never returns fact_forgotten; see fact_forgotten. Memory routes also return invalid_body (400) for a non-object JSON body and request_too_large (413) above their 64 KiB body limit. On a chat call, an absent or rejected user ID skips memory instead of returning the Memory API’s ID error, unless the key requires memory: then the call is refused with user_id_required or user_id_not_accepted (see Request errors). On POST /v1/messages, metadata.user_id does not choose the app user’s memory. Without x-atlaso-user, a per-user key answers without memory and reports reason=no_user_id. If both values differ, the request gets 400 user_id_conflict before a provider call.

Shared memory errors

The shared memory routes (/v1/memory/shared/...) use the Memory API codes above and these. Every shared answer sets x-should-retry. The SDK refuses earlier, with shared_needs_server_key and nothing sent, when you read atlaso.shared on a client made with a browser token.

Runaway loops

Both codes return HTTP 429, type: atlaso_loop_stop and x-should-retry: false. The call was not sent to the provider and was not billed ($0.00). A session is named by the x-atlaso-session-id header (at most 128 characters) your app sends. Claude Code and Codex through the Gateway (coming soon) will use those tools’ own session IDs. A call with neither a session nor an app user ID is never stopped as a repeat.

Per-user daily limit

429 user_daily_limit_reached means one user of your app reached the daily limit you set on this key. The answer includes x-should-retry: false so the OpenAI SDK does not immediately retry it. Nothing was sent to the provider and nothing was billed. Other users are unaffected. Raise or clear the per-user limit on the API keys page, or wait until 00:00 UTC, the key daily limit’s reset. The dashboard shows the reset on your own clock. Calls without a user id are exempt from this per-user setting; other key and account limits still apply.

Provider policy refusals

These codes come back as HTTP 403 on a model call. When Atlaso checks a key as you save it on the Provider keys page, the same codes come back as HTTP 422 with reason: policy (see Saving a provider key).

Microsoft Foundry answers

Microsoft Foundry’s own answers on a model call, each named with its fix instead of a generic provider error. None of them moves the call to another provider.

Saving a provider key

When you save a provider key on the Provider keys page, Atlaso checks it with the provider first. A refusal is HTTP 422 with a different body from model-call errors, for example:
error is the code, message says what to do, and reason (when present) names the cause. A doc_url is added only for reason: policy and reason: no_credit. Nothing is saved when a key is refused. The codes include wrong_key_shape, provider_key_refused, invalid_endpoint, endpoint_required (an Azure key saved without its resource endpoint), region_required, project_required and the provider policy codes above.

Creating an API key

An account can hold up to 20 active Atlaso keys. Creating another on the API keys page is refused with HTTP 409 and the code key_cap_reached. Revoke a key you no longer need, then create the new one. See Revoke a key.

Code reference

Each fixed code has a stable section below, including the runaway-loop guards and per-user daily limit.

account_rate_limited

What happened: Requests across your Atlaso account arrived too quickly. How to fix: Reduce requests across all keys in your Atlaso account; honor Retry-After. No model call was made.

agent_loop_stopped

What happened: The agent-loop guard stopped this call. How to fix: Stop the agent loop and inspect its repeated steps or tool results. Correct the loop before starting it again.

auth_unavailable

What happened: Atlaso could not check the key or unlock its saved provider credential. How to fix: Retry shortly. Atlaso could not check the key or unlock the saved credential; no model call was made.

delete_pending

What happened: A deletion for this app user (or one of their facts) began and has not finished yet. How to fix: Retry the same request after Retry-After; retrying is safe.

fact_rejected

What happened: Memory could not save the submitted fact. How to fix: Submit one short, plain statement that can be saved.

gateway_not_enabled

What happened: Gateway access is not enabled for this account. How to fix: Gateway access is not enabled on this account. Contact support; retrying does not enable it.

insufficient_quota

What happened: Your provider account is out of credit, overdue, suspended for a low balance, or limited to a free tier that is used up. How to fix: Add credit in the provider’s billing console, or turn off “free tier only” in Model Studio when the Qwen message names that setting, then retry. SiliconFlow answers HTTP 402 “Sorry, your account balance is insufficient”, which Atlaso returns as this code (HTTP 429). Add credit in your SiliconFlow account at cloud.siliconflow.com, then retry. Atlaso treats no other SiliconFlow 402 as out of credit.

internal_error

What happened: Atlaso could not finish handling the request. How to fix: Retry cautiously. If repeated, contact support with x-request-id.

invalid_after

What happened: The pagination cursor does not belong to this list or usage query. How to fix: For memory facts, use a fact ID from the same user’s list. For app-user usage, use the opaque next cursor from the preceding page with the same key, dates and app-user filter.

invalid_api_key

What happened: Your Atlaso key is missing, invalid, expired or revoked. How to fix: Send an active, unexpired Atlaso key from the API keys page as Authorization: Bearer. Remove any x-atlaso-key header.

invalid_body

What happened: The body is not an accepted JSON request object. How to fix: Send one JSON object in the format of the route you called. On /v1/chat/completions and /v1/responses it must also have no duplicate keys or non-finite numbers and be nested at most 128 levels deep, and it may be uncompressed or sent with Content-Encoding: gzip (or x-gzip) or deflate; any other encoding gets this error. A compressed body that expands past the size limit gets request_too_large instead.

invalid_fact_id

What happened: The supplied fact ID is not a valid UUID. How to fix: Use the UUID returned by add or list.

invalid_idempotency_key

What happened: The Idempotency-Key header on a memory add or batch request is malformed or repeated. How to fix: Send one Idempotency-Key header containing 1 to 255 printable ASCII characters. Reuse the same header value when retrying the same request.

idempotency_in_progress

What happened: 409. Another add or batch request with the same Idempotency-Key for the same app user is still being saved, for example a retry sent while the first attempt is still running. After a crash, an unfinished save is held for up to 60 seconds before a resend can take it over. The reply has Retry-After: 1 and nothing new was saved by this request. How to fix: Wait for Retry-After, then resend the same text with the same key. The SDK does this itself for per-user adds. Do not switch to a new key: that can save the fact twice.

idempotency_key_reused

What happened: 409, param: Idempotency-Key. The key was already used in the last 24 hours for a different request (different text, or an add versus a batch) for the same app user. Nothing was saved. The reply carries x-should-retry: false. How to fix: Make a new key for each new logical add or batch, and reuse a key only to resend exactly the same request. Retrying with this key cannot succeed.

invalid_limit

What happened: The requested page size is not a supported whole number. How to fix: Set limit to a whole number from 1 through 100 for list, or 1 through 20 for search.

invalid_query

What happened: The search query is empty, too long, not text, or contains a NUL character. How to fix: Send 1 to 2,000 characters in query, with no NUL.

invalid_request_error

What happened: A request field or conversation sequence is invalid. How to fix: Fix the field in param, such as malformed tool-call arguments or an orphan tool result.

invalid_text

What happened: The fact text exceeds the allowed size or contains a NUL character. How to fix: Keep text within 4,000 characters and omit NUL characters.

key_daily_limit

What happened: This Atlaso key reached its daily spending limit. How to fix: Raise the key’s daily limit on the API keys page or wait for the next UTC day. Honor Retry-After.

memory_scope_owner

What happened: This key uses your own memory, and the request named an app user (the x-atlaso-user header, or a user field in a Memory API body; param names which). Nothing was read or written. On a chat completions, Responses or Messages call (streaming or not) with the key’s memory on, the call is refused before memory and before the provider, so your own memories never reach an app user’s reply; no model call was made and it costs $0.00. A browser token also needs a key with memory for each user of your app. How to fix: Use atlaso.memory without a user id for your own memories (or send no x-atlaso-user header and no user field). For your app’s users, use a key set to Memory for each user of my app. A key with memory Off accepts the user id as a usage label.

memory_scope_per_user

What happened: This key keeps memory for each user of your app, and the request named no user. How to fix: Use atlaso.for_user(id).memory, or send the user’s id in the x-atlaso-user header.

memory_off

What happened: Memory is off for this key, so the Memory API cannot read or change your memories with it. How to fix: Set the key’s memory to Use only or Use and learn on the API keys page.

owner_erase_dashboard_only

What happened: A key cannot delete all of your own memories at once. Nothing was deleted. How to fix: Delete facts one at a time with the Memory API, or use Delete all memories on the dashboard.

fact_not_found

What happened: No fact with this id is in the memory this key can reach. Facts of another project and shared facts are not reachable. How to fix: List the facts with GET /v1/memory/facts and use an id from the list.

forget_pending

What happened: The fact was deleted, but cleanup after the delete has not finished yet. How to fix: Retry the same request after Retry-After seconds. Retrying is safe and finishes the delete.

fact_replaced

An add replay with the same idempotency key can return 409 after the saved fact was edited. It was saved, then replaced; continue with replaced_by. A string is the current fact id; null means the replacement chain was deleted. Keep the original idempotency key for that logical add and do not create a fresh one. The same 409, with replaced_by null, comes back when the saved fact was deleted within the key’s 24 hours: on its own, with its app user, or with all of the project’s shared facts. Nothing is saved. To add the fact again on purpose, send it with a new idempotency key.

memory_unavailable

What happened: On a model call, the key requires memory and memory could not be reached, so no model call was made. On the Memory API, memory did not answer in time or its answer could not be read. How to fix: On a model call, retry, or change the key’s “If memory can’t be reached” setting on the API keys page before calling without memory. On the Memory API, retry after Retry-After. A delete is safe to send again. An add may still have finished: resend the same text with its original idempotency key within 24 hours. A new key can create a duplicate.

method_not_allowed

What happened: The route does not accept this HTTP method. How to fix: Use the HTTP method listed for that route under not_found. The message lists every route with its method.

missing_text

What happened: The fact to add has no non-empty text. How to fix: Send non-empty text when adding a fact.

missing_query

What happened: A memory search request has no query field. How to fix: Send a non-empty query in the JSON body.

missing_user_id

What happened: The Memory API request has no app user ID. How to fix: Send the app user’s ID in the x-atlaso-user header, from your app’s server. A user body field is not read as the ID.

app_user_limit_reached

What happened: Adding a fact would create memory for a new app user, and this key (its project, or the key itself when it has no project) already keeps memory for its maximum number of users (10,000 by default). Nothing was saved. How to fix: Delete users you no longer need with DELETE /v1/memory/user, or contact Atlaso support to raise the limit. Existing users are not affected.

key_has_app_users

409, param: project or param: memory_scope. What happened: You asked to change the project or the Memory for setting of a key set to Each user of my app, while users of your app still have memory under that key (its project, or the key itself when it has no project). After the change the key could no longer reach that memory, so nothing was changed. How to fix: Delete those users first (DELETE /v1/memory/user, or the Memory page), then change the key. Or keep this key and create a new key with the settings you want. A Memory page lookup by key still reaches users a key kept before a change.

model_not_available

What happened: The requested model is unknown or unavailable to your saved key. How to fix: Use an exact ID from /v1/models. A provider can also report this when your saved key cannot find the model. SiliconFlow answers HTTP 403 with code 30003 (“Model disabled.”) for a model it has retired or switched off; Atlaso returns that as this code (HTTP 404). Choose a current SiliconFlow model from /v1/models.

monthly_budget_reached

What happened: Your account reached its monthly budget with the optional stop enabled. How to fix: Raise the account budget, turn off its optional stop, or wait for the next budget month. No model call was made.

not_configured

What happened: The service has not configured memory for app users. How to fix: App-user memory is not configured on the service. Contact support.

not_found

What happened: The requested route does not exist. How to fix: Check the URL. The public routes are POST /v1/chat/completions, POST /v1/responses, POST /v1/messages, GET /v1/models and the Memory API: GET and POST /v1/memory/facts, POST /v1/memory/facts/batch, POST /v1/memory/search, DELETE /v1/memory/facts/{id}, PATCH /v1/memory/facts/{id} and DELETE /v1/memory/user, plus GET /v1/calls/{call_id} and GET /v1/usage/app-users, POST and DELETE /v1/browser-tokens, and DELETE /v1/browser-tokens/{id}. The message lists them too. GET /v1/models/{id} is not served, so an SDK’s model retrieve call gets this error; read the model from the GET /v1/models list instead.

provider_bad_request

What happened: The provider refused the request and Atlaso included its usable error text. How to fix: Change the request field named in the provider’s message, then retry.

provider_billing_error

What happened: The provider refused the call for a billing reason, including a plan key, an expired enterprise package, or a credit or spending limit. How to fix: Check the provider’s plan and credit in its console, or create the Standard API or pay-as-you-go key named in the message and paste it on the Provider keys page. Baseten answers HTTP 402 for a billing or payment problem, such as credit that has run out, which Atlaso returns as this code (HTTP 402). Fix it in your Baseten billing and usage settings, then retry.

provider_endpoint_missing

What happened: Your saved provider key is missing endpoint data it needs, such as an Azure resource endpoint, a Qwen region Atlaso serves, a Bedrock or Azure data location this model supports, or the Google Cloud project of a Google Cloud (Vertex AI) key. The message names which. No model call was made. How to fix: Add or correct that data on the Provider keys page, or use Check again there.

provider_error

What happened: The provider returned an error, possibly after a stream had already started. How to fix: Read the sanitized message and param, then correct the request or check the provider’s status. This section also covers unrecognized provider-specific codes, which Atlaso preserves. Check whether work or tool calls completed before retrying.

provider_invalid_request

What happened: The provider refused the request as invalid, and the message quotes its reason. A conflict keeps HTTP 409. MiniMax can also send this inside an HTTP 200 reply. How to fix: Correct the field the message or param names, then retry.

provider_key_disabled

What happened: Your saved provider credential is switched off in Atlaso. How to fix: Turn on your saved provider key on the Provider keys page, then try again.

provider_key_missing

What happened: No enabled credential is saved for the requested provider. How to fix: Add and enable the model provider’s key on the Provider keys page.

provider_key_rejected

What happened: The provider rejected your saved provider key. How to fix: Check or create the API key in the provider’s console, then replace it on the Provider keys page.

provider_permission_denied

What happened: Your saved provider key cannot access this model. How to fix: Grant the key access in the provider’s console or choose an accessible model in the request’s model field. For Baseten, the usual causes are a key without the Call Model APIs permission, or a key made from another model’s page, which can only call that model; a team key with the Call Model APIs permission calls every model.

provider_rate_limit

What happened: The provider rate-limited your saved key. How to fix: Retry after the indicated delay or check the request and token limits in the provider’s console.

provider_reply_failed

What happened: The provider stopped the reply without a usable answer, including MiniMax refusing sensitive input or output. How to fix: Change the request’s input or messages when the message says the content was sensitive, and check usage in the provider’s console before retrying because the call may be billed.

provider_spend_limit

What happened: Your provider account (for example Anthropic, Google or xAI) reached its spending limit. How to fix: Raise the limit in that provider’s console or wait for it to reset; retrying now will not help.

provider_timeout

What happened: The provider did not answer within the allowed time. How to fix: Check provider usage before retrying: a timeout does not prove the call was unbilled.

provider_unavailable

What happened: The provider is unavailable or returned a server error. How to fix: Check usage in the provider’s console before retrying, because the request may have reached the provider.

provider_workspace_not_found

What happened: The provider could not find the workspace saved with your key. How to fix: Correct the Workspace ID saved with your provider key on the Provider keys page.

provider_workspace_required

What happened: Your provider key needs a workspace ID. How to fix: Add the required Workspace ID on the Provider keys page.

rate_limited

What happened: Requests on this Atlaso key arrived too quickly. How to fix: Slow requests on this Atlaso key and honor Retry-After. No model call was made.

repeated_request_stopped

What happened: The repeated-request guard stopped this call. How to fix: Check your retry logic and stop resending the same request. Follow the response message before starting another call.

search_unavailable

What happened: Memory search did not finish within its deadline or could not reach memory. How to fix: Retry after Retry-After: 1.

request_too_large

What happened: The request exceeds the gateway’s or the provider’s body limit. How to fix: Shorten messages or images. The default body ceiling is 32 MiB, measured after a gzip or deflate body is decompressed; provider limits can be lower. Memory API bodies are limited to 64 KiB. Baseten takes request bodies of at most 16 MB and answers HTTP 413 above that, which Atlaso returns as this code.

unavailable

What happened: The memory service is temporarily unavailable. How to fix: Retry after the indicated delay.

unknown_field

What happened: A JSON field is not supported on this route. How to fix: Remove the unsupported JSON field.

unknown_parameter

What happened: A query parameter or provider request field is not supported. How to fix: Remove the field named by param or the message. Memory list queries accept only limit and after.

user_not_allowed

What happened: A shared memory route received x-atlaso-user. Shared facts belong to the project, not one app user. How to fix: Remove the header from this request. Use the per-user memory API for a fact about one user.

shared_needs_project

What happened: This key has no project, so it has no shared memory store. How to fix: Use a per-user server key assigned to a project.

shared_write_forbidden

What happened: The shared memory check received a credential that is not a server API key. Shared facts can be read and changed only with a per-user server key that has a project. How to fix: Send the request from your server with its project key. Which code you get depends on where the request stops:

shared_fact_limit_reached

What happened: This project has reached its shared fact limit. How to fix: Delete an unused shared fact before adding another.

unsupported_parameter

Claude models have different thinking controls. reasoning_effort: "none" and reasoning.enabled: false use the model’s documented off setting. Fable 5/5.1, Mythos 5/5.1, Mythos Preview and Opus 5.5 cannot turn thinking off. Remove the named field or choose a model with an off switch. Opus 5 and Haiku 5.5 turn thinking off only at effort high or lower. Sonnet 5.5 uses between_tools, which turns off up-front thinking at effort high or below. See Claude thinking defaults and Anthropic’s thinking guide. What happened: The model does not accept the setting, or Atlaso cannot confirm or map it through this entrance. How to fix: Change or remove the request field named in param, using the accepted values in the message, then retry. On a key with a daily spending limit, a monthly budget, or a per-user daily limit (when the call names an app user), Atlaso refuses a call it cannot price, because the limit could not count its cost. param is model when the model’s token prices are unknown, or the tool field when a tool in the request has no price. Nothing is sent to the provider. Choose a model with stated prices, remove the tool, or use a key with no spending limit. Provider fees for built-in tools are not included in Atlaso’s cost.

user_daily_limit_reached

What happened: This app user reached the configured daily limit. How to fix: Check the app user’s daily limit and usage. Raise the configured limit or wait for its reset before retrying.

user_id_conflict

What happened: The key keeps memory for each user of your app and reads the user ID only from the x-atlaso-user header. The field named in param (safety_identifier or user) names a different user, so Atlaso cannot tell which user the call is for. No model call was made. How to fix: Set x-atlaso-user on your server from the signed-in user, and either remove the body field or send the same ID in it. Never let a client choose these fields for a per-user key, and never put the app key in a browser or on a device.

user_id_not_accepted

What happened: The user ID could not be accepted. On a key with memory for each user of your app, that ID names whose memory to use. On a key with a daily limit for each app user, a call that names a user whose ID is not accepted is refused too: the limit could not be applied, so nothing is sent to the provider. How to fix: Use one printable, non-secret ID of at most 256 characters. Do not repeat the header.

user_id_required

What happened: A per-user key requires memory, but the chat call has no app user ID. How to fix: This per-user key requires memory: send the app user’s ID in the x-atlaso-user header from your server. safety_identifier and user are not read as the ID for this key. No model call was made.

model_kind_not_supported

model_kind_not_supported (HTTP 400, param: "model") means that the model is inventoried but its task kind is not available through Atlaso yet. This applies to both Chat Completions and Responses. Choose a chat model from GET /v1/models, or use the provider’s API for image, embedding, audio, rerank, or another unsupported kind. Nothing was sent to the provider; the cost is $0.00.

wrong_key_shape

What happened: The pasted key is a plan or subscription key, an Atlaso key, or a recognized key for another provider. How to fix: On the Provider keys page, paste the API key from the selected provider’s console, using a pay-as-you-go key from Model Studio or Qwen Cloud for Qwen and from MiniMax API Platform for MiniMax.

provider_key_refused

HTTP 422 when you save a key on the Provider keys page. The reason field says which case applies. reason: invalid. What happened: The provider did not accept the key because it may be wrong, revoked or expired, or no Qwen region Atlaso tried accepted it. How to fix: Check or create the key in the provider’s console and paste it again on the Provider keys page, sending the key’s region for Qwen if needed. reason: no_credit or reason: billing. What happened: The provider says this account is out of credit, over its spending limit, has $0.00 of prepaid credit, needs its project verified, or has billing turned off. How to fix: Add credit or review billing and spending limits in the provider’s billing console, then paste the key again or use Check again. A no_credit reason means replacing the same valid key will not fix the balance. Documented account-credit answers include Novita’s NOT_ENOUGH_BALANCE (403), BILLING_BALANCE_NOT_ENOUGH, BALANCE_NOT_ENOUGH and EXPIRED_OR_BALANCE_NOT_ENOUGH (400); Together, Fireworks, CoreWeave and Baseten 402; Z.ai 429/1113; Qwen Arrearage, isv.OUT_OF_SERVICE, PrepaidBillOverdue and PostpaidBillOverdue; MiniMax 1008 or 2053; and SiliconFlow’s 402 “your account balance is insufficient”, which maps to insufficient_quota. Chat errors link to insufficient_quota or provider_billing_error below. Atlaso has no account-credit rule for Groq or DigitalOcean. reason: no_permission. What happened: The provider refused the key’s access. For most providers the key works but cannot list models; for Google the key may be restricted or its project may have a billing problem; for xAI check the key’s model permissions and your team’s credit. For Baseten, Atlaso checks a key with one short call to GPT-OSS 120B, so a key made from another model’s page, which can only call that model, is refused with invalid or no_permission. Use a team key with the Call Model APIs permission. How to fix: Follow the message, use a key with model access from the provider’s console, and paste it again on the Provider keys page. reason: blocked. What happened: Google blocked the key because it was reported as leaked. How to fix: Create a new key in Google AI Studio and paste that one.

invalid_endpoint

HTTP 422 when you save a key with endpoint data the provider does not take or allow. The reason field names the field. A provider that takes no endpoint data at all answers invalid_request instead; remove the field. reason: workspace_scope. What happened: The workspace scope is not one this provider accepts, or Atlaso reads it from the provider when the key is pasted. How to fix: For Qwen set workspace_scope to one listed in the message. For xAI remove the field and use Check again on the Provider keys page. For a provider with no workspace scope, remove it. For xAI, reason=workspace_scope means Zero Data Retention is read from xAI, not typed into Atlaso. Check again re-reads GET /v1/me. If that read fails or returns an unknown setting, the key stays working and Zero Data Retention shows “Not read yet”. Use Check again to try the read again. This informational outcome adds no error code and never blocks a call. reason: region. What happened: The supplied region is not one this provider serves, or this provider’s keys have no region setting. How to fix: Set region to one listed in the message, or remove the region field when the message says this provider’s keys have no region. reason: endpoint. What happened: This provider’s keys need no caller-supplied endpoint, or the endpoint is not a valid resource endpoint for this provider. How to fix: Remove the endpoint field, or correct it as the message says, and save the key again on the Provider keys page. reason: deployment_map. What happened: This provider’s keys need no deployment names, or the deployment names are not valid. How to fix: Remove or correct the deployment_map field as the message says, and save the key again on the Provider keys page. reason: data_location. What happened: The supplied data location is not one this provider accepts. How to fix: Set data_location to one of the values the message lists (anywhere is always accepted), or remove the field.

fact_forgotten

What happened: Learning tried to save a fact protected by a previous deletion. The Memory API never returns this code: an add through the Memory API can save the fact again once the deletion has finished. How to fix: Leave the fact deleted, or explicitly add it with the Memory API if you want it back. Automatic learning cannot restore it.

region_required

HTTP 422 when you save an Amazon Bedrock key on the Provider keys page and Atlaso could not infer the AWS region where the key was created. Choose that AWS region on the Provider keys page, then paste the key again. The region reason identifies the missing key setting. This does not change where requests run.

project_required

HTTP 422 when you save a Google Cloud (Vertex AI) key on the Provider keys page and Atlaso could not find which Google Cloud project the key belongs to. Atlaso reads the project from one free call to Google when you paste the key. If Google’s answer does not name it, type the key’s Project ID (shown in the project picker at the top of the Google Cloud console), then paste the key again. The project reason identifies the missing key setting. Nothing is saved until the key works in that project. Calls always run in Google’s global location.

price_case

This is a reason an Activity record gives for a call it could not price. It is never returned as an error to a request. It means the call’s workspace, mode or prompt length does not match a published price case. The call record keeps the cost unknown rather than using another scope’s price.

price_case_unknown

This is a reason an Activity record gives for a call it could not price. It is never returned as an error to a request. It means at least one matching price case has an unknown price for tokens this call used, so Atlaso cannot establish the highest rate. To keep calls priced, choose a model with stated prices for that usage. On a key with a spending limit, such a call is refused with unsupported_parameter.

invalid_price_context

This is an internal check on the cost record Atlaso keeps for each call. No request you send returns it. If you see it, contact support with the response’s x-request-id.

cache_retention_not_available

Atlaso refused a cache lifetime setting on an OpenAI model before calling the provider. The cost is $0.00. The error names the field to change.
  • prompt_cache_retention: "24h" is always refused. "in_memory" is accepted only on older models; on newer ones the message asks you to remove the field.
  • A ttl goes in prompt_cache_options or a prompt_cache_breakpoint, and accepts "30m" or "12h". On OpenAI’s own host, a ttl works only on a model with a verified 12-hour cache write price in Atlaso’s catalog.
  • "12h" also requires /v1/responses, and is refused when another host serves the OpenAI model. Use "30m" or remove the field.

groq_org_model_blocked

Your Groq organisation blocks this model. Ask an organisation admin to allow it in Model Permissions, then try again, or choose an allowed model. Provider documentation.

groq_project_model_blocked

Your Groq project blocks this model. Ask a project admin to allow it in Model Permissions. Organisation restrictions still apply. Then try again, or choose an allowed model. Provider documentation.

qwen_model_access_denied

Your Qwen key’s workspace is not allowed to call this model. Ask an admin of your Qwen Cloud account to add the model to that workspace (Settings, then Workspaces, Edit, Model Permissions), then try again. A key from the default workspace can call every model. Provider documentation.

qwen_workspace_access_denied

Your Qwen key cannot access this workspace. Use an API key from the workspace that owns the model, or ask an administrator to grant workspace access, then try again. Provider documentation.

qwen_billing_required

Your Qwen Cloud account has no billing information yet, so Alibaba will not run this model. In Qwen Cloud, open Billing, complete your billing information and add a payment method, then try again. Alibaba answers HTTP 403 AccessDenied.Unpurchased (“Access to model denied. Make sure you are eligible for using the model.”). When you save a key, the same answer comes back as HTTP 422 with reason: policy, and nothing is saved. Provider documentation.

qwen_model_unavailable

Alibaba refused this model for your Qwen key. The model may be kept for Qwen Token Plan subscribers, retired, or free only with its free quota used up. Pick another Qwen model on the Models page, then try again. Alibaba answers HTTP 403 AccessDenied (or access_denied) with the message “Access denied.” Atlaso uses this code only for that exact answer. Provider documentation.

bedrock_account_not_enabled

Your key is fine, but AWS has not opened Amazon Bedrock for this AWS account yet (AWS Error 002). AWS limits Bedrock on some new accounts until they have a usage and billing history. Ask AWS Support or AWS Sales to enable Bedrock model access for the account, then press Check again. AWS answers every Bedrock call from such an account with HTTP 400 and “Error 002: Access to Bedrock models is not allowed for this account”. Atlaso returns HTTP 403 with this code, so it is never mistaken for a bad request or a bad key. It applies to every Bedrock model and clears only when AWS enables the account. Provider documentation.

bedrock_api_keys_blocked

Your AWS organisation’s policy blocks Bedrock API keys (bedrock:CallWithBearerToken). An AWS admin must allow this action for this account, then press Check again. Provider documentation.

bedrock_access_denied

Amazon Bedrock denied access. Ask an AWS admin to check the account IAM policies, organisation SCPs and model access in this region, then press Check again or choose an allowed model. Provider documentation.

azure_policy_blocked

Azure Policy blocks this model deployment. Ask an Azure administrator to review the policy assignment and allow the model and publisher, or choose a deployment permitted by the policy. Provider documentation.

azure_deployment_required

Microsoft Foundry has no deployment of this model in your resource. Deploy the model in the Microsoft Foundry portal under Models, then Deployments, and try again. Atlaso calls the deployment named after the model. If yours has another name, copy it from the deployments list into Deployment names on the Provider keys page. A new deployment can take up to five minutes to answer. Microsoft Foundry answers a model your resource has no deployment of with HTTP 400 “does not support deploymentless inference”, and a deployment name it cannot find with HTTP 404 DeploymentNotFound. Atlaso returns HTTP 404 with this code for both. OpenAI models in a West US 3 resource can also be called without a deployment (Microsoft’s instant access preview), which needs quota of its own. Provider documentation.

azure_quota_required

Your Azure subscription has no quota for this model yet. New subscriptions start with little or no quota, and some models have none until you ask for it. See your quota and request more in the Microsoft Foundry portal under Manage, then Quota, and try again. A quota change can take up to 15 minutes to apply. If Azure says the quota is still being set up, wait a few minutes and try again. Atlaso returns HTTP 403 with this code for Microsoft’s “Insufficient quota available for instant inference” (HTTP 400), “Instant inference quota is still being initialized” (HTTP 403) and InsufficientQuota answers, so they are never mistaken for a bad request or a bad key. Microsoft assigns quota per subscription, region and model, and its lowest tier cannot request more. Provider documentation.

azure_content_filter

Microsoft Foundry’s content filter blocked this request. Change the messages and try again, or review the deployment’s content filter in the Microsoft Foundry portal. Microsoft answers a blocked prompt with HTTP 400, code content_filter and inner code ResponsibleAIPolicyViolation; an MAI stream ends with SafetyBlockedError. A reply blocked after it started arrives as a normal answer whose finish_reason is content_filter. Atlaso never sends a filtered call to another provider. Provider documentation.

azure_model_retired

Microsoft retired this model, so Microsoft Foundry no longer answers calls to it. Choose a newer model. Microsoft’s model retirement schedule names its replacement. Microsoft answers every call to a retired model with HTTP 410 Gone, and Atlaso returns HTTP 410 with this code. Provider documentation.

azure_claude_key_refused

Microsoft Foundry refused your saved key on its Claude endpoint (HTTP 401). Atlaso did not mark the key as rejected, so your other Foundry models keep working. Check that the endpoint saved with the key is your Foundry resource’s (ending in .services.ai.azure.com), then try again. If you replaced the key in Azure, paste the new one or press Check again on the Provider keys page. Microsoft Foundry’s Claude endpoint answered HTTP 401 (“Access denied due to invalid subscription key or wrong API endpoint”). The same endpoint once answered 401 to a valid key sent the wrong way, so a 401 there never changes the saved key’s state; the key check on Foundry’s model list decides that. Provider documentation.

coreweave_inference_disabled

The CoreWeave inference gateway is not enabled for your organisation. Ask an organisation or instance administrator to enable it, or contact CoreWeave Forge support, then press Check again. Provider documentation.

third_party_data_sharing_blocked

Your Together AI organisation has third-party data sharing turned off, and this model is served by a third party. An admin can turn it on in Together’s Privacy settings (https://api.together.ai/settings/privacy), which requires prompt storage, or you can pick a model Together serves itself. HTTP 403. Non-retryable until the organisation setting or chosen model changes.

provider_busy

HTTP 503, retryable. The provider is temporarily busy or overloaded. Try again shortly. Anthropic’s overloaded answer (HTTP 529, overloaded_error) is mapped here. Z.ai business code 1305 is mapped here even when it appears inside a successful HTTP envelope. See Z.ai’s error reference. SiliconFlow’s HTTP 503 with code 50505 (“Model service overloaded.”) is mapped here too, and so is Baseten’s HTTP 529 (overloaded), with its Retry-After header when Baseten sends a number of seconds.

provider_invalid_response

HTTP 502. The provider answered, but its body could not be used as a reply. The message names why: unreadable JSON, missing choices or assistant message, or an unrecognized error object. Check provider usage before retrying; a malformed reply does not prove the call was free.

call_not_ready

HTTP 404. The call record is not available to this key yet, and the call ID is less than two minutes old. Call records can arrive shortly after the model response. How to fix: Retry GET /v1/calls/{call_id} after Retry-After: 2. This response depends only on the ID’s age and does not confirm that a record exists.

call_not_found

HTTP 404. The call ID is invalid, outside the retained window, or unavailable within this key’s account, project and optional app-user filter. How to fix: Check the call ID and use a key authorized for the call. When sending x-atlaso-user, use the same user and key namespace as the call. This response has x-should-retry: false.

invalid_date

HTTP 400. An app-user usage date is not a valid UTC calendar date in YYYY-MM-DD form. How to fix: Correct start or end and retry the corrected request.

invalid_window

HTTP 400. The app-user usage date range is reversed, exceeds 92 inclusive days, starts before the retained call window, or ends after today in UTC. How to fix: Choose an inclusive UTC range of at most 92 days within retained history. Omit both dates for the last 30 days.

usage_unavailable

HTTP 503. The app-user usage read timed out or its backend answer could not be read. How to fix: Retry GET /v1/usage/app-users after Retry-After: 2. This read changes no data.

browser_token_invalid

401. The browser token is unknown, expired, revoked, or no longer valid for its parent key or app user. Ask your server for a new token. Retrying the same token will not help. Atlaso returns x-should-retry: false.

browser_token_user_fixed

400. A browser token already identifies one app user. Remove x-atlaso-user and, on memory requests, the body field user. Mint a separate token on your server for a different user.

browser_token_model_not_allowed

403. The requested model is outside the token’s model list. Use an exact model id allowed by the token, or ask your server for a token with the required model. No provider request was sent.

browser_token_read_only

403. This token does not permit the memory operation. Read-only tokens can list facts; read_write tokens can also add and delete individual facts. Tokens with memory off cannot read or write facts. Erasing a user’s entire memory requires a server API key.

browser_token_not_allowed

403. This route does not accept browser tokens. Minting, revoking, key management, erasing a user’s memory, and every shared memory route (/v1/memory/shared/...) require a server API key. Keep that key on your server.

invalid_ttl

400. ttl_seconds must be an integer from 60 through 3600. The default is 900 seconds. Correct the field before retrying.

invalid_limits

400. Check the field named by param. limits.models accepts 1 through 20 catalog model ids or null. limits.daily_spend_usd accepts USD 0.01 through USD 10,000.00, or explicit null; the default is USD 1.00 per app user per UTC day. The parent key’s lower per-user cap still applies. limits.memory is read_only by default, or read_write or off.

Interrupted call records

The interrupted and in_progress call outcomes are not used today. See Calls still running.