Troubleshooting
This chapter describes errors that occur when using Myra AI Workspace, including their causes and the steps to resolve them.
Reporting an error: the support reference
Every error message in the app says what failed, why, and what you can do. Under it is a one-line support reference, for example:
2026-10-15 08:00:00 UTC · ai-api-admin.myra.eu/admin/v1/agents/:id · HTTP 500 · req 0123456789abcdef0123456789abcdef
When you contact support, press Copy next to the reference and paste it into your message (or include a
screenshot that shows it). It contains the time (UTC), the server and path that failed (ids replaced by
:id), the HTTP status or the network class, the machine code and the request id — never a password, a
token, an e-mail address or your content. With it, support can find exactly your request. What each part
of the message means: Error codes › Error messages in the app.
If a message says it is unclear whether a change was saved, reload the page and check before you try again — repeating the change blindly could apply it twice. Where changes need approval, also check the approval queue. If it says nothing was sent (you were offline before you sent it), you can simply try again once you are back online.
Updates and security updates: no maintenance window
Myra AI Workspace is updated, including security updates, without a maintenance window. The new version starts next to the running one and takes over new requests only once it is ready; the old version is stopped afterwards. Pages and API calls keep working throughout.
An answer that is still being written when an update goes live finishes on the previous version. Such an answer can run for up to 15 minutes; after that limit it is cut. If an answer stops unexpectedly during an update, send the message again. Reload the page once to pick up the new interface.
Authentication and access
Errors about who is calling and whether the account, token or identity may make the request.
Error: 401 unauthorized
Description
The gateway returns HTTP 401 on the inference path (/v1/...) when a request does not carry a usable gateway token, but with a distinct code per cause: a missing or malformed token returns unauthorized (Missing or invalid gateway token); an expired token returns token_expired, with an actionable message that names the expiry and points to regenerating it under Gateways → Tokens; a revoked token returns token_revoked. Branch on the code, not the shared 401 status, so a scheduled agent or client stuck on a stale token gets a concrete next step instead of an opaque 401. This section covers inference authentication; admin API (/admin/v1/...) authentication is handled separately.
Resolution
Proceed as follows to resolve the error:
- Verify that the request carries the token in one of the accepted headers —
x-aig-token,Authorization: Bearer <token>, orx-api-key— with a valid value.- Check that no whitespace or truncation has been introduced when copying the token.
- Open the Tokens tab of Devices & sessions (user menu at the bottom of the left sidebar → Account → Devices & sessions → Tokens) to confirm the token is active and has not been revoked.
- Revoked tokens show a revoked status and cannot be reinstated.
- If the token has been revoked or lost, create a new token under Account › Devices & sessions › Tokens (see Creating a token).
- Click on the New Token button, configure the required rate limit and budget fields on the New Token page, and click Create Token.
- The new token value is displayed once on creation.
- Update the calling application or integration with the new token value.
- The token is passed in the
x-aig-tokenheader on every request.
- The token is passed in the
-> The gateway accepts requests once a valid, active token is present in the request header.
Error: 403 forbidden (IP allowlist)
Description
The gateway returns HTTP 403 with code forbidden when the source IP address of the request is not included in the configured IP allowlist of the gateway. This applies when an IP allowlist has been configured on the gateway; gateways without an IP allowlist accept requests from any source address. The allowlist accepts both IPv4 and IPv6 CIDR ranges. The allowlist is checked right after authentication, so a request from outside it receives this 403 even when the rate limit or the token's budget is exhausted, and even for an oversized body that reaches the gateway without a Content-Length (chunked) — fix the allowlist first. A body whose declared Content-Length is over the size limit is still refused 413 payload_too_large before any check runs, on the request headers — by the gateway (10 MB on /v1, 1 MB on /copilot/v1 and /direct/v1) or, for a declared size over 11 MB, by the ingress in front of the inference host, which knows no gateway's allowlist (see Request body size limits). That 413 refuses the request just as surely, and the body is never buffered, parsed or passed to the gateway's checks. A proxy in front of the gateway that collects a chunked body and forwards it with its size declared makes it such a declared body. On a gateway that requires authentication (the default), a request without valid credentials still receives 401 unauthorized first; on a gateway with auth_required: false an outsider without a token (or with an unknown one) receives this 403.
Resolution
Proceed as follows to resolve the error:
- Confirm the source IP address of the request by checking the calling system or reading the IP from the gateway request log.
- The log entry includes the client IP address.
- Inspect the current allowlist in the gateway settings page, under Search & tools → IP allowlist (each row is one CIDR entry). You can also read
ip_allowlistfrom the config viaGET /admin/v1/gateways/<id>. -
Add the source IP address or CIDR range — add a row in the IP allowlist editor (CIDR notation, for example
203.0.113.10/32for a single IPv4 address, or an IPv6 range), orPATCHthe config via the Admin API: -
If the calling system uses dynamic IP addresses, consider using a NAT gateway or proxy to provide a stable egress IP, then add that IP to the allowlist.
-> The gateway accepts requests from the source IP address once it is included in the allowlist.
Error: 404 tenant_not_found
Description
The gateway returns HTTP 404 with code tenant_not_found when the URL path resolves to a tenant or gateway that does not exist or has been deleted. The path format is /v1/<TENANT_SLUG>/<GATEWAY_SLUG>/<PROVIDER>/...; both slugs must match an existing record.
Resolution
Proceed as follows to resolve the error:
- Verify the tenant slug and gateway slug in the request URL.
- The slugs are case-sensitive.
- Open Organisation › AI setup › Gateways and confirm the gateway exists and is owned by the expected tenant.
- If the gateway has been deleted, create a new one or restore the URL to an active gateway.
-> The gateway accepts requests once the URL resolves to an existing tenant and gateway.
Error: 403 live_not_driver
Description
The gateway rejects a write in a shared conversation when another participant currently holds the driver turn. In a shared session only the driver can send a message; everyone else follows along until the turn is released. The message reads Someone else is driving this shared session. Request the turn to write.
Resolution
Proceed as follows to resolve the error:
- Wait for the current driver to release the turn, or ask them to hand it over.
- Request the turn to write, then send the message once you hold the driver turn.
-> The message sends once you hold the driver turn.
Error: 401 token_expired
Description
The token in the request was valid but has passed its expiry date. The gateway refuses the request before any provider call. In the web chat this occurs when a short-lived session token lapses during a turn; the session itself is still valid. The message reads Gateway token expired.
Resolution
Proceed as follows to resolve the error:
- If the error occurs in the web chat, reload the page and send the message again.
- If the error occurs in an integration, open the Tokens tab of Devices & sessions (Account area) or the Tokens card of the gateway and create a new token.
- Replace the expired token in the calling application.
-> The gateway accepts requests with the new token.
Error: 401 token_revoked
Description
The token was valid and was withdrawn on purpose — revoked on the Auth tokens tab of a gateway (Organisation › AI setup › Gateways), under Devices & sessions › Tokens, or when a chat-bridge connection was removed. The URL of the request is correct; only the token is no longer accepted. The message reads Gateway token revoked.
Resolution
Proceed as follows to resolve the error:
- Ask the owner of the token or a tenant administrator whether the revocation was intended.
- Create a new token on the Tokens tab of Devices & sessions or on the Tokens card of the gateway.
- Replace the revoked token in the calling application.
-> The gateway accepts requests with the new token.
Error: 403 forbidden
Description
The caller is authenticated but has no permission for the requested action or object. Typical causes are a missing role permission, a gateway the caller has no access grant for, or a shared conversation the caller may read but not write. The IP allowlist case is described in the section above. The message reads Access denied.
Resolution
Proceed as follows to resolve the error:
- Check the role of the account under Settings → Users.
- Ask a tenant administrator to grant the required role, group membership, or gateway access.
- Retry the action.
-> The action succeeds once the account holds the required permission.
Error: 403 viewer_read_only
Description
The account has the viewer role. A viewer reads conversations but cannot create a conversation, send or edit a message, upload an attachment, or fork a conversation. The message reads Viewers have read-only access and cannot create or modify conversations, messages, or attachments.
Resolution
Proceed as follows to resolve the error:
- Ask a tenant administrator to change the role of the account to
memberor higher under Settings → Users. - Sign out and sign in again.
-> The account can write to conversations once it holds a writing role.
Error: 403 workflows_disabled
Description
The Workflows feature is switched off for the workspace. This is a workspace setting, not a role problem. The message reads Workflows are not enabled for this workspace.
Resolution
Proceed as follows to resolve the error:
- Ask the workspace administrator to enable Workflows for the workspace.
- Reload the page.
-> The Workflows area is available once the feature is enabled.
Error: 403 agents_disabled
Description
The Agents feature is switched off for the workspace. This is a workspace setting, not a role problem. The message reads Agents are not enabled for this workspace.
Resolution
Proceed as follows to resolve the error:
- Ask the workspace administrator to enable Agents for the workspace.
- Reload the page.
-> The Agents area is available once the feature is enabled.
Error: 403 processing_restricted
Description
An administrator placed a processing restriction on the account under GDPR Article 18. While the restriction is active, the gateway does not process requests for the account. The message reads Processing is restricted for this account (GDPR Art. 18).
Resolution
Proceed as follows to resolve the error:
- Contact the workspace administrator about the restriction.
- Ask the administrator to lift the restriction when the reason for it no longer applies. See Restricting processing.
-> Requests are processed again once the restriction is lifted.
Error: 403 invalid_identity
Description
The identity attached to the request has an unexpected form, so the department check cannot run. The gateway refuses the request instead of treating it as a request without a department. The message reads The request identity could not be verified.
Resolution
Proceed as follows to resolve the error:
- Sign out and sign in again.
- If the error persists, contact support and quote the support reference.
-> The request is accepted once the identity can be verified.
Error: 422 consent_required
Description
The sign-up was started without accepting the terms (for example, an old e-mail link was opened). The trial cannot start without a recorded consent. The message reads No terms consent is recorded for this sign-up. Accept the terms and request a new code to start the trial.
Resolution
Proceed as follows to resolve the error:
- Open the sign-up page again.
- Accept the terms.
- Request a new code.
- Enter the code from the new e-mail.
-> The trial starts once the consent is recorded.
Error: 410 code_superseded
Description
A newer sign-up request for the same e-mail address replaced the code or link that was used. The message reads This code is no longer valid. Use the code from the newest email.
Resolution
Proceed as follows to resolve the error:
- Open the newest sign-up e-mail.
- Enter the code from that e-mail, or open its link.
-> The sign-up continues with the code from the newest e-mail.
Rate limits, billing and budgets
Errors raised by request limits, subscriptions, the prepaid wallet, trials and spending budgets.
Error: 429 rate_limited
Description
The gateway returns HTTP 429 with code rate_limited when the number of requests in the current sliding window exceeds the configured limit. The limit can be set at gateway level (applies to all traffic) or per authentication token (applies to a single caller). The gateway enforces rate limits before any upstream provider call is made. The response includes three headers: X-RateLimit-Limit (the configured limit), X-RateLimit-Remaining (always 0 when blocked), and Retry-After (seconds until a request would be admitted again).
Resolution
Proceed as follows to resolve the error:
- Read the
Retry-Afterheader in the HTTP 429 response.- The header contains the seconds until the next request would be admitted. Waiting at least this long before retrying is sufficient unless other requests on the same limit take the freed capacity first.
- Implement exponential backoff in the calling application before retrying.
- The retry delay increases with each subsequent attempt, reducing burst pressure on the gateway.
- Open Organisation › AI setup › Gateways, click on the Open → button of the gateway, then click on the Edit button in the Gateway card header (tab Endpoint & keys).
- The gateway settings page opens (
…/gateways/<gateway>/settings).
- The gateway settings page opens (
- Increase the value in the Rate Limit (req) text field or the Rate Window (s) text field to raise the gateway-level limit, then click on Save Changes.
- The updated rate limit applies to all subsequent requests.
- To increase a per-token limit, open the Members view, open the user record, create a new token from the Tokens card with a higher rate-limit setting, and replace the previous token in the calling application.
- The new token applies its rate limit to subsequent requests.
-> The gateway accepts requests again once the current window elapses or after the limit has been raised.
💡 Note:
rate_limitedis also returned when the upstream provider returns a 429 (its own rate limit), relayed as429 rate_limitedwithX-AIG-Rate-Limited: trueand the provider'sRetry-After. Raising the gateway or per-token limit does not fix that origin — the fix is at the provider (a higher provider quota, or routing to a different provider). Distinguish the two by theX-AIG-Rate-Limitedheader.
Error: 429 quota_exceeded
Workspace wallet empty or frozen (check this first)
If the message reads "This workspace has no remaining balance, so every request is refused. It does not reset on its own — an administrator can add funds to the workspace wallet to continue.", the workspace's prepaid wallet is empty. If it reads "This workspace is frozen, so every request is refused. …", the wallet has been frozen on purpose. Both messages carry no budget_scope and no budget or spend figures, and raising or resetting a budget does not help: the wallet is a prepaid balance, not a budget, and it never resets by itself.
- Empty wallet: on a paid self-serve plan, a workspace owner, or a member with the Buy plans and add budget permission, opens Organisation › Billing › Wallet and chooses Add budget. A member without that permission chooses Request more budget under Account › Usage; the request goes to the owner and to everyone with that permission. On a free trial nobody can add budget: upgrade to a paid plan. On a Standard workspace only the owner adds budget and nobody can request it. On an Enterprise workspace the wallet is read-only and Myra refills it. If adding budget is refused after a charge-back, the wallet is under review ("A payment on this workspace is under review, so no top-up can be taken until it is resolved."): contact Myra support.
- Frozen workspace: adding funds does not lift a freeze. A platform administrator has to unfreeze the workspace; ask your administrator to contact Myra support.
-> Requests are accepted again once the wallet holds balance and is not frozen. See Budgets & quotas and When requests are refused: wallet, budget and voucher codes.
Otherwise the following applies.
Description
The gateway returns HTTP 429 with code quota_exceeded when the cumulative spend for an authentication token, a tenant, or a gateway has reached its configured budget. All three budget levels are evaluated independently on every request. The error message identifies exactly which budget scope was exhausted, states the configured budget and the current spend, says whether the limit resets on its own, and who can raise the budget (a workspace administrator; the spend reset is platform-admin-only) (it names no API routes — the routes are listed below). A budget of 0 is reported as a deliberate freeze instead: resetting the spend does not lift it, only changing the budget does. The HTTP 429 response also carries a Retry-After header (whole seconds) set to the time until the budget period resets. A lifetime (total) budget cap never resets, so no Retry-After header is sent — the message states the cap is fixed and a retry cannot clear it. The one exception is a self-serve workspace's monthly allowance (stored with a total period but refilled every ~30 days): its 429 points Retry-After at the next allowance reset, and omits it only when no reset is scheduled (grace, inactive, or cancelling at the period end with no allowance reset before it) — see Error codes and Billing.
Resolution
Proceed as follows to resolve the error:
- Read the
messagefield in the HTTP 429 response body to identify the affected scope (API key, workspace, or gateway).- The message states the budget, the current spend, whether it resets on its own, and who can lift it.
- Choose one of the following actions based on the scope:
- To reset spend immediately: call
DELETE /admin/v1/gateways/{id}/budget,DELETE /admin/v1/tenants/{id}/budget, orDELETE /admin/v1/users/{id}/budget(the user endpoint resets every token of the user). The gateway and tenant resets are platform-admin only — a tenant admin receives403and must ask a platform operator; the user-token reset is unaffected. - To increase the budget: call
PATCHon the gateway or API key with an updatedbudget_usdvalue. A workspace limit isspend_cap_usdinstead (the organisation'sbudget_usdcolumn no longer exists): raise it, or clear it to remove the cap.
- To reset spend immediately: call
- Alternatively, use the admin UI: a gateway budget is changed on the gateway settings page; an API key budget in the gateway's Auth Tokens card (edit the token); a workspace limit (
spend_cap_usd) under Tenants → Edit, by a workspace administrator (raise it, or clear it to remove the cap). Resetting the spend is platform-admin-only. A platform admin can also use the Reset Spend button on a gateway's detail page.- The budget reset takes effect immediately.
-> The gateway accepts requests again once the budget has been increased or the spend counter has been reset.
Error: 402 subscription_inactive
Description
The gateway rejects the request when the account's self-service subscription is not active — for example after a payment failed or the subscription was cancelled. The message reads Your subscription is inactive. Reactivate it in Billing to continue using the service.
Resolution
Proceed as follows to resolve the error:
- Open Organisation › Billing › Plan (user-block menu at the bottom of the left sidebar → Organisation → Billing › Plan).
- Reactivate the subscription or update the payment method. See Signing up and billing.
-> The service resumes once the subscription is active again.
Error: 402 wallet_insufficient
Description
The wallet is not empty, but it holds less than a minimal answer would cost, so the request is refused before it is sent. On a paid self-serve plan, a workspace owner (or a member with Buy plans and add budget) adds budget under Organisation › Billing › Wallet; on a Standard workspace only the owner does, and on a free trial or an Enterprise workspace see the wallet entry above. If the message says the balance is reserved by requests that are still running (429 wallet_funds_reserved), wait a moment and send the request again; no top-up is needed. The message reads Your prepaid balance is too low for this request. Top up your wallet to continue.
Resolution
Proceed as follows to resolve the error:
- If you are the workspace owner or hold Buy plans and add budget, open Organisation › Billing › Wallet and click on Add budget.
- If you do not hold that permission, open Account › Usage and click on Request more budget.
- The request goes to the owner and to everyone with that permission.
-> The request is accepted once the wallet holds enough balance.
Error: 503 spend_unverified
Description
The gateway could not read the workspace balance and refuses the request instead of guessing. Nothing is used up. Send the request again; if it keeps failing, contact support and quote the support reference. The message reads Could not verify this workspace's balance right now, so this request was not sent. Nothing was charged — please try again in a moment. (API clients may instead see Could not verify the account balance for a Myra-provided model. Please try again.; the error code is spend_unverified in both cases.) A partner-billed workspace has no balance, so its message reads Could not verify this workspace's spending right now, so this request was not sent. Nothing was charged — please try again in a moment. The chat shows The cost check is not possible right now, please try again in a moment. for both kinds of workspace.
Resolution
Proceed as follows to resolve the error:
- Wait a moment.
- Send the request again.
- If the error persists, contact support and quote the support reference.
-> The request is accepted again once the balance can be read.
Error: 429 user_budget_exceeded
Description
A workspace administrator set a personal budget for the account, and the account used it up for the current period. Adding funds to the wallet does not lift a personal budget. A retry does not help before the period resets. The message reads Your personal budget for this period is used up. Ask your workspace administrator to raise it.
Resolution
Proceed as follows to resolve the error:
- Wait for the next budget period.
- If required, ask the workspace administrator to raise the personal budget.
-> Requests are accepted again once the budget is raised or the period resets.
Error: 429 team_budget_exceeded
Description
A workspace administrator set a budget for the team (department) of the account, and the team used it up for the current period. Adding funds to the wallet does not lift a team budget. A retry does not help before the period resets. The API message reads Your department's budget for this period is used up. Ask your workspace administrator to raise it. In the chat, the notice names the period, the department and the reset date, for example Your department's monthly budget is used up. Legal's limit resets on 1 Nov 2026. Your department admin can raise it. It shows no amounts. The link Who is my department admin? lists the names of the workspace administrators, who administer the departments (an empty list says that no administrator has a display name).
Resolution
Proceed as follows to resolve the error:
- Wait for the next budget period.
- If required, ask the workspace administrator to raise the department budget. The My limits card on Account › Usage shows whether the department budget is used up.
-> Requests are accepted again once the budget is raised or the period resets.
Error: 429 wallet_funds_reserved
Description
The wallet holds enough money, but requests of the workspace that are still running have reserved it. No top-up is needed. The message reads Your prepaid balance is reserved by requests that are still running. Please try again in a moment.
Resolution
Proceed as follows to resolve the error:
- Wait a moment.
- Send the request again.
-> The request is accepted once running requests release their reservation.
Error: 402 trial_expired
Description
The trial period of the workspace has ended. Inference is refused; the settings and billing pages stay available. The message reads Your trial period has ended. Contact your administrator to continue using the service.
Resolution
Proceed as follows to resolve the error:
- Contact the workspace administrator.
- Upgrade to a paid plan under Organisation › Billing › Plan. See Signing up and billing.
-> The service resumes once a paid plan is active.
Error: 402 trial_budget_exhausted
Description
The free trial's prepaid wallet balance is used up before the trial period ended. The message reads You have used up your free trial credit. Upgrade to a paid plan to continue.
Resolution
Proceed as follows to resolve the error:
- Open Organisation › Billing › Plan.
- Upgrade to a paid plan.
-> The service resumes once a paid plan is active.
Requests and input
Errors about the shape, size, path or method of a request.
Error: 400 invalid_request
Description
The gateway returns HTTP 400 with code invalid_request when the request body is malformed JSON, when required fields are missing, or when the body fails the basic shape check before being forwarded to the provider.
Resolution
Proceed as follows to resolve the error:
- Read the
messagefield of the response body. It states the specific parsing or validation problem. - Validate the request body as JSON. Check for missing braces, trailing commas, and unescaped quotes inside string values.
- Confirm the body contains the required fields for the chosen endpoint:
modelandmessagesare required for the OpenAI-compatible chat-completions endpoint.
-> The gateway accepts the request once the body parses as JSON and contains every required field.
Error: 413 context_overflow
Description
The gateway estimates the input size before it sends a request. When the estimate exceeds the context window of the model, the gateway refuses the request with HTTP 413 and code context_overflow, before any provider call. The estimate is approximate: text counts at roughly 3.5 characters per token, and every image or document (PDF) attachment counts at a fixed cost, so a request with many attachments can exceed the window even when its visible text is short. The estimate also counts the tool calls and tool results in the conversation history. To avoid refusing a request that fits, the hard block uses a deliberately low cost per image. When the provider then rejects a request that passed the estimate, the gateway returns 400 context_length_exceeded (see the next section).
Resolution
Proceed as follows to resolve the error:
- Read the
messagefield of the response body.- The message states the estimated input size and the maximum of the model.
- Reduce the size of the conversation: shorten long system prompts, drop older turns, or remove image attachments.
- If required, split the request into several smaller requests.
- If a model with a larger context window is acceptable, select that model.
-> The gateway forwards the request once the estimated input fits the context window of the model.
Error: 400 context_length_exceeded
Description
The gateway returns HTTP 400 with code context_length_exceeded when the input passed the estimate of the gateway but the provider rejected it as too long. The message of the gateway is Prompt exceeds context limit. A second source of this code is the optional compaction gate (compact_error_threshold, see Compaction retry threshold): its message asks the client to compact its conversation history and retry. A client that can compact (for example Claude Code) does so automatically; an unchanged retry from any other client is let through.
Resolution
Proceed as follows to resolve the error:
- Reduce the size of the conversation: drop older turns or remove attachments.
- For Anthropic gateways, enable Context compaction in the gateway configuration. See Context compaction.
- Older turns are summarised automatically when the input approaches the threshold.
- If a model with a larger context window is acceptable, select that model.
-> The provider accepts the request once the input fits its context window.
Error: 413 request_too_large
Description
The gateway returns HTTP 413 with code request_too_large when one of its own size gates refuses a request as too large to process. The accompanying message is The request is too large to process. Remove large attachments or shorten the input. The code is never inferred from a failed upstream call: a request that fails on every provider ends as 502 all_providers_failed whatever its size, so a large request that hits a provider outage is reported as the outage it is.
Resolution
Proceed as follows to resolve the error:
- Remove or shrink the attachments on the request.
- Large or repeatedly re-sent files are the most common cause.
- Start a new chat to drop accumulated history and attachments carried over from earlier turns.
- If the text content itself is large, split it into several smaller requests.
-> The gateway forwards the request once it is small enough for a provider to accept.
Error: 400 number_not_exact
Description
The request body contains a number that the gateway cannot forward without changing its value — an integer that a 64-bit floating-point number cannot hold exactly (for example 9007199254740993), an integer beyond ±2^63, or a decimal with more than 17 significant digits. The gateway refuses the request instead of forwarding a rounded number. The message reads A number in the request cannot be represented exactly (...). Send it as a string.
Resolution
Proceed as follows to resolve the error:
- Find the number named in the message.
- Send the number as a JSON string. For example:
"9007199254740993".
-> The gateway forwards the request once every number can be represented exactly.
Error: 400 number_invalid
Description
The request body contains a value that is not a valid JSON number, such as NaN, Infinity, 0x1F, or 007. The message reads The request contains a number that is not valid JSON (for example NaN, Infinity, a hexadecimal or a leading-zero number).
Resolution
Proceed as follows to resolve the error:
- Correct the value to a valid JSON number, or send it as a string.
-> The gateway accepts the request once every number is valid JSON.
Error: 400 invalid_period
Description
The agent statistics request contains a period other than 1d, 7d, or 30d. The message reads period must be one of 1d, 7d, 30d.
Resolution
Proceed as follows to resolve the error:
- Set
periodto1d,7d, or30d.
-> The statistics are returned for the valid period.
Error: 404 endpoint_not_found
Description
The path after the provider segment of the URL is not an endpoint the gateway serves. The gateway refuses the request before it reads the token. The message reads Unknown endpoint for this provider. Use one of /chat/completions, /completions, /embeddings, /v1/messages, or /v1/messages/count_tokens.
Resolution
Proceed as follows to resolve the error:
- Compare the request URL with the endpoints named in the message.
- Correct the path. For example:
/v1/<TENANT>/<GATEWAY>/openai/chat/completions.
-> The gateway accepts the request once the path names a served endpoint.
Error: 405 method_not_allowed
Description
The endpoint does not accept the HTTP method of the request. The message reads Method not allowed.
Resolution
Proceed as follows to resolve the error:
- Check the method of the endpoint in the API reference.
- Send the request with the documented method.
-> The endpoint accepts the request with the correct method.
I clicked Continue or Send and nothing happened
Description
After you pressed Continue (under an answer that stopped at the tool-call limit, at the time limit for one answer, or after your Stop), Send message, Try again or Regenerate, no request seemed to go out.
Resolution
Proceed as follows to resolve the problem:
- Read the notice under the message input. It names the reason and says that nothing was sent — for example that the conversation is still loading, that an earlier message is still being sent, or that you switched conversations.
- For Continue, the line next to the button shows the same reason while the button cannot run.
- Wait for the loading or the running answer to finish, or reopen the conversation from Recents or Search in the sidebar, and press again.
- If the notice keeps appearing, reload the page and quote the support reference (see Reporting an error).
-> The message or the continuation is sent, or the notice tells you exactly what to change first.
Models, routing and providers
Errors about model choice, data residency, providers and their answers.
Error: 502 all_providers_failed
Description
The gateway returns HTTP 502 with code all_providers_failed when every provider in the routing chain — the primary provider and all configured fallback providers — has returned errors or timed out. The primary provider is retried up to retry_count times on HTTP 5xx responses. Each fallback provider is attempted once in order. HTTP 4xx responses from a provider terminate the chain immediately without attempting further fallbacks.
Resolution
Proceed as follows to resolve the error:
- Check the request log in the app (Organisation → Governance & security → Request logs) for the failed request to identify which providers were attempted and what status codes they returned.
- The log entry shows the primary provider, fallback providers, and the HTTP status code received from each.
- Check the operational status of the affected providers on their respective status pages.
- Ongoing provider outages confirm that the error originates outside the gateway.
- Navigate to Organisation › AI setup › Gateways, open the affected gateway, and verify on the Endpoint & keys tab that BYOK keys are stored for every provider in the fallback chain.
- A missing key for a fallback provider causes a 4xx authentication failure, which halts the fallback chain.
- Add additional fallback providers to the routing rule if the current chain does not provide sufficient redundancy.
- Open the routing rule, add entries to the Fallbacks list, and save.
- Enable the circuit breaker on the gateway to prevent retry cycles during sustained provider outages.
- Set
circuit_breaker.enabledtotruein the gateway configuration.
- Set
-> The gateway returns a successful response once at least one provider in the chain is reachable and authenticated.
Error: Circuit breaker open
Description
When the circuit breaker is enabled on a gateway and a provider accumulates failures at or above the configured failure_threshold within the window_sec interval, the circuit breaker transitions to the open state for that provider. While open, the gateway skips that provider entirely and proceeds directly to the next entry in the fallback chain. If no fallback is available, the request fails with 502 all_providers_failed. After the cooldown_ms period elapses, the circuit breaker transitions to the half-open state and admits requests again to test recovery. A probe is judged on its delivered outcome: only an attempt that actually returns an answer closes the breaker. An attempt that returns 200 with no answer, breaks mid-stream, or is cancelled by the client proves nothing and leaves the breaker under probation, where the next real failure re-opens it and restarts the cooldown.
Resolution
Proceed as follows to resolve the error:
- Check the circuit breaker status for the affected gateway by calling
GET /admin/v1/gateways/{id}/circuit-breakeror by opening the Models & routing tab of the gateway page (Organisation › AI setup › Gateways).- The response lists each provider with its current state (
open,half_open, orclosed), the failure count, and the time the breaker opened. The built-in Myra models are the exception: their breakers are shared by all gateways (one per model, plus one for the fleet as a whole) and appear only in the[circuit_breaker]log lines and theaig_circuit_breaker_transitions_totalmetric (scopeglobal).failuresreads0for a breaker that has been open for a while — the counter only accumulates while the breaker is closed. Use the[circuit_breaker] transition=log lines (they carry areason=) or theaig_circuit_breaker_transitions_totalmetric to see why it opened and whether it keeps re-opening.
- The response lists each provider with its current state (
- Check the operational status of the affected provider on its status page.
- If a provider outage is confirmed, wait for the provider to recover; the circuit breaker probes automatically after
cooldown_mselapses.
- If a provider outage is confirmed, wait for the provider to recover; the circuit breaker probes automatically after
- Verify that fallback providers are configured in the routing rule for the affected gateway.
- Open the routing rule and confirm entries exist in the Fallbacks list, each with a valid BYOK key stored.
- If the circuit breaker opened due to a configuration error (for example, an incorrect BYOK key), correct the key in the BYOK key vault, then wait for the cooldown period to expire.
- Once the provider answers normally again, the first probe that delivers an answer transitions the breaker back to closed. If the provider returns
200with an empty answer, the breaker deliberately stays shed — check thereason=on thetransition=half_open->openlog line.
- Once the provider answers normally again, the first probe that delivers an answer transitions the breaker back to closed. If the provider returns
- To adjust sensitivity, update
failure_threshold,window_sec, orcooldown_msin the gateway configuration.- Raise
failure_thresholdor increasewindow_secto reduce sensitivity to transient errors.
- Raise
-> The gateway resumes routing to the provider once a probe request delivers an answer and the circuit breaker returns to the closed state.
Error: 502 provider_error
Description
The gateway returns HTTP 502 with code provider_error for an upstream provider failure the gateway cannot safely retry or fall back from — for example a mid-stream provider error on a buffered or PII-masked tool-loop turn, or a web-search leg failure. It is distinct from all_providers_failed: routing-chain exhaustion — the primary and every configured fallback failing, or a single provider with no fallbacks — always terminates as all_providers_failed, never provider_error.
Resolution
Proceed as follows to resolve the error:
- Read the
messagefield of the response body. It contains the upstream status and the provider name. - Check the operational status of the affected provider on its public status page.
- If the provider is operational, verify the BYOK key for that provider is correct and not rate-limited at the provider side.
- Review the Routing rules card on the Models & routing tab of the gateway page (Organisation › AI setup › Gateways). Consider reordering the fallback chain so a more reliable provider runs first.
-> The gateway returns successful responses once the affected provider recovers or the routing rule selects a different upstream.
Error: 504 request_timeout
Description
The gateway returns HTTP 504 with code request_timeout when a request does not complete within the gateway's time budget. A chat turn that runs tools has 900 s (15 min) while it streams (also while the answer is held back for inspection or web search), 360 s when the client receives nothing until the end (stream: false, or a held stream on a provider route other than /anthropic/v1/messages, which gets no keep-alive; a chat bridge turn gets 900 s), and 900 s for an unattended run. The accompanying message is The model did not answer in time. Please try again in a moment; if it keeps happening, shorten the request or its attachments, or turn off web search. The gateway cannot tell the causes apart: a busy model that is slow to start answering is cleared by a retry, while requests that fan out into several provider round-trips (for example a web search that triggers multiple tool calls) or very large prompts and slow upstream responses can exceed the budget repeatedly.
Resolution
Proceed as follows to resolve the error:
- Retry in a moment.
- A busy model often answers on the next attempt.
- If it keeps happening, shorten the request: drop older turns or remove large attachments, so the provider responds faster.
- If web search is enabled for the chat, turn it off and resend.
- Web search adds several provider round-trips that can exceed the time budget.
- Narrow the scope of the question: ask for less in a single turn.
-> The gateway returns a successful response once the request completes within the time budget.
Error: 400 invalid_prefer_header
The gateway returns HTTP 400 with code invalid_prefer_header when a request that could run in the background
carries a Prefer header it cannot parse. The request is not run.
Fix. Send exactly Prefer: respond-async (other preferences may follow after a comma). respond-async=1,
respond_async, an unterminated quoted string and a header over 1 KiB are refused.
A long request is cut at 360 s, or my proxy cuts it before the answer
A turn that waits for its whole answer (stream: false) has 360 s, and a proxy or CDN in front of the gateway
may cut the connection earlier. Send Prefer: respond-async with the request: the gateway answers 202 at
once with a Location, keeps working for up to 900 s, and you read the result from the Location with the
same API key (202 while running). Only gateway API keys get this: a web-app session token, a device sign-in token or an MCP OAuth token is answered synchronously, as is a key that expires within about 21 minutes. Do not send the request again; a second POST is a second, billed turn. A
request with any Prefer header is answered with Connection: close, so do not reuse the connection. An agent invoke
(POST .../agents/{slug}/invoke) accepts the header too and gets the same 900 s budget. Details:
Running a non-streamed request in the background
and Running an invoke in the background.
Error: 400 web_search_not_supported
Description
The gateway returns HTTP 400 with code web_search_not_supported when web search is enabled for the chat but the selected model does not support it. It means only that: a key problem, a rate limit or a provider outage during the web-search step is answered with the code the same failure gets without web search (rate_limited, all_providers_failed, …) — see Error codes. The accompanying message is The selected model rejected web search. Disable web search for this chat or pick a different model.
Resolution
Proceed as follows to resolve the error:
- Turn off web search for the chat and resend the request.
- Alternatively, select a model that supports web search.
-> The request sends once web search is disabled or a web-search-capable model is selected.
Error: 400 model_capability_mismatch
Description
The gateway returns HTTP 400 with code model_capability_mismatch when the routed model cannot run a capability the request requires — file tools, web search, vision (image input), or MCP connector tools. The accompanying message is The selected model cannot run this request's tools (files, web search, URL fetch or MCP connectors). Pick a different model, or disable web search / remove attachments and retry. (API callers may see a more specific detail naming the provider and model.)
A common case for API callers: the request carries MCP connector references and the model's provider has no gateway tool loop (currently Google Gemini, Vertex AI, AWS Bedrock and Perplexity). Connector tools cannot run there, so the request is rejected instead of being answered without them. (The web chat does not show this error for connectors: it answers the message without them and says that the connectors are not supported by the selected model.) The check applies to the provider the turn actually resolved to (after routing rules and fallback substitution); a configured fallback model is not tried for this pre-dispatch rejection.
Resolution
Proceed as follows to resolve the error:
- Pick a different model that supports the required capability — for connectors, a model from a provider with a gateway tool loop (for example Anthropic, OpenAI or the Myra-hosted models). In the web chat the model picker is unlocked for the conversation after this error, so you can switch and send again.
- Alternatively, remove what the model cannot handle: disable web search, or remove the attachments or images from the request (for connectors: disconnect them, or call the API without
tools:[{"type":"mcp"}]).
-> The request sends once the selected model supports every capability the request needs.
Error: 400 invalid_ghost_files
Description
The gateway returns HTTP 400 with code invalid_ghost_files, too_many_ghost_files, ghost_files_not_ghost or ghost_files_unsupported_type when the x-aig-ghost-files field of a private (ghost) /easy request is malformed. It must be a list of at most 8 objects {"name": "...", "data": "<base64>"}, sent only on a private turn. Names are plain file names, the data is canonical standard base64, and the file type must be one the code interpreter accepts.
Resolution
Proceed as follows to resolve the error:
- Check that every entry has a plain
name(no path, not empty) and adatastring in standard base64 (no line breaks, no URL-safe alphabet). - Send at most 8 files, and only on a private (ghost) turn.
- Use a supported file type, and make sure the content matches it (an
.xlsxmust be a real workbook).
-> The request is accepted and the files are available to the code interpreter for this turn only.
Error: 413 ghost_files_too_large
Description
The decoded files in x-aig-ghost-files add up to more than 5,000,000 bytes. The error carries max_bytes. A request body over 10 MiB in total is refused by the web server before it reaches the gateway.
Resolution
Proceed as follows to resolve the error:
- Send fewer or smaller files, or reduce them to the columns and rows you need.
- Read the current limit from
limits.ghost_input_files_max_bytesinGET /me.
-> The request is accepted once the files fit.
Error: 400 byok_alias_invalid
Description
The gateway returns HTTP 400 with code byok_alias_invalid when the x-aig-byok-alias request header is not a valid alias: it must be 1 to 64 letters, digits, ., _ or -, starting with a letter or digit. A malformed value is never treated like a missing header, and it is refused before the response cache and before any key is read.
Resolution
Proceed as follows to resolve the error:
- Check the value of the
x-aig-byok-aliasheader for spaces, slashes, commas, accents or a length over 64 characters. - Send the exact alias a key is stored under, or remove the header (or send it empty) to use the
defaultkey.
-> The request is accepted once the header is a valid alias or is omitted.
Error: 424 provider_key_rejected
Description
The gateway returns HTTP 424 with code provider_key_rejected (header X-AIG-Error: provider_key_rejected, field error.provider) when the provider rejected your own provider key (HTTP 401, or a 403 authentication refusal, not a model-entitlement refusal). The message reads Your <provider> key was rejected by the provider (HTTP 401|403). Update it in the gateway's provider settings. The gateway made exactly one call: it does not retry, does not fall back to another model, and does not switch to Myra's key, even if the model is also a Myra-provided model. Nothing is charged to the wallet. A key that Myra provides (pool or managed grant) never produces this code.
Resolution
- Open the affected gateway's provider settings and check the key stored for the named provider (and alias).
- Replace it with a valid, active key from the provider's console.
- Retry the request.
Error: 424 provider_key_missing
Description
The gateway returns HTTP 424 with code provider_key_missing when the selected model routes to a provider that requires an API key, but no key is stored for this gateway (and the requested key alias). The accompanying message is No API key is configured for this provider on this gateway. Add a provider key in the gateway settings. This is a configuration gap — a missing credential — not a gateway fault, and it is returned before any upstream call. It is distinct from configuration_error (500), which signals a malformed gateway configuration.
A second cause carries its own message: the model is an enabled Myra-provided (Platform Key) model, but the gateway sends that provider's requests to a custom base URL (provider_base_urls). Myra's managed key is never sent to a custom endpoint, so the message reads provider 'anthropic' is sent to a custom base URL on this gateway (provider_base_urls); Myra-provided models are not available there — add your own anthropic API key or remove the base URL override. Saving or invoking an agent pinned to such a model gives the same explanation. (In the Chat such a model is not offered at all while the override is set.)
Resolution
Proceed as follows to resolve the error:
- Open the affected gateway's provider settings and confirm which provider the selected model routes to. If the message names a custom base URL, either remove that provider's base-URL override (to use the Myra-provided model) or store your own key (to keep the override).
- Add (or activate) an API key for that provider. If the request set an
x-aig-byok-aliasheader, store the key under that exact alias — the gateway never falls back to the default key for an unknown alias. - Retry the request.
-> The request succeeds once a valid provider key is stored for the gateway.
Error: 424 provider_key_invalid
Description
The gateway returns HTTP 424 with code provider_key_invalid when the API key stored for the selected provider on this gateway is malformed: it contains control characters other than tab (CR, LF, NUL, DEL, …), typically from a copy and paste. The accompanying message is The API key stored for this provider on this gateway is malformed (it contains control characters) and was not used. Store the key again in the gateway settings. The key is never sent to the provider, and the Myra-provided fallback is not used. The key routes refuse such a key with 400 when it is stored, so this error points to a key stored before that check existed. It is distinct from provider_key_missing, where no key is stored.
Resolution
Proceed as follows to resolve the error:
- Open the affected gateway's provider settings and find the key for the provider the model routes to.
- Copy the key again from the provider's console, without surrounding spaces or line breaks, and store it. Storing the same provider and alias replaces the old value.
- Retry the request.
-> The request succeeds once a well-formed provider key is stored for the gateway.
Error: 424 managed_model_not_enabled
Description
The gateway returns HTTP 424 with code managed_model_not_enabled when the selected model is a Myra-provided (Platform Key) model that this gateway has not enabled — there is no managed grant for it and no own provider key on the default alias covers it either. The accompanying message is This is a Myra-provided model. Enable it on the gateway (Add Model, Use Platform Key — usage is charged to the workspace wallet), or add your own provider API key for this provider. It is a configuration gap, returned before any upstream call, and is distinct from provider_key_missing (424) so the hint points at the right fix.
Resolution
Proceed as follows to resolve the error:
- Open the affected gateway's Add Model page (
…/gateways/<gateway>/models) and choose Use Platform Key to enable the Myra-provided model (usage is charged to the workspace wallet, so the wallet needs a balance). - Alternatively, add your own API key for the model's provider under the gateway's provider settings.
- Retry the request. (If the request set an
x-aig-byok-aliasother thandefault, in any letter case, the gateway reportsprovider_key_missinginstead — store the key under that alias.)
This error does not apply to a workspace on a paid self-serve plan: such a workspace routes Claude on the managed pool key automatically, with nothing to enable. If a subscription workspace cannot use a Claude model, the cause is the plan, not a missing grant — the model is outside the plan's included set (403 plan_model_not_allowed), or the plan's included set is empty, in which case chat reports that no AI provider is connected. Check the plan's models under GET /admin/v1/plan-config.
-> The request succeeds once the Platform-Key model is enabled (with a budget) or an own provider key is stored.
Error: 403 model_not_allowed_for_project
Description
The gateway rejects the request when a conversation in a Local only project is sent to a cloud model. A Local only project (its Access tier) may use only local Myra models; cloud models, web search, and external tools are disabled so that data never leaves Myra infrastructure. The model picker normally hides cloud models in such a project, but the check is also enforced server-side, so an explicitly supplied cloud model is rejected. The message reads This project only allows local models. Pick a local model to continue.
Resolution
Proceed as follows to resolve the error:
- Open the model picker in the composer and select a local Myra model, or select Auto to let the server choose an allowed model.
- If the conversation must use a cloud model, move it to a project with the User configurable or PII protection required access tier, or change the project's access tier (see Projects — Editing a project). Changing the tier requires the
admin,owner, oreditorrole.
-> Once a local model (or Auto) is selected, the message sends normally.
Error: 403 data_residency_blocked
Description
The gateway rejects the request when the gateway enforces EU data residency but the selected model would run on a provider that is not EU-owned. AWS Bedrock, Google Vertex and Azure OpenAI are US-owned clouds, so they are refused in every region, an EU region included. The residency floor is enforced server-side, so the request is blocked before any data leaves the gateway. The message reads This gateway requires EU model hosting; the selected provider is not EU-owned (AWS Bedrock, Google Vertex and Azure are US-owned clouds and are refused in every region, an EU region included). Route this model via an EU-owned provider (Myra, Mistral, IONOS).
Resolution
Proceed as follows to resolve the error:
- Select a model of an EU-owned provider: Myra, Mistral or IONOS AI Model Hub. Moving a Bedrock, Vertex or Azure route to an EU region does not help.
- If a non-EU model is required for this workload, use a gateway that does not enforce EU residency.
-> The request sends normally once a model of an EU-owned provider is selected.
Error: 400 model_not_found
Description
The model ID does not match any model the gateway serves. The model is not in the catalogue, matches no provider prefix, and the gateway has no pass-through provider for unknown IDs. The message reads The requested model is not available on this gateway. Check the model id, or pick a model this gateway serves.
Resolution
Proceed as follows to resolve the error:
- Check the spelling of the
modelfield. - Call
GET /v1/<TENANT>/<GATEWAY>/modelsto list the models of the gateway. - Send the request with a listed model ID.
-> The request is routed once the model ID is served by the gateway.
Error: 400 model_pin_invalid
Description
The model ID starts with a provider prefix, but the part after the prefix is empty, contains white space or control characters, or has a malformed slash. The message reads The provider-qualified model id is malformed. Use provider/model-id, e.g. ionos/openai/gpt-oss-120b.
Resolution
Proceed as follows to resolve the error:
- Correct the model ID to the form
<PROVIDER>/<MODEL_ID>. For example:ionos/openai/gpt-oss-120b. - Use the
pin_idvalue from the model list as the model ID.
-> The request is routed to the named provider.
Error: 409 model_pin_conflict
Description
The model ID names a provider, and a routing rule of the gateway sends the request to another provider. The gateway does not silently override either choice. The message reads The model id pins a provider, but a routing rule sends this request to a different provider. Remove the provider prefix or adjust the routing rule.
Resolution
Proceed as follows to resolve the error:
- Remove the provider prefix from the model ID.
- If the prefix is required, ask a tenant administrator to change the routing rule so that it does not apply to this request.
-> The request is routed once the model ID and the routing rules agree.
Error: 400 provider_not_configured
Description
A pinned model, an agent, or a summary request names a provider that the gateway is not configured for. The gateway refuses the setting when it is saved, so that later requests do not fail. The message reads The named provider is not available on this gateway. Pick a provider this gateway serves.
Resolution
Proceed as follows to resolve the error:
- Select a model from a provider that the gateway serves.
- If required, ask a tenant administrator to configure the provider on the gateway.
-> The setting is saved once it names a configured provider.
Error: 400 model_not_allowed
Description
The workspace does not offer the requested model. The model exists, but it is outside the set of models the workspace may use. The message reads The requested model is not available for this workspace.
Resolution
Proceed as follows to resolve the error:
- Select a different model in the model picker.
- If required, ask the workspace administrator which models the workspace offers.
-> The request is sent once an offered model is selected.
Error: 403 model_not_entitled
Description
The provider account the gateway uses is not entitled to the requested model, for example Mistral answering 403 with tier_not_allowed for a model outside the account's subscription tier, or answering 403 that a model is a Labs model and an admin must enable Labs models in the organization settings (Mistral console). Enable Labs for the provider organization or pick another model. This is not a rejected key: the gateway does not answer provider_key_rejected for it, also with your own key. Retrying cannot help: the gateway does not retry and does not fall back to another model. This also holds for a turn with web search switched on (the Mistral Agents call carries the same refusal). In the web chat the failed turn shows a message without Try again that asks to pick a different model, also after a reload. See the model_not_entitled row in the error codes.
Resolution
Proceed as follows to resolve the error:
- Pick another model for the request or the chat.
- Alternatively, have the provider account upgraded to a tier that includes the model.
-> The request succeeds once a model is used that the provider account is entitled to.
Error: 403 model_disabled_on_gateway
Description
A tenant administrator switched off this Myra-hosted model on the gateway. The message reads This model has been disabled on this gateway by an administrator. Pick a different model, or re-enable it under Organisation › AI setup › Gateways › Add Model.
Resolution
Proceed as follows to resolve the error:
- Select a different model.
- If the model is required, ask a tenant administrator to enable the model again on the Add Model page of the gateway (Organisation › AI setup › Gateways, tab Endpoint & keys).
-> The request is sent once an enabled model is selected.
Error: 403 role_model_not_allowed
Description
The gateway limits the models per user role (role_policies in the gateway configuration). The model is not in the allowance of the role of the account. This also applies when a retry or fallback would switch to such a model. The message reads The selected model is not available for your role on this gateway. Choose a model included in your role's allowance.
Resolution
Proceed as follows to resolve the error:
- Select a model that the role of the account may use.
- If required, ask a tenant administrator to add the model to the role allowance. See Role policies.
-> The request is sent once an allowed model is selected.
Error: 403 provider_not_allowed
Description
The gateway enforces a provider allowlist (provider_allowlist_enforced), and the model resolves to a provider that is not on the list. The gateway does not fall back silently to another provider. The message reads This gateway restricts which model providers it may use; the selected model resolves to a provider that is not on this gateway's approved list. Pick a model served by an approved provider.
Resolution
Proceed as follows to resolve the error:
- Select a model from an approved provider.
- If required, ask a tenant administrator to add the provider to the allowlist. See Provider allowlist.
-> The request is sent once the model resolves to an approved provider.
Error: 403 provider_objected
Description
The organisation objected to a sub-processor of this provider. Myra deactivated the provider for the organisation, so no model of this provider is used. The message reads This provider has been deactivated for your organization following a data-protection objection to its sub-processor. Pick a model served by a different provider.
Resolution
Proceed as follows to resolve the error:
- Select a model from a different provider.
-> The request is sent once the model is served by a provider that is not deactivated.
Error: 403 plan_model_not_allowed
Description
The self-serve plan of the workspace does not include the selected model. The message reads The selected model is not included in your plan. Pick a model included in your subscription.
Resolution
Proceed as follows to resolve the error:
- Select a model that the plan includes.
- If the model is required, ask the workspace owner to change the plan under Organisation › Billing › Plan.
-> The request is sent once a model of the plan is selected.
Error: 403 eu_gov_model_not_allowed
Description
The selected Myra-hosted model requires the EU-Gov add-on, and the workspace does not have it. The message reads This model requires the EU-Gov add-on. Pick a commercial model, or ask your workspace owner to add EU-Gov.
Resolution
Proceed as follows to resolve the error:
- Select a commercial model.
- If the model is required, ask the workspace owner to add EU-Gov.
-> The request is sent once a model available to the workspace is selected.
Error: 403 local_only_egress_blocked
Description
The conversation belongs to a Local only project. The Myra model service could not confirm that the answer was produced inside the Myra infrastructure, so the gateway withheld the answer before any part of it reached the client. The message reads This project only allows models hosted by Myra. This request could not be confirmed to stay inside Myra's infrastructure, so it was not completed. If this keeps happening, contact your administrator.
Resolution
Proceed as follows to resolve the error:
- Send the message again.
- If the error persists, contact the administrator and quote the support reference.
-> The answer is delivered once its origin inside the Myra infrastructure is confirmed.
Error: 503 provider_quota_exhausted
Description
The account at the model provider reached its usage or billing limit. This is a limit at the provider, not a budget of the workspace. The message reads The model provider's account reached its usage or billing limit. Try again shortly, or select a different model.
Resolution
Proceed as follows to resolve the error:
- Select a different model.
- If you use your own provider key, check the usage and billing status of the account at the provider.
- Try again later.
-> Requests to the model succeed again once the provider account has capacity.
Error: 502 upstream_error
Description
The provider answered, but the gateway could not read the answer. A web-search request whose provider answer is unreadable (for example an event stream on a non-streaming request, or a 200 that carries an error object) ends with this error after a single provider call. The same code is used for web-search requests with an unreadable answer (message The provider returned an unreadable response.) and for other unreadable provider answers (message Upstream returned an unexpected response.). The message reads The provider returned an unreadable response.
Resolution
Proceed as follows to resolve the error:
- Send the request again.
- If the error persists, select a different model.
- If the error persists for all models, contact support and quote the support reference.
-> The request succeeds once the provider returns a readable answer.
Error: 502 response_number_not_exact
Description
The PII masking of the response met a number in the answer of the model that it cannot keep exact. The gateway refuses the answer instead of delivering a rounded number. The same answer fails again, so a retry is not offered. The message reads response refused (response_number_not_exact): a number in the model's response cannot be represented exactly.
Resolution
Proceed as follows to resolve the error:
- Rephrase the request so that the answer does not contain very long numbers.
- Alternatively, ask the model to write long numbers as text.
-> The answer is delivered once it contains only numbers that can be kept exact.
Error: 502 response_number_invalid
Description
The PII masking of the response met a number in the answer of the model that is not valid JSON. The gateway refuses the answer. The message reads response refused (response_number_invalid): a number in the model's response cannot be represented exactly.
Resolution
Proceed as follows to resolve the error:
- Rephrase the request.
- Send the request again, or select a different model.
-> The answer is delivered once it contains only valid numbers.
Error: 403 inherent_search_blocked
Description
The run processed outside content (for example a webhook payload or a fetched page), and the selected model searches the web on every call. The gateway does not let such a model run on outside content, because the search query could carry injected instructions out. The message reads This model searches the web on every call and cannot be used after the run processed outside content; use a model without built-in search.
Resolution
Proceed as follows to resolve the error:
- Select a model without built-in web search for the agent or the run.
- Start the run again.
-> The run continues once it uses a model without built-in search. See Models that always search the web.
Error: 403 inherent_search_egress_blocked
Description
The request may not reach external services (a local-only project, or an agent invocation sent with x-aig-no-egress: 1), and the selected model searches the web on every call. The gateway has no non-searching sibling or search switch for this model, so it refuses the call and sends nothing to the provider.
Resolution
Proceed as follows to resolve the error:
- Select a model without built-in web search.
- Send the request again.
-> The request runs once it uses a model without built-in search. See Web search — requests without external egress.
Error: 403 inherent_search_rejected
Description
The model call needed approval because the run processed outside content. The approval was rejected or expired, so the gateway did not send the call. The message reads The call to a model that searches the web on every call was not approved (rejected or expired); nothing was sent to the provider.
Resolution
Proceed as follows to resolve the error:
- Start the run again.
- Ask the approver to approve the call in Approvals before it expires.
- Alternatively, select a model without built-in search.
-> The call is sent once it is approved.
Error: 403 native_grounding_blocked
Description
The run processed outside content, and a Gemini or Vertex AI model call with Google Search grounding needs approval. The gateway could not create the approval request, so the call was not made. The message reads Google Search grounding needs approval on this run and the approval could not be requested; the call was not made.
Resolution
Proceed as follows to resolve the error:
- Start the run again.
- If the error persists, select a model without Google Search grounding.
-> The call is held for approval once the approval request can be created. See Gemini and Vertex built-in search.
Error: 403 native_grounding_rejected
Description
The Gemini or Vertex AI model call with Google Search grounding was held for approval, and the approval was rejected or expired. Nothing was sent to the provider. The message reads The grounded model call was not approved (rejected or expired); nothing was sent to the provider.
Resolution
Proceed as follows to resolve the error:
- Start the run again.
- Ask the approver to approve the call in Approvals before it expires.
-> The call is sent once it is approved.
Projects, departments and gateways
Errors about which project, department or gateway a request may use.
Error: 503 project_tier_unresolved
Description
The gateway could not read the project settings of the conversation for this request. Because the access tier of the project is unknown, the gateway refuses the request. The condition is temporary. The message reads This conversation's project settings are briefly unavailable. Please try again.
Resolution
Proceed as follows to resolve the error:
- Wait a moment.
- Send the message again.
-> The message is sent once the project settings can be read.
Error: 503 project_access_unresolved
Description
The gateway could not check the project access of the account while it continued a shared conversation. This is a temporary read failure, not a denial. The message reads Your access to this conversation's project could not be checked just now. Please try again.
Resolution
Proceed as follows to resolve the error:
- Wait a moment.
- Try again.
-> The conversation continues once the access check succeeds.
Error: 403 share_source_project_forbidden
Description
The shared conversation belongs to a restricted project (Local only or PII protection required), and the account has no access to that project, or the project cannot be confirmed. The message does not name the project on purpose. The message reads This shared conversation is in a project this account cannot continue it under. If you should have access, ask the project's owner.
Resolution
Proceed as follows to resolve the error:
- If you should have access, ask the owner of the project to add you as a member.
- Open the shared link again.
-> The conversation can be continued once the account has access to the project.
Error: 403 share_restricted_project
Description
A public share link cannot be created for a conversation in a Local only or PII protection required project, because a public link is readable without sign-in. The message reads This conversation is in a project whose data may not be published to a public link. Move it out of the project first, or ask the project's owner.
Resolution
Proceed as follows to resolve the error:
- Move the conversation out of the project, if you hold the owner role on the project.
- Create the share link again.
-> The share link is created once the conversation is no longer in a restricted project.
Error: 403 project_release_forbidden
Description
Removing a conversation from a project with a data-residency restriction, or moving it to another project, requires the owner role on that project. The message reads This conversation is in a project with a data-residency restriction, so only that project's owner can move it out. Ask the project's owner.
Resolution
Proceed as follows to resolve the error:
- Ask the owner of the project to move the conversation.
-> The conversation leaves the project once the project owner moves it.
Error: 403 project_tenant_mismatch
Description
A conversation can be bound only to a project of its own workspace, and only through a gateway of that workspace. The request named a project or a gateway of another workspace. This also applies to platform administrators. The message reads This project or the model's gateway belongs to a different workspace. A project conversation can only use the project and models of its own workspace.
Resolution
Proceed as follows to resolve the error:
- Select a project of the workspace of the conversation.
- Select a model on a gateway of the same workspace.
-> The conversation is saved once the project and the gateway belong to its workspace.
Error: 403 conversation_project_unresolved
Description
The project of the conversation was deleted or cannot be resolved. Because the deleted project may have carried a restriction, the conversation is limited to local models. The message reads This conversation belongs to a project that no longer exists, so it is restricted to local models. Pick a local model to continue here, or start a new conversation.
Resolution
Proceed as follows to resolve the error:
- Select a local model in the model picker.
- If a cloud model is required, start a new conversation.
-> The message is sent once a local model is selected.
Error: 403 agent_area_unresolved
Description
A knowledge area bound to the agent was deleted. The run is limited to local models, so an agent pinned to a cloud model cannot run. The message reads A knowledge area bound to this agent no longer exists, so the run is restricted to local models. Open the agent and save its knowledge areas to fix it.
Resolution
Proceed as follows to resolve the error:
- Open the agent.
- Remove the deleted knowledge area, or bind an existing one.
- Save the agent.
-> The agent runs again once its knowledge areas all exist.
Error: 403 gateway_not_allowed_for_project
Description
The selected gateway does not meet the data-protection policy of the project or the workspace, for example a project that requires PII masking and a gateway without PII masking. A gateway of another workspace is refused the same way. The message reads This gateway can't be used for this conversation. It doesn't satisfy the project's PII/data-protection policy, or it isn't available to this workspace. Pick a gateway that scrubs PII (or a local gateway) to continue.
Resolution
Proceed as follows to resolve the error:
- Select a model on a gateway that masks personal data, or on a local gateway.
-> The conversation continues once a permitted gateway is selected.
Error: 403 department_gateway_not_allowed
Description
The department of the account limits which gateways its members may use, and the selected gateway is not on the list. A department with an empty or broken list refuses every gateway. The message reads Your department is not allowed to use this gateway. Pick a model on a gateway your department may use, or ask your administrator. When an administrator saves another member's agent and that member's department refuses, the message names the agent owner's department instead: The department of this agent's owner doesn't allow this model's gateway.
Resolution
Proceed as follows to resolve the error:
- Select a model on a gateway that the department may use.
- When the message names the agent owner's department, pick a model on a gateway that the agent owner's department allows, or have the gateway allowed for the owner's department (Departments settings).
- If required, ask a tenant administrator to add the gateway to the department. See Departments.
-> The request is sent once a permitted gateway is selected.
Error: 403 gateway_outside_owner_tenant
Description
Tokens and conversations can use only gateways of the workspace the account belongs to. The request named a gateway of another workspace, or the account belongs to no workspace. This also applies to platform administrators. The message reads This gateway is not one of the account's own workspace's gateways (or the account belongs to no workspace). Tokens and conversations can only use gateways of the account's own workspace: pick one of its gateways, ask its administrator to set one up, or have the account added to a workspace first.
Resolution
Proceed as follows to resolve the error:
- Select a gateway of the workspace of the account.
- If the account belongs to no workspace, ask an administrator to add the account to a workspace.
-> The token or conversation is created once it uses a gateway of the own workspace.
Error: 403 project_gateway_locked
Description
The project of the conversation, or a project whose data the request attaches, is locked to a different gateway. The message reads This project is locked to a specific gateway. Continue on the project's gateway, or ask your administrator.
Resolution
Proceed as follows to resolve the error:
- Select a model on the gateway of the project.
- If required, ask the administrator to change the gateway lock of the project.
-> The request is sent once it uses the gateway of the project.
Error: 503 department_policy_unavailable
Description
The gateway could not read the department or project-lock policy and has no recent copy of it. The gateway refuses the request instead of guessing. The message reads Access policy temporarily unavailable. Please retry in a moment.
Resolution
Proceed as follows to resolve the error:
- Wait a moment.
- Send the request again.
-> The request is accepted once the policy can be read.
Error: 404 project_not_found
Description
The knowledge-search request named a project ID that does not exist or belongs to another workspace. Both cases return the same answer, so that a project ID of another workspace cannot be probed. The message reads Project not found or not accessible in this corpus.
Resolution
Proceed as follows to resolve the error:
- Check the
project_idof the request. - Use a project ID of the own workspace.
-> The search runs once the project ID is valid.
Guardrails and PII
Errors raised by the content guardrails and their services.
Error: 400 guardrail_blocked
Description
The gateway returns HTTP 400 with code guardrail_blocked when a guardrail in the pipeline matches the request or response content and its action is set to block. The error message identifies the guardrail name and the specific pattern or harm category that triggered the block. In streaming mode, the gateway returns HTTP 200 with a synthetic SSE stream containing the block message, because some streaming clients do not handle non-200 responses on streaming connections.
Resolution
Proceed as follows to resolve the error:
- Read the
messagefield in the response body to identify which guardrail blocked the request and which pattern or category matched.- For streaming responses, inspect the content of the first SSE data chunk.
- Review the content of the request or response that triggered the block.
- Remove or rephrase the matched content and retry.
- If the block is a false positive, navigate to the Guardrail Builder for the affected gateway and adjust the matching guardrail.
- For a regex or keyword guardrail: update or remove the pattern that caused the false match.
- For a Tier 2 guardrail (Presidio, Prompt Guard): consider changing the action from
blocktoflagfor entity types with a high false-positive rate.
- Save the updated guardrail configuration.
- The new configuration applies to all subsequent requests.
-> The gateway forwards the request to the provider once the content no longer matches any guardrail configured with a block action.
Error: Tier 2 guardrail sidecar unavailable
Description
Tier 2 guardrails (NLP PII Detector, Prompt Guard, PII Protector) make an HTTP call to a locally hosted sidecar service within Myra's certified infrastructure. If the sidecar service is unavailable — due to a deployment issue, resource exhaustion, or network isolation — the gateway cannot complete the Tier 2 guardrail check. The behaviour when this occurs is controlled by the fail_open setting on each Tier 2 guardrail. When fail_open is true, the request passes through as if no match occurred; when fail_open is false, the request is blocked with 503 guardrail_unavailable. Most Tier 2 detectors default to fail_open: true, but the Prompt Injection detector is the exception — it defaults to fail-closed, so its sidecar outage blocks the request rather than letting it through.
Resolution
Proceed as follows to resolve the error:
- Check the request log in the admin UI for affected requests and look for guardrail verdict fields (
blocked,blocked_by,detectors_fired— the legacy log-field name for the guardrails that fired) to confirm which sidecar was unreachable.- Requests that passed through with
fail_open: truewill not have a block verdict; the absence of a Tier 2 verdict in the log indicates the sidecar was skipped.
- Requests that passed through with
- Verify that the sidecar service is running and reachable within the infrastructure of Myra Security.
- Contact Myra Security support if the sidecar deployment is managed by Myra.
- If the sidecar is self-managed, check the deployment logs and resource allocation for the affected sidecar (Presidio, Prompt Guard, or PII Protector container).
- Restart the sidecar service if it has crashed or become unresponsive.
- Review the
fail_opensetting for the affected Tier 2 guardrail in the Guardrail Builder.- If the guardrail is a hard security dependency, set
fail_opentofalseto block requests when the sidecar is unavailable rather than allowing uninspected traffic through.
- If the guardrail is a hard security dependency, set
- Save the updated guardrail configuration.
- The change applies to all subsequent requests.
-> The Tier 2 guardrail resumes normal operation once the sidecar service is reachable and responding to health checks.
Error: 503 guardrail_unavailable
Description
A guardrail that checks the request is down, and the gateway is configured to refuse the request instead of sending it unchecked. The content of the request is not the cause. In the web chat this appears as a temporarily unavailable message. The message reads A safety guardrail is temporarily unavailable and this gateway is configured to refuse rather than skip it. Please try again in a few moments.
Resolution
Proceed as follows to resolve the error:
- Wait a few moments.
- Send the request again.
- If the error persists, contact support. See also Tier 2 guardrail sidecar unavailable.
-> The request is sent once the guardrail is available.
Error: 503 guardrail_unconfigured
Description
A guardrail that checks the request is not set up, and the gateway is configured to refuse the request instead of sending it unchecked. For the Prompt Injection detector this means the classifier it needs has no endpoint or credential, or the stored ones cannot be used. The content of the request is not the cause, and sending it again does not help: every request on this gateway is refused until the guardrail is set up. In the web chat this appears as a Safety check not set up message. The message reads A safety check this gateway requires is not set up, so the request was refused rather than sent unchecked. Please contact your administrator. The Request Logs show the detector's name with the reason not set up.
Resolution
Proceed as follows to resolve the error:
- If you are a user, contact your administrator.
- If you are a platform admin, configure the classifier (see Prompt Injection).
- If you are a workspace admin and the classifier cannot be configured yet, turn on Fail open for the detector or set its action to flag, or remove the detector.
-> Requests pass the guardrail again once it is set up.
Error: 503 guardrail_doc_too_large
Description
The PII scan of a document could not finish in its time budget. The gateway refuses the request instead of sending the document unscanned. Parts that were already scanned are kept, so a retry gets further. The message reads This document is too large to scan for personal data right now. Please try again in a few moments.
Resolution
Proceed as follows to resolve the error:
- Wait a few moments.
- Send the request again.
- If the error persists, split the document into smaller files.
-> The request is sent once the scan of the document completes.
Service availability
Errors when a part of the service is unavailable or misconfigured.
Error: 500 internal_error
Description
The gateway returns HTTP 500 with code internal_error for unexpected exceptions that bypass the typed-error path. The response is a generic message; the detailed cause is logged server-side.
Resolution
Proceed as follows to resolve the error:
- Open the Request logs view and locate the failed request by timestamp.
- Note the request ID and the gateway slug.
- Contact Myra Security support and provide the request ID and the timestamp.
-> Internal errors require server-side log inspection. Once the underlying cause is identified, the fix is deployed by Myra Security.
Error: 500 configuration_error
Description
The gateway returns HTTP 500 with code configuration_error when the gateway configuration itself cannot be loaded or parsed — for example, a malformed or incomplete gateway configuration, or a route that resolves to a disallowed/unsafe upstream. The accompanying message is Gateway configuration error. This is an administrative condition rather than something an end user can resolve. (A missing provider API key is reported separately as provider_key_missing (424), above.)
Resolution
Proceed as follows to resolve the error:
- Open the Request logs view and locate the failed request; note the request ID and the gateway slug.
- Review the affected gateway's configuration for invalid or missing settings.
- Contact Myra Security support with the request ID and timestamp if the cause is not apparent.
-> The gateway resumes normal operation once the configuration error is corrected.
Error: 503 service_unavailable
Description
A required internal service was briefly unavailable, for example during the sign-in check of a document-AI request. The gateway refuses the request instead of guessing. The message reads The service is temporarily unavailable. Please try again.
Resolution
Proceed as follows to resolve the error:
- Wait a moment.
- Send the request again.
-> The request is accepted once the service is available.
Error: 503 ask_docs_unconfigured
Description
The documentation assistant (Ask the docs) is not set up or not reachable. The message reads The documentation assistant is not available right now. Please try again later.
Resolution
Proceed as follows to resolve the error:
- Try again later.
- Use the search of the documentation site in the meantime.
-> The documentation assistant answers once it is available.
Agents
Errors about creating, configuring, running and handing over agents.
Error: 400 invalid_max_steps
Description
The agent request contains a max_steps value other than 5, 10, 20, or null. The message reads max_steps must be one of 5, 10, 20 or null.
Resolution
Proceed as follows to resolve the error:
- Set
max_stepsto5,10,20, ornull.
-> The agent is saved with the valid value.
Error: 400 invalid_constraints
Description
The constraints field of the agent is not a list of objects with a trigger and an action. The message reads constraints must be a list of {trigger, action} objects.
Resolution
Proceed as follows to resolve the error:
- Send
constraintsas a list of{"trigger": ..., "action": ...}objects. See the Agents API.
-> The agent is saved with the valid constraints.
Error: 400 constraint_looser_than_org_rule
Description
A safety constraint of the agent would weaken a rule that the organisation set. An agent can only make an organisation rule stricter. The message reads A constraint may only tighten an organization rule, never loosen it.
Resolution
Proceed as follows to resolve the error:
- Remove the constraint, or change it so that it is at least as strict as the organisation rule.
-> The agent is saved once its constraints do not loosen an organisation rule.
Error: 400 invalid_protection
Description
The protection field of the agent has a value other than protected, masked, public, or null. The message reads protection must be one of protected, masked, public or null.
Resolution
Proceed as follows to resolve the error:
- Set
protectiontoprotected,masked,public, ornull.
-> The agent is saved with the valid value.
Error: 400 protection_looser_than_gateway
Description
The selected protection of the agent is weaker than the access tier of its gateway. The message reads An agent's protection may only tighten its gateway's access tier, never loosen it.
Resolution
Proceed as follows to resolve the error:
- Select a protection that is at least as strict as the access tier of the gateway.
-> The agent is saved with the stricter protection.
Error: 400 protection_needs_masking_gateway
Description
The agent uses the protection masked, but its gateway does not mask personal data in requests. The message reads Protection 'masked' needs a gateway that masks personal data in requests.
Resolution
Proceed as follows to resolve the error:
- Select a gateway that masks personal data for the agent.
- Alternatively, select a different protection.
-> The agent is saved once the gateway and the protection match.
Error: 400 protection_blocks_pinned_model
Description
The model pinned to the agent belongs to a provider that the protection of the agent does not allow. The message reads This agent's protection does not allow its pinned model's provider.
Resolution
Proceed as follows to resolve the error:
- Pin a model of an allowed provider, for example an internal model.
- Alternatively, change the protection of the agent.
-> The agent is saved once the pinned model fits the protection.
Error: 403 agent_protection_blocks_model
Description
During a run the agent resolved to a model that its protection does not allow. The gateway did not send anything to that model. The message reads This agent's protection setting does not allow this model. Nothing was sent to it. Choose an internal model, or a gateway that masks personal data.
Resolution
Proceed as follows to resolve the error:
- Open the agent.
- Select an internal model, or a gateway that masks personal data.
- Save the agent.
-> The agent runs once its model fits its protection.
Error: 400 invalid_starters
Description
Formerly starters_invalid.
The conversation starters of the agent are not a list of plain text strings. The message reads starters must be a list of plain text strings.
Resolution
Proceed as follows to resolve the error:
- Send the starters as a list of strings.
-> The starters are saved.
Error: 400 starters_required
Description
The request to save the conversation starters of an agent has no starters field. The message reads starters must be a list of strings.
Resolution
Proceed as follows to resolve the error:
- Send the body as
{"starters": [...]}. Send an empty list to remove all starters.
-> The starters are saved.
Error: 400 task_required
Description
The request for a plan proposal (the Build assistant) has no task, or the task is empty or only blank. The message reads task is required.
Resolution
Proceed as follows to resolve the error:
- Describe in the
taskfield what the agent should do.
-> The assistant answers with a plan.
Error: 400 task_too_long
Description
The task of a plan proposal is longer than 2000 characters. The message reads task must be at most 2000 characters.
Resolution
Proceed as follows to resolve the error:
- Shorten the task to 2000 characters or fewer.
-> The assistant answers with a plan.
Error: 400 too_many_starters
Description
The agent has more than 12 conversation starters. The message reads starters must have at most 12 items. Formerly starters_too_many.
Resolution
Proceed as follows to resolve the error:
- Remove starters until 12 or fewer remain.
-> The starters are saved.
Error: 400 starter_too_long
Description
A conversation starter is longer than 120 characters. The message reads starters[2] must be at most 120 characters (the number names the item).
Resolution
Proceed as follows to resolve the error:
- Shorten the starter to 120 characters or fewer.
-> The starters are saved.
Error: 400 starter_required
Description
A conversation starter is empty, blank or invisible-only. The message names the item: starters[2] must not be empty. Formerly starter_empty.
Resolution
Proceed as follows to resolve the error:
- Remove the empty starter, or enter text for it.
-> The starters are saved.
Error: 400 starters_not_patchable
Description
The request tried to change the starters with PATCH on the agent. Starters have their own endpoint. The message reads starters cannot be changed through PATCH, use PUT .../starters.
Resolution
Proceed as follows to resolve the error:
- Send the starters with
PUT /admin/v1/agents/<ID>/starters. See the Agents API.
-> The starters are saved through their own endpoint.
Error: 400 invalid_spend_cap
Description
The monthly spending limit of the agent is not a positive integer (in micro-dollars) or null. The message reads spend_cap_micros must be a positive integer or null.
Resolution
Proceed as follows to resolve the error:
- Set
spend_cap_microsto a positive integer, or tonullto remove the limit.
-> The spending limit is saved.
Error: 400 spend_cap_not_patchable
Description
The request tried to change the spending limit with PATCH on the agent. The spending limit has its own endpoint. The message reads spend_cap_micros cannot be changed through PATCH, use PUT .../spend-cap.
Resolution
Proceed as follows to resolve the error:
- Send the limit with
PUT /admin/v1/agents/<ID>/spend-cap. See the Agents API.
-> The spending limit is saved through its own endpoint.
Error: 409 agent_spend_cap_unenforceable
Description
The spending limit of an agent is computed from the request log. While request logging is disabled for the workspace, or its retention is shorter than 31 days, the limit cannot be enforced, so it cannot be set. The message reads A spending limit cannot be enforced while request logging is disabled or its retention is shorter than 31 days.
Resolution
Proceed as follows to resolve the error:
- Ask a tenant administrator to enable request logging with a retention of at least 31 days. See Request-log retention.
- Set the spending limit again.
-> The spending limit is saved once request logging covers at least 31 days.
Error: 400 tool_config_required
Description
The request did not contain the tool_config field, which it requires. The message reads tool_config is required.
Resolution
Proceed as follows to resolve the error:
- Add the
tool_configfield to the request.
-> The request is accepted.
Error: 400 invalid_tool_config
Description
The tool_config field of the agent has an unexpected shape. The message reads tool_config is malformed.
Resolution
Proceed as follows to resolve the error:
- Correct
tool_configto the shape documented in the Agents API.
-> The agent is saved.
Error: 400 unknown_connector
Description
The agent refers to an MCP connector that does not exist or that the owner of the agent cannot use. The message reads A connector in tool_config.mcp does not exist or is not available to this agent's owner.
Resolution
Proceed as follows to resolve the error:
- Open the agent.
- Remove the connector, or select a connector that the owner of the agent can use.
- Save the agent.
-> The agent is saved once all its connectors are available to its owner.
Error: 422 agent_misconfigured
Description
The agent cannot run because a required part of its configuration is missing, for example a model. The message reads Agent configuration is incomplete.
Resolution
Proceed as follows to resolve the error:
- Open the agent.
- Complete the missing settings.
- Save the agent.
-> The agent runs once its configuration is complete.
Error: 422 structured_output_failed
Description
The agent has a response schema, and the answer of the model does not match it. The message reads The model did not return output matching the agent's response schema.
Resolution
Proceed as follows to resolve the error:
- Run the agent again.
- If the error persists, simplify the response schema or select a different model.
-> The run succeeds once the answer matches the response schema.
Error: 404 agent_not_found
Description
The agent does not exist, was deleted, or belongs to another workspace. An agent of another workspace returns the same answer as an unknown one. The message reads Agent not found.
Resolution
Proceed as follows to resolve the error:
- Check the agent ID.
- Open Agents and confirm that the agent exists.
-> The request succeeds once it names an existing agent of the workspace.
Error: 409 concurrent_update
Description
Another person or process changed the agent at the same time. The message reads The agent was changed by someone else at the same time; reload and try again.
Resolution
Proceed as follows to resolve the error:
- Reload the page.
- Make the change again.
-> The change is saved on the current version of the agent.
Error: 403 agent_spend_cap_reached
Description
The agent used up the monthly spending limit that its owner set. A retry does not help, and adding funds to the wallet does not lift the limit. The message reads This agent has reached its monthly spending limit set by its owner.
Resolution
Proceed as follows to resolve the error:
- Ask the owner of the agent to raise or remove the spending limit.
- Alternatively, wait for the next month.
-> The agent runs again once the limit is raised or the month resets.
Error: 503 agent_spend_unverified
Description
The gateway could not read the spending of the agent. The gateway refuses the run instead of guessing. The message reads This agent's spending could not be verified right now. Please retry shortly.
Resolution
Proceed as follows to resolve the error:
- Wait a moment.
- Run the agent again.
-> The agent runs once its spending can be read.
Error: 403 agent_api_disabled
Description
The API channel of the agent is switched off, so the agent cannot be called through the API. The message reads This agent is not available through the API. An admin can turn the API channel on.
Resolution
Proceed as follows to resolve the error:
- Ask an administrator to switch on the API channel on the Channels tab of the agent. See The Channels tab.
-> The agent can be called through the API once the channel is on.
Error: 403 agent_owner_inactive
Description
The owner of the agent was deactivated or deleted. An agent runs with the permissions of its owner, so it cannot run. The message reads This agent's owner is no longer active; it can no longer run.
Resolution
Proceed as follows to resolve the error:
- Ask an administrator to hand the agent over to an active user.
- Alternatively, duplicate the agent under an active account.
-> The agent runs again once it has an active owner.
Error: 409 agent_protection_paused
Description
Automatic protection paused the agent because its activity showed anomalies. The agent does not run and has no access until it is reviewed. The message reads This agent was paused by automatic protection until its owner or an admin reviews it.
Resolution
Proceed as follows to resolve the error:
- Open the agent and review its recent activity. See Reviewing agent activity.
- Resume the agent with a note, if the activity is expected.
-> The agent runs again once its owner or an administrator resumes it.
Error: 409 agent_not_protection_paused
Description
The request tried to resume an agent that automatic protection did not pause, or that was already resumed. The message reads This agent is not paused by automatic protection.
Resolution
Proceed as follows to resolve the error:
- Reload the agent to see its current state.
-> No action is required; the agent is not paused by automatic protection.
Error: 409 agent_handover_pending
Description
The agent was handed over to a new owner, for example because its former owner left the workspace. The agent is paused until the new owner confirms the hand-over. The message reads This agent was handed over and is paused until its new owner confirms it.
Resolution
Proceed as follows to resolve the error:
- Ask the new owner to confirm the hand-over. See Taking over a handed-over agent.
-> The agent runs again once the new owner confirms it.
Error: 403 handover_owner_only
Description
Only the user who received the agent can confirm the hand-over. The message reads Only the agent's new owner can confirm the hand-over.
Resolution
Proceed as follows to resolve the error:
- Ask the new owner to confirm the hand-over.
-> The hand-over completes once the new owner confirms it.
Error: 409 handover_not_pending
Description
The agent has no open hand-over, for example because it was already confirmed. The message reads This agent has no hand-over awaiting confirmation.
Resolution
Proceed as follows to resolve the error:
- Reload the agent to see its current state.
-> No action is required.
Error: 400 invalid_successor
Description
Formerly successor_invalid.
The selected successor for an agent is not an active user of the workspace, or may not create agents. The message reads The successor must be an active user of this workspace who may create agents.
Resolution
Proceed as follows to resolve the error:
- Select an active user of the workspace who may create agents.
-> The successor is saved.
Error: 409 successor_conflict
Description
A selected successor was deactivated or lost the required role in the meantime. The message reads A chosen successor is no longer available; choose again.
Resolution
Proceed as follows to resolve the error:
- Reload the page.
- Select a successor again.
-> The successor is saved.
Error: 400 successor_agent_unknown
Description
The request named a successor for an agent that the user does not own as a shared agent. The message reads A successor was given for an agent that is not a shared agent of this user.
Resolution
Proceed as follows to resolve the error:
- Remove the entry for that agent from the request.
-> The successors are saved.
Error: 400 review_reason_required
Description
An agent is disabled in a review without a reason. The message reads Disabling an agent requires a reason.
Resolution
Proceed as follows to resolve the error:
- Enter a reason.
- Disable the agent again.
-> The agent is disabled with the reason.
Error: 400 review_reason_too_long
Description
The reason of a review decision is longer than 1,000 characters. The message reads The reason must be at most 1000 characters.
Resolution
Proceed as follows to resolve the error:
- Shorten the reason to 1,000 characters or fewer.
-> The decision is saved.
Error: 400 invalid_review_reason
Description
Formerly review_reason_invalid.
The reason of a review decision contains control characters or invisible formatting characters. The message reads The reason must be plain text without control or invisible formatting characters.
Resolution
Proceed as follows to resolve the error:
- Enter the reason as plain text. Remove pasted formatting.
-> The decision is saved.
Error: 400 review_note_too_long
Description
The note of a review decision is longer than 1,000 characters. The message reads The note must be at most 1000 characters.
Resolution
Proceed as follows to resolve the error:
- Shorten the note to 1,000 characters or fewer.
-> The decision is saved.
Error: 400 invalid_review_note
Description
Formerly review_note_invalid.
The note of a review decision contains control characters or invisible formatting characters. The message reads The note must be plain text without control or invisible formatting characters.
Resolution
Proceed as follows to resolve the error:
- Enter the note as plain text. Remove pasted formatting.
-> The decision is saved.
Error: 400 invalid_plan_proposal
Description
Formerly plan_proposal_invalid.
The agent builder sent a plan-proposal request with an unexpected shape. The message reads The plan-proposal request is invalid.
Resolution
Proceed as follows to resolve the error:
- Reload the page.
- Describe the agent again.
-> The plan proposal is created.
Error: 400 too_many_answers
Description
The agent builder asks at most three questions. More than three answers were sent. The message reads At most 3 answers may be sent: the question budget is used up, ask for the plan. Older servers return this as plan_proposal_too_many_answers.
Resolution
Proceed as follows to resolve the error:
- Ask the agent builder for the plan.
-> The agent builder returns the plan.
Error: 502 plan_proposal_unusable_output
Description
The internal model did not return a plan the agent builder can use. The message reads The model returned no usable plan proposal.
Resolution
Proceed as follows to resolve the error:
- Try again.
- If the error persists, describe the agent in more detail.
-> The agent builder returns a plan.
Error: 503 plan_proposal_model_unavailable
Description
The internal model that the agent builder uses is not available. The message reads The internal model is not available for plan proposals.
Resolution
Proceed as follows to resolve the error:
- Wait a moment.
- Try again.
- Alternatively, create the agent without the builder.
-> The agent builder returns a plan once the model is available.
Error: 403 plan_proposal_dispatch_blocked
Description
The data-residency policy of the gateway does not allow the internal model that the agent builder uses. The message reads This gateway's residency policy does not allow the internal model.
Resolution
Proceed as follows to resolve the error:
- Create the agent without the builder.
- If required, ask a tenant administrator about the residency policy of the gateway.
-> The agent is created without the plan proposal.
Error: 422 plan_proposal_guardrail_blocked
Description
A guardrail of the gateway blocked the description of the agent. The message reads The request was blocked by a guardrail.
Resolution
Proceed as follows to resolve the error:
- Rephrase the description of the agent.
- Try again.
-> The agent builder returns a plan.
Error: 503 plan_proposal_guardrail_unavailable
Description
A guardrail could not check the description of the agent, so the request was refused. The message reads A guardrail could not be evaluated.
Resolution
Proceed as follows to resolve the error:
- Wait a moment.
- Try again.
-> The agent builder returns a plan once the guardrail is available.
Error: 502 instructions_tidy_unusable_output
Description
The internal model did not return a usable rewrite of the agent instructions. The instructions are unchanged. The message reads The model returned no usable rewrite of the instructions.
Resolution
Proceed as follows to resolve the error:
- Try Tidy the wording again.
- Alternatively, edit the instructions by hand.
-> The rewrite appears for review. See Tidying the wording of the instructions.
Error: 503 instructions_tidy_model_unavailable
Description
The internal model that tidies the instructions is not available. The message reads The internal model is not available to tidy the instructions.
Resolution
Proceed as follows to resolve the error:
- Wait a moment.
- Try again.
-> The rewrite appears once the model is available.
Error: 403 instructions_tidy_dispatch_blocked
Description
The data-residency policy of the gateway does not allow the internal model that tidies the instructions. The message reads This gateway's residency policy does not allow the internal model.
Resolution
Proceed as follows to resolve the error:
- Edit the instructions by hand.
-> The instructions are saved without the rewrite.
Error: 422 instructions_tidy_guardrail_blocked
Description
A guardrail of the gateway blocked the instructions. An organization admin or platform admin sees which rule
blocked: Blocked by the guardrail rule "<name>" (<type>). Everyone else sees The request was blocked by a
guardrail. The input-injection guardrails (Prompt Injection, Jailbreak) never block a tidy: agent instructions are
trusted author text. A block therefore comes from the safety check (Prompt Guard), a PII rule that blocks, or a
keyword or pattern rule.
Resolution
Proceed as follows to resolve the error:
- If you are an admin, open the named rule under the gateway's guardrails and check whether it should match these instructions; otherwise ask an admin which rule blocked.
- Edit the instructions, or adjust the rule.
- Try again.
-> The rewrite appears.
Error: 503 instructions_tidy_guardrail_unavailable
Description
A guardrail could not check the instructions, so the request was refused. The message reads A guardrail could not be evaluated.
Resolution
Proceed as follows to resolve the error:
- Wait a moment.
- Try again.
-> The rewrite appears once the guardrail is available.
Error: 422 instructions_tidy_guardrail_scrubbed
Description
A guardrail masked parts of the instructions. A rewrite would lose the masked text, so the instructions are not tidied. The message reads A guardrail changed parts of these instructions, so they cannot be tidied without losing text.
Resolution
Proceed as follows to resolve the error:
- Edit the instructions by hand.
-> The instructions are saved as edited.
Error: 413 instructions_tidy_too_long
Description
The instructions are too long for one tidy request. The message reads These instructions are too long to tidy in one go.
Resolution
Proceed as follows to resolve the error:
- Shorten the instructions.
- Alternatively, tidy the instructions in parts by hand.
-> The rewrite appears once the instructions are short enough.
Error: 409 agent_external
Description
The agent is an external agent. An external agent runs outside the gateway and uses connectors through the MCP proxy, so it cannot be run, scheduled, or edited like an agent hosted in the gateway. The message reads This agent is hosted outside the gateway and is used through the MCP proxy.
Resolution
Proceed as follows to resolve the error:
- Use the agent through its MCP proxy connection. See External agents.
-> The external agent is used through the MCP proxy.
MCP, connectors and consent
Errors about MCP access, connectors and the consent given to them.
Error: 403 mcp_proxy_scope_required
Description
The token used for the MCP proxy does not have the mcp_proxy scope, or it is not bound to an agent. The message reads This gateway token is not authorized for the MCP proxy (its scopes do not include 'mcp_proxy' or it is not bound to an agent).
Resolution
Proceed as follows to resolve the error:
- Use the token that was shown when the external agent was registered.
- If that token is lost, create a new token for the external agent. See External agents.
-> The MCP proxy accepts the token of the external agent.
Error: 403 mcp_proxy_auth_required
Description
The gateway of the request does not require authentication (auth_required: false). The MCP proxy works only on a gateway that requires authentication. The message reads The MCP proxy requires a gateway that enforces authentication.
Resolution
Proceed as follows to resolve the error:
- Use a gateway that requires authentication.
- If required, ask a tenant administrator to set
auth_requiredtotrueon the gateway.
-> The MCP proxy accepts requests on the authenticated gateway.
Error: 403 mcp_proxy_agent_not_external
Description
The token is bound to an agent that runs inside the gateway. The MCP proxy serves only external agents. The message reads The MCP proxy serves externally hosted agents only; this token is bound to a gateway-hosted agent.
Resolution
Proceed as follows to resolve the error:
- Register the tool as an external agent.
- Use the token of the external agent.
-> The MCP proxy accepts the token of the external agent.
Error: 403 mcp_proxy_user_binding_required
Description
The token of the agent is not bound to a user. The MCP proxy acts with the permissions of a user, so it cannot serve this token. The message reads This agent token is not bound to a user, so the MCP proxy cannot act for it.
Resolution
Proceed as follows to resolve the error:
- Create a new token for the external agent from the agent page, signed in as the sponsoring user.
-> The MCP proxy accepts the new token.
Error: 409 mcp_oauth_dcr_disabled
Description
An MCP client tried to register itself (OAuth dynamic client registration), and the workspace does not allow it. The message reads Dynamic client registration is switched off for this workspace.
Resolution
Proceed as follows to resolve the error:
- Ask a tenant administrator to register the client as an external agent.
- Alternatively, ask the administrator to allow dynamic client registration. See the MCP proxy OAuth API.
-> The client connects once it is registered.
Error: 409 mcp_oauth_slug_exhausted
Description
The gateway creates an agent for unverified MCP clients, and every slug it can use for that agent is taken by another agent. The message reads The slugs for the unverified-clients agent are all taken by other agents; rename or delete one of them.
Resolution
Proceed as follows to resolve the error:
- Rename or delete one of the agents whose slug starts like the unverified-clients agent.
- Register the client again.
-> The unverified-clients agent is created.
Error: 409 mcp_oauth_no_tenant_admin
Description
The agent for unverified MCP clients needs an active tenant administrator as its owner, and the workspace has none. The message reads This workspace has no active tenant admin to own the unverified-clients agent.
Resolution
Proceed as follows to resolve the error:
- Ask a platform administrator to assign an active tenant administrator to the workspace.
- Register the client again.
-> The unverified-clients agent is created.
Error: 409 mcp_oauth_client_not_registered
Description
The MCP client signed in through OAuth, but its client_id is not mapped to an external agent on the gateway. The message reads This MCP client is not mapped to an agent on this gateway; map its client_id to an external agent first.
Resolution
Proceed as follows to resolve the error:
- Map the
client_idof the client to an external agent. See External agents. - Connect the client again.
-> The client connects through the mapped external agent.
Error: 409 oauth_client_already_mapped
Description
A client_id can be mapped to only one agent per gateway, and it is already mapped. The message reads This OAuth client_id is already mapped to another agent on this gateway.
Resolution
Proceed as follows to resolve the error:
- Remove the mapping from the other agent, or use a different
client_id.
-> The mapping is saved.
Error: 400 invalid_connector_id
Description
The connector ID in the request is empty, longer than 64 characters, or contains other characters than letters, digits, _, or -. The message reads connector_id must be 1-64 characters of letters, digits, '_' or '-'.
A workflow graph step can also carry invalid_connector_id inside the errors array of a 422 invalid_graph; there the rule is 1-36 letters, digits or - (see Workflows API).
Resolution
Proceed as follows to resolve the error:
- Correct the connector ID.
-> The request is accepted.
Error: 403 consent_revoke_forbidden
Description
Only the owner of the agent or a workspace administrator can revoke a connector from an agent. The message reads Only the agent's owner or a workspace administrator can revoke its connector consent.
Resolution
Proceed as follows to resolve the error:
- Ask the owner of the agent or a workspace administrator to revoke the connector. See Revoking a connector from an agent.
-> The connector is revoked once an authorised person revokes it.
Error: 404 consent_not_found
Description
The agent has no consent for the named connector, so there is nothing to revoke or read. The message reads This agent has not consented to that connector.
Resolution
Proceed as follows to resolve the error:
- Check the connector ID.
- Reload the agent to see its current connectors.
-> No action is required.
Error: 422 consent_malformed
Description
The stored connector consent of the agent cannot be read. An unreadable consent grants no access. The message reads The agent's stored consent is malformed; it already grants nothing.
Resolution
Proceed as follows to resolve the error:
- Open the agent.
- Grant the connectors that the agent needs again.
- Save the agent.
-> The agent uses the connectors once the consent is saved again.
Error: 404 connector_not_found
Description
The request refers to an MCP connector (tools:[{"type":"mcp","connector_id":...}]) that does not exist or that the token cannot use. The message reads The referenced MCP connector does not exist or is not accessible with this token.
Resolution
Proceed as follows to resolve the error:
- Check the
connector_id. - Use a token of the user who connected the connector.
-> The request runs with the connector.
Error: 424 connector_credential_required
Description
The MCP connector needs a sign-in of the user, and the user has not connected it, or the connection expired. The message reads The referenced MCP connector requires a connected credential for this user. Connect (or reconnect) the connector in the UI, and call with an API token created by that user.
Resolution
Proceed as follows to resolve the error:
- Open Connectors (user menu → Account → Connectors).
- Connect or reconnect the connector.
- Call the API with a token created by the same user.
-> The request runs with the connector.
Error: 502 connector_upstream
Description
The server of the MCP connector did not answer when the gateway asked it for its tools. The message reads The referenced MCP connector's server did not answer tool discovery.
Resolution
Proceed as follows to resolve the error:
- Check that the server of the connector is reachable.
- Try again later.
-> The request runs once the server of the connector answers.
Security mail delivery metric
Description
The gateway counts every attempt to send a security notice (password and second-factor changes, sign-in lock, and the single sign-on link notice) in the metric aig_security_mail_total, with the labels kind (the kind of mail) and outcome (sent or failed). One attempt is counted once; a call refused before an attempt (unknown kind, invalid user id) is not counted and only writes a log line. failed covers no address on file, a storage error, a transport refusal or raise, or a failed start of the send timer.
Resolution
Proceed as follows when security mails do not arrive:
- Check
aig_security_mail_totalfor the kind in question. A risingfailedcount means the gateway could not hand the mail over; check the error log ([security_mail]lines) for the cause before the mail transport. - If neither
sentnorfailedrises, look for the[security_mail]log lines (they hold the user id and the kind, never the address).
-> The metric shows whether the gateway tried to send the mail.