---
title: "Refusals"
description: "Every refusal Turn Zero Cloud returns, by surface, with its HTTP status, its cause, and its remedy, each read from the contract source."
slug: /reference/refusals
order: 2
visibility: public
redirects_from: []
---

# Refusals

Find a refusal you received by its name, the `error` member, in its surface's table below; where it has `help`, that address opens this page at its row. The row gives its status, its cause, and its remedy.

This page lists every refusal Turn Zero Cloud returns, in one table per surface, the surfaces in the order the contract source lists them. A refusal returned on more than one surface has a row in each of those tables. The rows derive from [schemas/wire\_errors\.json](/cloud/reference/sources/schemas/wire-errors/), version 2026\-11\-29\.8, which that page reproduces in full.

The Status column gives the HTTP status where one status is fixed on every surface. A status shown as not fixed varies by surface, or the name is recorded on a pending action rather than returned on the wire; the cause states which. The Cause column is the source's own summary of the refusal, its requirement citations removed. The Remedy column is the source's own clause stating what you do next, written with the row, its requirement citations removed.

A refusal of a management action follows the wire error shape in [schemas/wire\_error\.schema\.json](/cloud/reference/sources/schemas/wire-error-schema/). Its six base members are `contract_version`, `error`, the refusal name, `action` where one is in question, `detail`, the human sentence, `reference`, a short code the platform recorded the call under, and `help`, the address of its row on this page. Beyond those six, a refusal of a management action has exactly the members its row of the source gives, each one typed and optional. The Members table in the Management action section lists them, so read a violated path, a plan's floor, or a conflicting schedule from its member and never out of the `detail` sentence.

On other surfaces, the refusal name can appear in a response body, redirect or log. A human sentence may be absent. Each surface defines its own members. For example, object storage, the logging ingest, and the serving router include no `contract_version`.

A refusal includes the reference once the platform has taken the call; one returned before that (an unknown action, a wrong method, a missing or stale sign-in, a suspended account) includes none. Quote the reference when you report a refusal: the platform's own record of the call has the same value.

A refusal of a management action also includes `help`, the address of its row on this page, once the platform has taken the call. An unknown action, a wrong method, an action no build serves, and the MCP server's sign-in challenge include it too. Each row of a surface table has an anchor named for its refusal, so `help` opens this page at that row. Where a name is returned on more than one surface, the anchor of each later row adds that surface's name.

## Management action

An action of [schemas/management\_api\.json](/cloud/reference/sources/schemas/management-api/), on its HTTP route and through the MCP tool that surfaces it; a refusal recorded on a pending action is read through read\_approval\_status\.

| Refusal | Status | Cause | Remedy |
|---|---|---|---|
| <a id="access_denied"></a>`access_denied` | not fixed | You declined at the identity provider or cancelled on the page that asks to allow a tool, the builder's line, or the device verification page\. No token was minted\.<br><br>A sign\-in for a product or resource your account cannot access also receives this refusal, with no description\. The authorization\-code flow returns it on the client redirect as error=access\_denied \(302\), and the device\-code grant at the token endpoint \(400\)\. A product site's token route also refuses such an account with this name \(403\), and mints no token\.<br><br>A page\-only account picture action is also refused with 403 where the account cannot access the product that holds the picture\. The relay makes no call to that product under the refused mint\. | Start the sign\-in again from your tool, and accept at the identity provider or allow on the page\. For a product or resource that restricts access, use an account with access\. For an account picture, use an account that has access to the product that holds the picture\. |
| <a id="access_link_account_limited"></a>`access_link_account_limited` | 403 | You called invite\_end\_user from an access\-link account\. Turn Zero sets up this test account with a sign\-in link for one person who has no account of their own\. The account cannot invite anyone into a realm\. No invitation or message was sent\. | Nothing you do corrects this: an access\-link account invites no one\. Its other actions work as they do for any synthetic account\. |
| <a id="account_application_limit"></a>`account_application_limit` | 409 | The account holds as many live applications as its limit allows; nothing was created\. | Ask the account's owner what to do\. Read `list_applications` to see what the account holds\. |
| <a id="account_credential_required"></a>`account_credential_required` | 403 | You called halt\_environment on production with a minted token bounded to one application\. Stopping production is an account action\. Only the account's session or a token minted for the whole account can do it, so that a leaked application\-bounded token cannot stop production\. The bounded token still works for halt\_environment with resume: true on either environment and for halting development\. | Repeat halt\_environment on production under your account's session, or under a token minted with mint\_token for the whole account\. |
| <a id="account_not_synthetic"></a>`account_not_synthetic` | 409 | A staff call on synthetic accounts, a purge or a read of a sign\-in code, an account's state, or its setup email, gave an account that exists and is not synthetic\. The purge refuses as a whole and deletes nothing, because a customer's account is deleted only through delete\_account and its browser approval\. The three reads return none of a customer's sign\-in codes, account state, or setup email\. The refusal lists the accounts\. Under the synthetic\_seed\_purge grant, a purge refuses such an account with account\_outside\_batches instead, because it checks your reach first\. Under synthetic\_estate, the three reads do the same\. | For a synthetic\-account read, use an eligible synthetic account\. For a purge, remove the listed accounts from the request before repeating it\. |
| <a id="account_outside_batches"></a>`account_outside_batches` | 409 | Under a synthetic grant, you gave the purge, the sign\-in code read, the setup mail read, or the state read a synthetic account outside your reach\. Under synthetic\_estate, your reach is the batches your own credential seeded and every first\-sign\-in batch\. Under synthetic\_seed\_purge, it is only the batches your own credential seeded\. Outside it are a batch a session seeded, a batch another credential seeded, and an account seeded before batches recorded the credential that seeded them\. The purge refuses with this name under either grant, and the three reads under synthetic\_estate\. The refusal lists the accounts, and the purge's refusal also gives the grant that limits you\. The purge under synthetic\_seed\_purge, and the three reads under synthetic\_estate, check your reach before they check whether the account is synthetic\. So every id outside your reach is refused with this name, a customer's account and an id that belongs to no account among them\. Under synthetic\_seed\_purge, it also refuses a purge whose request\_id another credential's purge already uses, and then it lists no account\. | Keep the request within the batches your current credential can reach\. If the task legitimately needs other reach, ask the platform operator to handle it\. If the refusal lists no account and says the request ID belongs to an out\-of\-scope purge, this call deleted nothing\. Submit a new request with a new ID only if the same purge is still authorized within your current credential's reach\. |
| <a id="account_paused"></a>`account_paused` | not fixed | The owning account used up its Free Allowance and has no live credit\. Unlimited applications are exempt\. The router returns 429 on every request to either hostname, including shell files and realm paths; scheduled runs are refused by the same name\. Storage reads, lists, puts, deletes and grant mints, and egress calls before an upstream is reached, answer 429\. Management acts that deploy, promote, roll back, restart or resume return 409 before writing a row\. `run_job` also returns 409 without starting a run\. `set_database_size` and `restore_database` also return 409 before a row is written\. A generate\_image call past the month's free images is refused 409 before the provider is called, counting and charging nothing\. New WebSocket upgrades are refused; open sockets close with code 1008 and reason `account paused`\. On the router, `Retry-After` gives seconds until the scheduled reset at the start of the next UTC month\. The router gives a request preferring HTML the pause page instead of JSON\.<br><br>On the email surface, sending is refused 429 with `Retry-After` in seconds and `resets_at`, the scheduled monthly reset\. Nothing is queued or counted\. | A paused account resumes when it has Free Allowance available again or credit it can use\. Check the current pause state before retrying\. To move a paused account's database back to shared, ask support for the operator\. `set_database_size` and `restore_database` are refused while paused\. |
| <a id="account_picture_limited"></a>`account_picture_limited` | 429 | tzMesh stopped the picture action at one of its limits: a generation already pending, the account's attempts or the service's runs for the UTC day, or the account's image store being full\. The refusal does not tell which limit was reached\. | Try again later\. Generation limits reset at UTC midnight; a pending run can be checked with the same request\_id and prompt\. A picture made in Settings before this deletion rule was in place stays until account erasure\. Later Settings pictures are deleted once more than two days old, when the service next checks for old pictures, unless a participant holds them as pictures or a message carries them\. Other stored images remain until account erasure\. Waiting may not free a full image store\. |
| <a id="account_picture_not_yet_served"></a>`account_picture_not_yet_served` | 403 | The estate's `account_picture` setting reads `off`\. The accounts service mints no token and spends no ticket\. The dashboard picture route and the three page\-only picture actions stop before any ticket, token request or tzMesh call\. | Nothing you do enables account pictures\. The platform operator enables the setting when the estate serves them\. |
| <a id="account_picture_unavailable"></a>`account_picture_unavailable` | 503 | The signed\-in account's picture read or picture action could not finish\. A token request, relay call or image\-byte request stopped short; `detail` identifies the step or stage with a short reason\. A stopped act may already have registered a person or stored an image, or left its outcome unconfirmed\. | For generation, retry with the same request\_id and prompt to check the original run\. After an upload or removal refusal, check the current account picture before retrying\. If a read fails again, report the short detail to support\. |
| <a id="account_suspended"></a>`account_suspended` | not fixed | The account is suspended\. On the management surface it is the account you act as \(403\), including for `run_job`\. On the router it is the account the served hostname belongs to \(503\)\. At the tunnel seat it is the calling application's account \(403\)\. On the builder sign\-in surface, a suspended account's sign\-in completion is refused with this name \(403\), whether it comes from a provider or a passkey\. That refusal creates no session, sets no cookie, and issues no code\. A grant is refused with this name \(403\) while the account recorded as its owner is suspended\. This covers a transfer grant on the storage surface, an upload grant on the deploy command's progress read, and a secret grant on its one write\. The grant works again once the account is reinstated, if it has not expired\. On the egress surface, an egress key is refused with this name \(403\) while its owning account is suspended\. The platform operator restores the account\. On the support read surface, a consent and a read for a suspended account are refused with this name \(403\)\. The tzMesh site token route also refuses a suspended account with this name \(403\), and mints no token\.<br><br>On the dashboard picture surface, a current dashboard session for a suspended account is refused \(403\)\. | Ask the platform operator about reinstatement\. After reinstatement, sign in again if the prior session ended, or reconnect your tool, then retry\. A still\-live grant can work again within its scope after reinstatement\. |
| <a id="action_address_moved"></a>`action_address_moved` | 410 | You called an action with a bearer credential at the address a signed\-in browser uses\. Bearer calls moved to each action's own address, which the refusal gives, so nothing ran\. A bearer revoke\_token still works here\. | For a direct HTTP bearer call, repeat the same action and body at the address the refusal gives\. If you used the installed Turn Zero command or npx, update the command as the detail says, then run the original command line again\. |
| <a id="address_not_held"></a>`address_not_held` | 409 | The signed\-in account holds no sign\-in method that carries the requested address verified\. Nothing is recorded and the account's sign\-in address is unchanged\. | Read the account again and choose an address one of its sign\-in methods carries verified\. |
| <a id="address_not_synthetic"></a>`address_not_synthetic` | 409 | A staff read of a synthetic sign\-in code gave an address outside the reserved fixture domain synthetic\.turnzero\.ai\. The read returns codes only for an address at that domain\. These are a first sign\-in's codes, kept under the address until its confirmation creates the account, and after that the synthetic account's own\. So nothing is returned, and the refusal does not repeat the address\. | Pass an address at the fixture domain in `address`, or the synthetic account's id in `account`, then repeat\. |
| <a id="app_credential_not_admitted"></a>`app_credential_not_admitted` | not fixed | You presented the application's platform credential where it is not accepted\. On the management plane only read\_account accepts it, and every other action refuses it \(403\)\. At the MCP server it connects nothing \(401 challenge\)\. | For management or MCP, sign in through your tool or use a token admitted by the action\. An account image saved outside an application needs the account owner's access\. If the current credential cannot read it, ask the owner to act or approve the minimum access needed\. The application's platform credential is accepted for allowed storage and egress calls, logging, push and email sends, job starts, end\-user verification, and `read_account`\. |
| <a id="application_other_account"></a>`application_other_account` | 403 | The application id in your request belongs to a live application of another account, not the account you are signed in as\. Every management action that looks up an application by its id refuses with this name instead of no\_such\_application, and so does the storage surface's area declaration\. The detail gives the account you act as and, from the turnzero command or an AI tool's connection, the likely cause, or, from the signed\-in site, to sign in to the account that holds the application, and nothing about the other account\. | Compare turnzero whoami with read\_account over your AI tool's connection: the command and the connection are likely signed in to different accounts\. Make the call from the one signed in to the account that has the application, or use an id list\_applications returns\. From the signed\-in site, sign in as the account that holds the application\. |
| <a id="application_required"></a>`application_required` | 400 | You declared a storage area or an upstream under an account\-wide credential and gave no application\. | Pass the application the area or upstream binds to: the identifier list\_applications returns\. Every area and every upstream binds to one application\. On the storage wire, a mint under the application’s platform credential or under a token bounded to one application may leave the member out, and it then defaults to that application\. |
| <a id="approval_expired"></a>`approval_expired` | 409 | The pending action expired before you approved it\. | Request the action again where it is still wanted\. The new request creates a new pending action with its own approval link to approve in the browser\. |
| <a id="approval_not_found"></a>`approval_not_found` | 404 | No pending action has that id, so there is nothing to approve or decline\. | Open the approval link exactly as your session printed it\. Where read\_approval\_status from the requesting tool also finds no record, request the action again\. |
| <a id="approval_state_approved"></a>`approval_state_approved` | 409 | The pending action is already approved\. Approve and decline work only on a pending action that is still in the requested state\. | No further click is needed\. Read the outcome through read\_approval\_status from the requesting tool\. |
| <a id="approval_state_completed"></a>`approval_state_completed` | 409 | The pending action already completed\. Approve and decline work only on a pending action that is still in the requested state\. | Nothing remains to approve or decline\. Read the recorded outcome through read\_approval\_status from the requesting tool\. |
| <a id="approval_state_declined"></a>`approval_state_declined` | 409 | The pending action is already declined\. Approve and decline work only on a pending action that is still in the requested state\. | Where the act is still wanted, request it again\. The new request creates a new pending action with its own approval link to approve in the browser\. |
| <a id="approval_state_executing"></a>`approval_state_executing` | 409 | The pending action is running\. Approve and decline work only on a pending action that is still in the requested state\. | Wait for the execution to finish, then read the outcome through read\_approval\_status from the requesting tool\. No further click is needed\. |
| <a id="approval_state_expired"></a>`approval_state_expired` | 409 | The pending action has already expired\. Approve and decline work only on a pending action that is still in the requested state\. | Request the action again where it is still wanted\. The new request creates a new pending action with its own approval link to approve in the browser\. |
| <a id="approval_state_failed"></a>`approval_state_failed` | 409 | The pending action already failed\. Approve and decline work only on a pending action that is still in the requested state\. | Read the outcome through read\_approval\_status and check the subject's current state\. Where the act is still wanted, request it again and approve the new pending action in the browser\. |
| <a id="approval_state_gone"></a>`approval_state_gone` | 409 | The pending action's record disappeared while your approval or decline was being written\. | Read the record through read\_approval\_status from the requesting tool\. Where it no longer exists, request the action again and approve the new pending action in the browser\. |
| <a id="approval_wrong_account"></a>`approval_wrong_account` | 403 | The browser you approved from is signed in to a different account from the one that made the request\. | Sign in to the browser as the account that made the request, then open the approval link again\. |
| <a id="area_name_reserved"></a>`area_name_reserved` | 400 | You declared a new storage area under a name beginning `export-` or `deploy-`, or of the exact form `images-<application id>`\. These belong to the platform: request\_export creates export areas under the first, deploy's upload form creates deploy areas under the second, and generate\_image creates image areas under the third\. Any other name beginning `images-` stays yours\. The refusal applies on the minting route, through declare\_storage\_area, and through submit\_manifest\. An area that already exists under any of them can be declared again, as any area can\. | Declare the area under a name that begins with neither `export-` nor `deploy-` and is not `images-` followed by an application id\. An application's export area belongs to the platform: request\_export creates it, and the line request\_export with download: true returns downloads its files\. An application's deploy area belongs to the platform too: deploy's upload form creates it and writes to it\. An application's image area belongs to the platform too: generate\_image creates it and writes to it\. |
| <a id="area_not_empty"></a>`area_not_empty` | 409 | You tried to undeclare a storage area that still contains a file in one of its environment partitions, so the declaration remains\. | Remove the files first through the storage routes, from both environments' partitions, then undeclare the area again\. Or keep the area\. |
| <a id="area_scope_refused"></a>`area_scope_refused` | 403 | The credential or operation does not reach the area\. An area accepts its own application's credentials and an account\-wide credential that no bounding grant bounds\. A credential bounded by any of the bounding grants the contract lists, `tztrack`, `tzmesh`, and `device_sign_in` among them, reaches no area of the account\.<br><br>On mint\_upload\_grant, the area you gave is bound to an application other than the one the call gives\. On list\_storage\_files and read\_storage\_file, the area you gave is bound to an application other than the one the call gives, or is the platform's deploy area\.<br><br>On request\_export with download: true, your credential does not reach the export area\. On the platform's deploy area, `deploy-<application id>`, only the upload grant `deploy` returns reaches the file routes\. Every other credential is refused there, the account's own included\.<br><br>On the platform's export area, upload grants and file\-route `PUT` calls are refused\. The contract identifies that area by its name and bound application\. | On an ordinary area, check the application and area first\. Use a credential already authorized for the intended area, keeping its access as narrow as possible\. A token with the synthetic\_seed\_purge, synthetic\_estate, publication, feedback\_queue, or issues grant stays within that grant\. If the task needs other access, ask the owner to act or approve the minimum access needed\.<br><br>To use the platform's deploy area, call `deploy_command` with the application, naming no environment, and run the line it returns from the application folder\. Use file routes to read, list or delete files from the export area\. The export writes that area\.<br><br>For an image, the service chooses the area\. Report an area binding conflict to the platform\. For a manifest declaration, correct its area or binding and resubmit the manifest\. |
| <a id="artifact_area_mismatch"></a>`artifact_area_mismatch` | 403 | The area is one a deploy cannot read\. On deploy, the artifact's area; on deploy\_files, a `stored` entry's area\. A deploy reads a stored file only from an area bound to the application it deploys\. Before reading any byte, it refuses an area the account has not declared, an area bound to another application of the account, and the platform's deploy area, `deploy-<application id>`\. On deploy\_files the refusal falls in the list's order, with `kept` and `refused`\. | Upload the file into an area declared with the application you deploy, through declare\_storage\_area with that application or the application's own credential on the minting route\. Then call deploy, or deploy\_files with a `stored` entry that uses that area\. An area binds to one application when it is declared and never moves to another, so a file for another application goes into an area of its own\. A zip in the deploy area is deployed by the upload form: call `deploy` with the `upload` its preparing call returned\. |
| <a id="artifact_hash_mismatch"></a>`artifact_hash_mismatch` | 400 | On deploy: the artifact bytes in your account's area hash to a different value from the one your request gives\. | Recompute the stored file's hash, or upload the intended bytes again, then call deploy with the stored file's hash\. |
| <a id="artifact_layout_invalid"></a>`artifact_layout_invalid` | 400 | On deploy: the zip's layout cannot run\. For a server application, it has no root package\.json that parses as a JSON object, or it has neither a scripts\.start nor a root server\.js for npm start to run\. For a serverless application, neither client/ nor functions/ at the zip's root holds a file\. A root package\.json or manifest\.json that declares more than 1 MiB is refused too\.<br><br>So is a zip past 65,535 entries, past 128 MiB declared by its files and folders, or past 500,000 name segments\. So is an entry name the image build refuses: one longer than 4,096 bytes or 128 segments, or one with a backslash or a NUL, a drive, or an absolute or climbing path\. So is one path listed as both a file and a folder\. So is a workspaces pattern the platform does not read, a root manifest\.json nested past 64 levels, and, for a server application, a root or workspace member binding\.gyp with no \.node file in its folder\. So is a `client/` folder whose files pass 2,000 files, 25 MiB in one file, or 50 MiB in all\. The detail gives the cause\. No version row is inserted and no deploy is counted\. | Read the refusal's detail and correct the cause it gives before you retry\.<br><br>For a server application, zip the folder's contents with package\.json at the top\. Provide a start script or a root server\.js\.<br><br>For a serverless application, zip the folder's contents with client/ or functions/ at the zip's root\. Put at least one file under one of those folders\. For a serverless zip, no package\.json, start script or root server\.js is required\. read\_documentation's page /cloud/guides/publish\-a\-static\-site/ gives the static\-site route\.<br><br>If the detail gives a bound, reduce the zip's entries, bytes or path lengths as directed\. Keep large media in a storage area instead of `client/`\. If the cause is the optional `manifest.json` copy's nesting, flatten the copy or leave it out of the zip\. For Windows paths with backslashes or a missing prebuilt `.node` file on a server, see step 3 of read\_documentation's page /cloud/getting\-started/deploy\-an\-application/\.<br><br>After a local check refuses, rebuild the zip and rerun the check\. After a file\-based check or deploy refuses, correct the affected files and repeat that call\. After deploy upload start refuses the zip, prepare and upload the corrected zip through a new `deploy_command`\. With the artifact form of `deploy`, upload the corrected zip and pass its new artifact\. |
| <a id="artifact_not_found"></a>`artifact_not_found` | 404 | No file has the given area and name in your account's partition\. For `deploy`, this is the artifact\. For `deploy_files`, it is a `stored` entry in the deploy target's partition; the detail gives the application's upload page\. For a `deploy_files` list, the refusal follows list order and includes `kept` and `refused`\. | Upload the file into an area bound to the application you deploy, then call deploy with that area and file name\. Where the file is in the other environment's partition, pass that environment in `artifact.environment`\. For a deploy\_files stored entry, upload the file to the requested area in the deploy environment\. With a shell that can read the file, call mint\_upload\_grant with the requested area and pass the deploy target in `environment`\. Run the returned upload command\. Otherwise, ask the person to select Upload a file on the application's page in the detail\. Resend the list with the stored file name shown after upload, and reuse each kept file's sha256\. Leave out a file only if the application works without it and the person agrees\. |
| <a id="artifact_unreadable"></a>`artifact_unreadable` | 400 | On deploy: the artifact's bytes do not read as a zip archive, or an entry the deploy reads inflates past the size it declares, and the detail gives the entry\. The deploy reads the zip right after its bytes and hash, before the in\-flight check and the application's deploys\-per\-day quantity\. So no version row is inserted and no deploy is counted\. | Rebuild the ZIP from the project folder's contents, with its files at the ZIP root\. For a server, use the server's root layout and include `package.json` where the start command uses it\. For a serverless deploy, put the site's files under `client` or the functions under `functions` at the ZIP root\. If an upload start refused the archive, prepare and upload the corrected ZIP before starting it\. |
| <a id="authentication_required"></a>`authentication_required` | 401 | No credential resolved to an account\. The refusal is the usual challenge giving the protected\-resource metadata, at the internal resolve endpoint gate, or at the audience gate the router applies\. On the management and MCP surfaces, the detail says whether the connection presented no credential or presented one that resolved to no account\. Where the credential you presented has the form of a short\-lived grant and the platform has no grant of that value, the detail says the grant was not accepted\. On the support read surface, a consent or its end without a signed\-in support cookie, and a read without a live support read token, are refused with this name \(401\)\.<br><br>A page\-only action is refused with this name, without a `WWW-Authenticate` challenge, where no API cookie call is admitted\. No bearer can call that row\.<br><br>The sign\-in removal is also refused with this where Sign out everywhere ended the acting session's generation before the removal's transaction\. | For the support read, ask the visitor to sign in on the website and share their account in that support chat\. The website gives the support agent a live read token for the chat\. If the consent or stop\-sharing action was refused, sign in on the website and repeat the action there\.<br><br>Where no credential was presented, nothing was done\. Ask the person to sign in to Turn Zero: in Claude Code they type /mcp and choose the server, in Codex they finish the page the add line opened or run codex mcp login, and the Claude app offers it at the connector\. Then make the call again\.<br><br>The turnzero command has its own sign\-in, which a tool's sign\-in does not make\. A signed\-in tool chooses its deploy route with read\_documentation, page /cloud/getting\-started/ways\-to\-deploy/\. It authorizes the computer where the command is selected; where the command is unavailable, the tool uses deploy\_files within its caps and the upload route past them\. The person runs turnzero login only where no in\-tool route works, or to renew their own login\. A job presents a minted token or the credential the surface takes\.<br><br>Where the credential you presented resolved to no account, sign in again and make the call again\. On an application's routes, have the end user sign in again\.<br><br>Where a grant was not accepted, it expired and was removed, or its value was changed\. If the command or line a tool call returned had the grant, make that call again and run the fresh command it returns\. If your application requested the grant, request another\. On an application's routes, the serving router refused the request before it reached the application\. Test the application's own authentication branches in its offline tests or in a local run\.<br><br>For a page\-only act, sign in on this site and use its page\. A bearer credential does not admit the call\. |
| <a id="authorization_pending"></a>`authorization_pending` | 400 | No one has approved the sign\-in yet, so no token is issued\. Your program polled the token endpoint under the device\-code grant before you allowed the request on the verification page \(RFC 8628\), or the turnzero command polled mint\_token for its device sign\-in before you approved it on the computer login page\. | Keep polling: the answer changes once the sign\-in is approved\. At the token endpoint, open the verification link your program printed, sign in, allow the request, and poll at the interval the device authorization response gave\. For mint\_token, the turnzero command polls every five seconds until its request's expires\_at, and the person approves on the page its link opens\. |
| <a id="balance_short"></a>`balance_short` | 402 | Your remaining Free Allowance and available credit together do not exceed the required charge for the days left in the UTC month, including today\. Nothing changed and nothing was charged\. | Try again when your remaining Free Allowance and available credit together exceed the charge for the rest of this UTC month, including today\. |
| <a id="binding_refused"></a>`binding_refused` | 409 | You called declare\_outbound\_api for an upstream bound to another application of the account\. A bound upstream is never unbound, and never bound again to another application\. On submit\_manifest, another application of the account declared an entry's name after the submission's check, so that entry was not written\. The manifest stays recorded, and the detail lists the upstreams declared and those not\. | Keep the existing binding, or declare the upstream for the other application under a different name with declare\_outbound\_api\. Ending the upstream with declare\_outbound\_api and remove true ends the binding\. On submit\_manifest, rename the entry and submit the manifest again before the next deploy or promote; that submission declares the remaining upstreams\. |
| <a id="bound_setting_unreadable"></a>`bound_setting_unreadable` | 502 | On deploy, promote, roll\_back, or a platform restart: a setting the manifest binds refers to a secret whose entry exists at the environment's scope, but the store did not return its value\. The row ended failed before the compute apply, so the serving compute is untouched\. The detail gives the setting and the secret\. | Deploy, promote, or roll back again\. The platform retries a restart at its next pass\. If the refusal repeats, report it with its detail\. Storing the value again with store\_secret does not help while the store does not respond\. |
| <a id="browser_session_required"></a>`browser_session_required` | 403 | The approval action was called somewhere other than its approval page, or a page\-only action received an `Authorization` header, even beside a cookie\. Approval reads no credential on the actions routes; a page\-only action admits only the API cookie call and reads no bearer\. | For approval, open the approval link in a signed\-in browser and approve or decline there, then read\_approval\_status\. For a page\-only act, use its signed\-in page; no bearer credential can call it\. |
| <a id="build_wait_exceeded"></a>`build_wait_exceeded` | 503 | On deploy: the image or function build waited fifteen minutes for its turn behind other builds on the same control plane process, and never started\. Nothing was built or applied, and the serving version is untouched\. The history row ends failed with this outcome at the image\_build step\. | Deploy again; the new deploy takes its own turn\. If the wait repeats, the platform is busy with other builds, so wait a few minutes before deploying again\. |
| <a id="cell_move_in_flight"></a>`cell_move_in_flight` | 409 | An unfinished cross\-cell move of the application refuses a database move and `run_job`\. No pending action, database move or job run is created\. Production keeps its current database size\. | Repeat the request once the application's move to the other cell ends\. |
| <a id="cell_not_configured"></a>`cell_not_configured` | 503 | No hosting cell is open to the act\. The actions create\_application, submit\_manifest, deploy, deploy\_files, and declare\_storage\_area refuse with it when the placement registry has cells but no admitting cell\. For a serverless application, it also applies when no cell open to placements can host serverless applications\. The action create\_application also refuses with it when there is no admitting routing tier\.<br><br>The actions deploy and deploy\_files refuse with it when no cell is registered and no deploy configuration exists, or when the application's placement points to no registered cell\. A deploy, a promote, or a redeploy under the placement rule also refuses with it when the group the environment would be placed in is on a cell that records no cluster\. The action submit\_manifest refuses with it when the application has no placement to provision a database on\. A promote or a production deploy refuses with it at its database\_pair step, the history row ending failed, when the production environment has no placement to provision a database on\.<br><br>The action read\_logs refuses with it when the cell's log workspace is not configured\. It also refuses with it, for an environment that runs as a pod, when the cell records no cluster or the group is not registered\. The action delete\_environment refuses with it after its approval when the development environment has no placement row and no admitting cell or routing tier exists, or no cell is registered\. | Nothing you do corrects this\. Report the refusal with its detail, and repeat the request once the platform's operator has registered an admitting cell and routing tier, or has finished configuring the cell\. |
| <a id="cell_timeout"></a>`cell_timeout` | 503 | The platform's hosting cell did not respond in time, so the call could not finish\. Nothing in the request was wrong\. An action whose call waits on the hosting cell can refuse with it, read\_status and a pod environment's console read among them; an approved destructive action's execution records execution\_failed instead\. The platform records the failure under the reference the detail gives\. | Repeat the call after a short wait\. Where the call changes something, call read\_status first, because the change may already be made\. If the refusal repeats, report it and quote the reference its detail gives\. |
| <a id="cell_unavailable"></a>`cell_unavailable` | 503 | No hosting cell open to the application has headroom under its nominal capacity, so the application cannot be placed\. For a serverless application, only cells that can host serverless applications count\. The actions create\_application, submit\_manifest, deploy, deploy\_files, and declare\_storage\_area refuse with it\. The act set\_app\_size, when moving production to shared\-1gb, and the operator's placement on the unlimited plan refuse where the cell's container\-grain placements reach their bound\. The act delete\_environment refuses with it after its approval when the development environment has no placement row\. | Nothing you do corrects this\. Report the refusal with its detail, and repeat the request once the platform's operator has registered a cell with headroom or raised a cell's nominal capacity\. |
| <a id="cloud_required"></a>`cloud_required` | 403 | You called one of tzCloud's actions from an account that does not have tzCloud\. Every account holds tzCloud by the product rule, and an operator account has every product\. A connected tool lists no such action for that account, and a call to one is refused with this name, which gives the action's name\. | Every account holds tzCloud by the product rule, so no act adds it\. Repeat the request; the read\_account action lists the products the account has\. |
| <a id="command_too_old"></a>`command_too_old` | 426 | Your command is older than this plane serves\. The request's `User-Agent` opens with `turnzero-cloud/<version>` or `turnzero/<version>`, at a version below the floor this plane sets: the oldest command whose flows it still serves correctly\. The body gives the floor as `minimum_version`, beside `contract_version`\. The plane never refuses `revoke_token` this way, so an old command's `logout` still ends its token\. The command route of `sign_in_test_end_user` uses the plane's floor, 0\.37\.0, and returns that `minimum_version` for a lower version\. | Update an installed command with its install line, `npm install -g turnzero@<tag>`: the tag is `latest` on production and `next` on development\. Then run the line again\. Where the line runs through npx, take a fresh line from your tool's deploy\_command call, or run this line again once its tag points to the floor's version or a later one\. A line with one version's own tarball address runs only that version, so take a line with a newer one\. |
| <a id="context_changed"></a>`context_changed` | 409 | The continuation stamp you sent no longer matches the catalog or the content you can see\. | Repeat the request from offset zero without a stamp, then continue paging with the stamp the new response gives\. |
| <a id="context_not_found"></a>`context_not_found` | 404 | The content id is not in the catalog you can currently see, or a page route is not in the tree's manifest\. | Follow the detail's suggested identifier, successor, member or source first\. If it gives no route, call `read_context` without an ID and copy a listed identifier\. For tzMesh listening, use the ID `overview:tzmesh` and find the section Listen from Codex or Listen from Claude Code\. For a documentation tree, use `read_documentation` with the tree and part its catalog entry gives\. For a page, use the route printed in the tree's index\. |
| <a id="context_unavailable"></a>`context_unavailable` | 503 | An indexed source or a built documentation tree is unavailable, or the platform could not read a product's practices or skills from that product's own server\. | For a product's practices or skills, read again in a short while: the platform reads them from the product's server again\. For an indexed source or a documentation tree, nothing you do corrects this: the platform restores it by its next publish or release, so retry later and report the refusal with its detail if it persists\. |
| <a id="creation_contradicts_audience"></a>`creation_contradicts_audience` | 409 | On configure\_app\_sign\_in: the manifest declares the invited audience, and the call sets creation to open\. Under an invited audience, both realms create accounts by invitation only, from the declaration on\. | Leave creation out of the call, or set it to invited\. To allow a first sign\-in without an invitation, change the manifest's audience to public with submit\_manifest first\. |
| <a id="credential_not_in_custody"></a>`credential_not_in_custody` | 409 | The declared credential name is missing from custody at the scope reached\. Use store\_secret to add it\. A declaration can use a value stored for one environment\. A gateway call reads its own environment's scope and the account scope\. A value stored only for the other environment cannot admit that call\. On declare\_outbound\_api, where the entry ended while the declaration was being written and the write cannot be taken back, the declaration remains as written and the detail says so\. | Store a value under the declared credential name with store\_secret, for the account or for the application's environment, then repeat the request\. Where the detail gives the other environment, store this environment's own value under the same name at this environment's scope of the application\. Each environment reads its own scope, so development can have a test key and production a live one\. A key both environments share can instead be stored once at the account scope under a new name\. Every upstream of the account that declares that name reads it, so declare the upstream again with that name\. Include the upstream's `sdk_settings` in that call, or omit the member, which keeps them; `sdk_settings` null removes them and ends the upstream's egress keys\. Where the detail says the declaration remains, declare the upstream again with a stored credential name, or store the credential again\. |
| <a id="credit_flag_held"></a>`credit_flag_held` | 409 | An open payment dispute prevents clearing this account’s credit flag\. The flag was not changed\. | Wait for the dispute to close, read the purchases and flag again, and give a reason if clearing is still needed\. |
| <a id="credit_sales_off"></a>`credit_sales_off` | 403 | Credit sales are off on this site\. The call opens no checkout and charges nothing\. | Credit cannot be bought on this site while sales are off\. |
| <a id="custody_entry_missing"></a>`custody_entry_missing` | 409 | On configure\_app\_sign\_in or configure\_push: the Microsoft Entra or OpenID Connect client secret, Apple signing key, or push provider credential the call gives is not in custody under the application scope at the call's environment\. On submit\_manifest, the entry of a route credential the realm member gives ended after the check, so that environment's realm was not configured\. The manifest stays recorded, and the detail lists the realms done and those not\. On create\_environment, the same applies on development, and the member is not recorded there\. | Store the secret with store\_secret, giving this application and the environment, under the name you will configure\. Then call configure\_app\_sign\_in again with that name in entra\.client\_secret\_name, oidc\.client\_secret\_name, or apple\.key\_secret\_name, or configure\_push again with it in apns\.key\_secret\_name or fcm\.service\_account\_secret\_name\. On submit\_manifest, store the value again, or under a new name you then set in the realm member, and submit the manifest again\. On create\_environment, store the value again and call it again, or use a new name in the member and submit the manifest\. |
| <a id="custody_entry_unmovable"></a>`custody_entry_unmovable` | 409 | On configure\_app\_sign\_in: the cell's realm vault already has the client secret's or the key's name at another version, so the value cannot move there\. Nothing moved and no row was written\. On submit\_manifest, the realm vault took the name after the check, so that environment's realm was not configured\. The manifest stays recorded, and the detail lists the realms done and those not\. On create\_environment, the same applies on development, and the member is not recorded there\. | Store the value under a new name at the application's scope with store\_secret, then call configure\_app\_sign\_in again with that name in entra\.client\_secret\_name, oidc\.client\_secret\_name, or apple\.key\_secret\_name\. On submit\_manifest or create\_environment, store the value under a new name, change the realm member to it, and submit the manifest again\. |
| <a id="custom_domain_capacity"></a>`custom_domain_capacity` | 409 | The manifest declares a custom domain, and the estate's rows that have or may have a provider resource are at the estate's bound, counted when the row is inserted or a failed row returns\. Those rows are every row that is not failed, and every failed row whose resource name remains\. The bound is 99 at the beta, and nothing is written\. | Nothing you do raises the bound\. Ask the platform operator to raise the estate's bound, then call submit\_manifest again\. Removing the custom\_domain row from the manifest lets the submission through without the domain\. |
| <a id="custom_domain_invalid"></a>`custom_domain_invalid` | 400 | The manifest's custom\_domain row gives a hostname the platform refuses, and the refusal states the reason\. The reasons are an apex, a reserved name \(one under a serving suffix, the company domain, or the apps edge name\), a public suffix, and held\. Held means another row of the platform's table has the name, failed and detaching rows among them\. It also means the application's own row has another domain or is in the detaching state; the detail then says to remove that row\. | Declare a different hostname, then call submit\_manifest again: for an apex, a label under it such as www; for a held name, a name of your own\. Where your own row has another domain, remove the row, submit again, and wait until read\_status no longer shows custom\_domain before declaring the new name\. The manifest schema refuses a hostname of fewer than three labels, or a wildcard, before this check\. |
| <a id="custom_domains_not_yet_served"></a>`custom_domains_not_yet_served` | 400 | The manifest declares a custom domain that no row of the platform's table has, while the estate's `custom_domains` setting reads 0 or its edge profile setting is empty\. So the platform binds none yet\. A recorded manifest's declaration is refused the same way, and a declaration that an unchanged row already has is accepted\. | Remove the custom\_domain row from the manifest and call submit\_manifest again\. Nothing you do lifts the setting; the platform operator lifts it when the estate serves custom domains\. |
| <a id="database_credential_unreadable"></a>`database_credential_unreadable` | 502 | On deploy, promote, rollback, restart, or query\_database: the application has a database, but its credential could not be read from custody\. At a serverless migration step, no migration ran and the earlier version keeps serving\. | Retry the request\. Where it repeats for development, run `turnzero provision --origin https://dev.turnzero.ai --application <application id>` with nothing piped\. Add `--origin` where your other lines include one, and make any call it prints\. Its line replaces the development database credential in custody through `store_secret` with `replace: true`\.<br><br>With no shell, ask the person to run that development command\. Ask them to paste the printed `tzcloud_submit_manifest` call into this chat\. Make it through your own connection, then ask them to run the returned line on that same computer\.<br><br>If development serves a version, the provision line restarts that version; it does not deploy the refused version\. Where development serves nothing, it restarts nothing; the next development deploy injects the new credential\. Deploy development again with the same files, or repeat `query_database` if that was the refused call\. If `database_credential_unreadable` repeats after the line succeeds, report it as for production below\.<br><br>On a refused or failed deploy, promote or rollback, a version already serving stays in place\. Where none was serving, nothing serves afterwards\.<br><br>Where it repeats for production, nothing you do corrects it\. The platform operator handles the reported fault in either environment\. Call `submit_feedback` with the refusal and the refused call's `reference`, then `read_feedback` with the returned issue id\.<br><br>For `deploy`, `promote` or `roll_back`, quote that call's answer's `reference`, even where a later `read_status` shows the refusal\. That later read's `reference` identifies only the read\.<br><br>The feedback issue's `fixed` state means built and being released\. Read `note_to_reporters` and `live_in`; retry only after the platform confirms restoration or that the fix is live\.<br><br>Setting `rotate_database_credential: true` on a retried production deploy or promote does not repair this refusal: the platform must read the standing credential before it can rotate it\. |
| <a id="database_move_in_flight"></a>`database_move_in_flight` | 409 | An unfinished production database move refuses `set_database_size`, `restore_database`, `open_database_connection`, `run_job`, a new production version, or application deletion\. Account erasure waits for the move and refuses if its wait ends first\. The move’s own redeploy after the switch is admitted\. An unfinished move of the application between cells also refuses `open_database_connection`\. | Repeat the same request after the database move completes or is reverted\. |
| <a id="database_not_provisioned"></a>`database_not_provisioned` | 409 | deploy: the deploy goes to development, the recorded manifest declares the database kind, and the development environment has no database\. That happens after delete\_environment and then create\_environment with no submit\_manifest since, or after a submission whose database provisioning was refused\. Nothing was written, and no deploy was counted toward the day's quantity\. For `open_database_connection`, the application has no provisioned production database\. This can happen before a version that declares the database kind serves in production\. | For a refused development deploy or deploy check, call `submit_manifest` again with the same manifest to provision the database\. If it succeeds, repeat the refused deploy or check\. If provisioning is refused, follow that refusal first\.<br><br>For `open_database_connection`, if production has no version that declares the database kind, deploy or promote one\. Wait for that version to serve before requesting the connection again\. If the pending action's outcome says the production database or its role is missing from its server, report the detail and pending action id\. Include the reference of the original `open_database_connection` request\. |
| <a id="database_package_outdated"></a>`database_package_outdated` | 400 | deploy and deploy\_files, including check\_only: the recorded manifest lists Database below 0\.14\.0, or a library copy in the zip gives a version below 0\.14\.0\. A copy is identified by its turnzero\.entry; an ordinary package with no entry is ignored\. An unreadable library copy, entry or version also refuses where the environment declares or holds a database\. The manifest row is checked before an upload grant or file upload; check\_deploy reports that row alone, since it reads no zip\. Unlimited applications are exempt\. Nothing was written: no version row, counted deploy or build\. | Update the Database package to 0\.14\.0 or later\. For a copy you send, replace it under `lib/` and regenerate the manifest's `packages`\. If the platform fills the copy, use the library's served version in `packages` and keep the root `file:` dependency\. Restore a complete `package.json` for an unreadable copy\. Record any manifest correction, then repeat the original check or deploy\. |
| <a id="database_provisioning_failed"></a>`database_provisioning_failed` | 502 | On submit\_manifest: provisioning the database role or password for the declared database kind failed\. On store\_secret with replace: true: the development database is recorded but its role is missing, so nothing was changed\. Either failure is recorded on the platform side under a reference the detail gives, and the detail never repeats the error's own message\. | After submit\_manifest, retry the same manifest once any deletion ends\. If store\_secret reports a missing role and you need to keep the data, report the reference\. A reset removes development data, secrets, files, and logs\. Reset only if the owner chooses it and approves delete\_environment on development in the browser, on one environment or two\. Recreate development where needed, then resubmit\. |
| <a id="database_size_not_open"></a>`database_size_not_open` | 403 | The requested dedicated database size is not available on this estate, or is not open to this billed account under `dedicated-database-sizes`\. The detail lists the dedicated sizes open to the account, says none are open, or says this estate serves no dedicated size\. No pending action or database move is created; production keeps its current size\. | Choose a dedicated size the detail lists\. If none is open, leave the database as it is or ask support\. This refusal does not prevent an otherwise admitted move back to `database-shared`\. |
| <a id="database_size_unread"></a>`database_size_unread` | 503 | The production database's size could not be read while `set_database_size` has a size bound to check\. The detail gives that bound in bytes\. No pending action or database move is created\. Production keeps its current size\. | Repeat `set_database_size` in a few minutes\. If the refusal repeats, report it with its detail\. |
| <a id="database_too_large_to_move"></a>`database_too_large_to_move` | 409 | The production database holds more bytes than `set_database_size` admits for a move\. The detail gives its bytes and the move bound\. No pending action or database move is created; production keeps its current size\. | Ask support for the operator to move the database with `database-move` at a time agreed with you\. |
| <a id="declared_audience_contradicts_route"></a>`declared_audience_contradicts_route` | 409 | submit\_manifest refuses an invited audience when an existing realm's sign\-in methods include entra or oidc\. The refusal gives the environment and its configured methods\. | Use configure\_app\_sign\_in to remove the conflicting method from each affected realm's sign\_in\_methods, then submit the manifest again\. You can also keep the recorded audience\. |
| <a id="declared_tenant_contradicts_route"></a>`declared_tenant_contradicts_route` | 409 | `submit_manifest`: an existing realm's work\-account route does not match the manifest's declared workforce tenant ID or issuer, and the manifest supplies neither route configuration\. | Compare `tenant` and `configured_tenant` for the environment the refusal gives\. Give the matching `entra` tenant ID or exact `oidc` issuer in the manifest's `realm`, or set the workforce `tenant` to the route's configured value\. Call `submit_manifest` again\. |
| <a id="dedicated_capacity"></a>`dedicated_capacity` | 503 | The platform has no room for a dedicated database move\. One of three bounds is reached: the cell's dedicated servers, the region's cores, or the moves in flight\. No pending action or database move is created\. Production keeps its current database size\. For a dedicated application server, this means the application's location has no room to place the new copy\. Production keeps its current settings\. | Repeat the request after the operator makes room\. At the concurrent\-move bound, repeat after a move ends\. |
| <a id="dedicated_size_below_workers"></a>`dedicated_size_below_workers` | 409 | The requested dedicated size allows fewer role connections than the account can have live function workers in the cell\. A refused request creates no pending action\. Production keeps its current database size\. | Ask the owner to choose an available dedicated size whose role limit covers the worker bound in the detail\. Wait for the owner's choice before requesting another size\. |
| <a id="delete_locked"></a>`delete_locked` | 409 | A deletion lock blocked the request\. `delete_application` returns the application lock in `delete_lock`\. `delete_account` includes `delete_lock` only for an account lock and lists any locked applications in `locked_applications`\. For a development purge, `locked_applications` lists the locks that blocked the whole request\. | For an account lock, use `lift_account_delete_lock`\. For an application lock, use `lift_application_delete_lock` for the application you asked to delete or for each application in `locked_applications`\. Have the approver approve each lift in the browser\. Then request deletion again\. |
| <a id="deletion_in_progress"></a>`deletion_in_progress` | 409 | A deletion of the application, or of one of its environments, is in progress\. Every action whose request gives the application refuses with this name, with these exceptions: reads other than `check_deploy` and `check_manifest`; `read_approval_status`; `delete_application`; and `delete_environment` on the environment whose own row has the deletion marker\. A failed deletion walk is retried by the same deletion action, and the marker clears when the walk completes\. | Wait for the deletion to finish, watching it through list\_applications or read\_approval\_status\. Then repeat your request, but only if the development environment alone was deleted, since a deleted application no longer exists\. If the deletion failed, run the same delete\_application or delete\_environment on the same subject again to complete it\. A deletion approved while another deletion of the same application is in progress ends failed with this refusal\. That refusal's detail gives the instant the other deletion's hold lapses; if its process stopped, request your deletion again after that instant\. An account deletion that stopped this way, before its first member, gives the application and the instant its hold lapses\. Request the account deletion again once that deletion ends\. |
| <a id="deploy_area_unavailable"></a>`deploy_area_unavailable` | 409 | deploy's preparing call and deploy\_files: a storage area your account declared exists under the name of the application's deploy area, `deploy-<application id>`, without the platform's marker\. So no upload can be prepared and no file kept there\. The existing area is left as it is\. | Deploy with `artifact` from an area of your own, uploaded under a grant from mint\_upload\_grant\. The existing area and its files are the account's own, and a deploy leaves them untouched\. |
| <a id="deploy_failed"></a>`deploy_failed` | not fixed | On deploy: a run the registry did not schedule, or a function build whose bounds, pushed artifact or layer the platform could not read as required\. Most often the build was refused before it started because the platform's base image could not be read\. Nothing was built or applied, and the serving version is untouched\. The history row ends failed with this outcome, its detail the refusal's text, with no `build` member\. | Read the failed step and outcome with `read_status` or `list_versions`\. If the detail says a retry can go through, repeat the failed deploy, promote or restart\. If the platform is restoring a base image, wait for it\. If the failure repeats, report it with the failed action's reference\. |
| <a id="deploy_files_hash_mismatch"></a>`deploy_files_hash_mismatch` | 409 | A `deploy_files` file call, a list entry with `content`, or a list entry with `stored` gave a `sha256` that the file's bytes do not have, decoded where `encoding` is `base64`\. The detail gives the path or the entry, the hash received, and, for sent content, the common causes: line endings, a trailing newline, or a byte\-order mark\. A file call's detail also gives the hash given\. A file call keeps nothing, and a stored entry's file is not kept\. A list keeps each other entry that passed its checks; `kept` lists those and each entry by `sha256` alone whose file the platform holds and could read as the refusal was built, and `refused` each refused entry\. A binary file goes as base64 with `encoding` `base64`\. The deploy line's own refusal of a whole zip is `upload_hash_mismatch`\. | For a single `file` call, correct the bytes or the optional `sha256` and repeat that call\. For a list, keep the retained entries by their `sha256`\. For stored content, check the area and filename and give the stored bytes' hash or omit it\. Send binary content as base64 with `encoding` `base64`\. An inline file over 512 KiB can use a stored entry\. Beyond 4 MiB total or 200 entries, use the command or ZIP upload route\. |
| <a id="deploy_files_syntax_error"></a>`deploy_files_syntax_error` | 422 | A `deploy_files` file, a `.json` file or a JavaScript or TypeScript one, does not parse\. The detail gives the path, the line, the column, and the parser's reason in a fixed sentence, or `Babel reason` and the reason's code where no sentence is written for it\. It quotes no text of the file\. Where the call sent the file's text and room allows, it also gives up to three characters a reader cannot see on that line, nearest first, by code point and column, such as `U+2028 at column 19`, and counts any others\. Where room allows, it then says the line was read after the call's JSON was decoded, so a `\u` escape the call carried arrives as the character itself\. A file call keeps nothing for it, and a list call starts nothing\. A list keeps each other content entry that passed its checks; `kept` lists those and each entry by `sha256` alone whose file the platform holds and could read as the refusal was built, and `refused` each refused entry\. | Fix the line and column the detail gives\. For a `file` call, repeat that call with corrected content\. For a list, reuse each `kept` file by its `sha256` and resend each refused entry with the correction\. Keep `check_only` if you were checking\. To send the six literal characters `\u2028` or `\u2029` in `content`, double the backslash in the call's JSON: `\\u2028` or `\\u2029`\. |
| <a id="deploy_files_too_large"></a>`deploy_files_too_large` | 413 | A `deploy_files` call exceeded a limit: an inline file over 512 KiB, a list over 200 entries, or listed and filled files over 4 MiB total\. This refusal also occurs if a stored file changes size while being read\. The detail gives the sizes or entry count, and `limit` identifies the case\.<br><br>When a list entry's content exceeds 512 KiB, `kept` lists the accepted content entries and each entry given only by `sha256` whose file the platform could read when building the refusal\. `refused` lists the rejected entries\. | If a stored file changed size while being read, send the list again\. If it changes again, ask your user to upload it again\.<br><br>For an inline file over 512 KiB, use a stored entry\. With no shell, get the page's address from `read_status`'s `dashboard`, then ask the person to sign in there, use Upload a file and give you the stored name\. Stored entries do not raise the 4 MiB total or 200\-entry limits\. Beyond those, use the turnzero command where it works, otherwise the ZIP upload route: `declare_storage_area` if needed, `mint_upload_grant`, upload, then `deploy` with the ZIP as `artifact`\. If no available in\-tool route works, give the person one exact step at a time in their own terminal; never suggest changing permissions or pasting a token into chat\. |
| <a id="deploy_in_flight"></a>`deploy_in_flight` | 409 | An in\-flight version\-history row in the environment refuses deploy, promote, roll\_back, restart\_application, halt\_environment, clear\_development\_database, set\_database\_size, restore\_database, and a change of size or sleep setting by set\_app\_size, or the operator's placement, that changes production's group or grain or writes its replica floor in place\. For a deploy with `artifact`, the in\-flight row is a deploy whose artifact hash differs from this request's\. A request with the in\-flight hash returns that deploy's answer instead\. For a deploy with `upload`, the in\-flight row did not read that upload\. Another upload is refused even where its bytes are identical, and the same upload returns that deploy's answer instead\.<br><br>A `restart` in flight refuses a deploy whatever its hash\. A restart re\-creates the serving version\. It reuses the version's recorded app settings and reads current values for the secrets they bind\. A deploy to production is refused the same way while a rollback or a promote of production is in flight\. For a promote or a rollback, a production row of any kind is in flight, and read\_status or list\_versions shows when it ends\. For a restart\_application, a row of the environment of any kind is in flight, and the restart can run once it ends\. Any request to re\-create the running copy can also receive this refusal if the serving version keeps changing as the replacement starts\. A halt is refused while a deploy, promote, or restart of the environment is in flight\. A development database clear is refused while a development deploy or restart is in flight\.<br><br>Either can run once that row ends\. A halt of production while a production deploy is still building its image can run instead, and it ends that deploy\. Past the build, the halt is refused until the deploy ends\.<br><br>A read\_logs call with source "container" on an environment without compute is also refused with this name where a version is in flight there\. It is refused likewise where the environment has no unretired history row, is the deploy target, and read\_status reports an upload in upload\_in\_progress\.<br><br>For `set_database_size` and `restore_database`, a production version row in flight refuses the act before any database move starts\. Wait for that version to end, then repeat the request\. | Use `read_status` or `list_versions` to see when the in\-flight deploy, promote, rollback, or restart ends\. Then repeat the refused request\. To follow a deploy already in flight, repeat the deploy with the same artifact or the same upload\. For `read_logs` with source `container`, follow `read_status` with `wait_seconds` through the upload or run, then repeat the read\. If `read_status` returns `pending_upload`, read its refusal and retry members\. |
| <a id="deploy_seam_absent"></a>`deploy_seam_absent` | 503 | A hosting cell is registered, but the control plane has no live provider seam bound to apply compute through\. The actions deploy, deploy\_files, promote, roll\_back, and restart\_application refuse with it, and a change of size or sleep setting by set\_app\_size, or the operator's placement, does where it sets a placed container's replica floor in place\. So does read\_logs on the `container` source, where the environment runs as a pod and the control plane binds no Kubernetes seam\. | Nothing you do corrects this\. The platform operator binds the provider seam on the control plane, so report the refusal with its detail\. |
| <a id="deploys_per_day_exceeded"></a>`deploys_per_day_exceeded` | 429 | On deploy: the application's deploys started within the last 24 hours reach its size's `deploys-per-day` quantity, served from the pricing registry\. The next deploy can run once the oldest of them is older than 24 hours\. A promote is not a deploy\. | Wait until the application's oldest deploy of the last 24 hours is more than 24 hours old, then deploy again\. On an application with two environments, you can still promote an already\-built version in the meantime\. |
| <a id="description_changed"></a>`description_changed` | not fixed | At approval, if describing the subject again reveals a change or returns a refusal code, the record ends as `declined` before execution\. The outcome gives the approved `description` and `current_description`\. If execution finds the subject has changed since approval, the record ends `failed` with `error` and `detail`\. Read either outcome with `read_approval_status`\. | When two descriptions are available, compare what you approved with the current description on the approval page or through `read_approval_status`\. Otherwise reread the affected application or record and its current owner\. If the action is still wanted, its current owner requests it again and approves the current description in the browser\. |
| <a id="destructive_class_required"></a>`destructive_class_required` | 403 | You made a destructive\-tier request from a credential that has no destructive class, so no pending action is created\. | Repeat the action from your tool's connected session, the one your own sign\-in opened\. Alternatively, from that session call mint\_token with the destructive grant, then repeat the action under the new token\. |
| <a id="development_at_size_set"></a>`development_at_size_set` | 409 | set\_app\_size refused a size change because development is already set to use the application's size, or because this call would turn that setting on\. Nothing was recorded\. Turn off development matching and wait for the change before you request the size\. You can turn matching back on after production is on a shared size\. | Use separate set\_app\_size calls\. If development\_at\_size is on, set it to false first\. Change the size, then set development\_at\_size to true if you want development to match\. Wait for each change to finish before starting the next\. |
| <a id="development_estate_required"></a>`development_estate_required` | 409 | A staff purge of development applications reached an estate other than development\. The plane reads its role from its public origin, and only the development estate deletes applications with no pending action\. Nothing was read and nothing was deleted\. | Run the purge on the development estate\. On this estate, delete each application through delete\_application and its browser approval\. |
| <a id="device_sign_in_bounded"></a>`device_sign_in_bounded` | 403 | An action outside the bound of the `device_sign_in` grant, reached under a session the device grant issued for the Turn Zero server itself\. Such a session reaches the rows whose admits mark lists the grant, the anonymous rows, and the forwarded tzMesh and tzTrack rows, and no other row of the account; it holds no super\_admin even for an operator\. The refusal gives the grant and the rows the bound allows\. | Stay within this grant\. A device sign\-in session can use the products, public actions, and the account actions this grant allows\. The refusal's `admitted` member lists the allowed actions on this service\. The session cannot call `mint_token`\. If you need to do more, ask the owner to act or approve the minimum access needed\. |
| <a id="differing_redeclaration"></a>`differing_redeclaration` | 409 | You declared an area again with declarations that differ from the existing ones\. | Match the existing area declaration or use a new name\. For a manifest declaration, correct the manifest's storage entry and submit it again\. The refusal lists any declarations already made\. An empty separately declared area can be removed and declared again, or a new area can be declared and existing files moved there\. |
| <a id="egress_key_not_admitted"></a>`egress_key_not_admitted` | not fixed | The egress key the platform mints for one upstream of one deployed compute works only on that upstream's keyed route\. Everywhere else it is refused with this name \(403\): another upstream, a management action, the storage and logging routes, a gated documentation tree's machine files, the push and email send routes, the job start route, and the realm surface\. The MCP server refuses it with a 401 challenge, and the tunnel seat with 407\. | Present the egress key only as the bearer of calls under the base URL in its setting, which the deploy set for that upstream\. To call another upstream the same way, declare it with its own `sdk_settings` and read that upstream's key setting\. For any other act, present the credential that surface accepts, such as the application's platform credential on the storage and logging routes\. |
| <a id="email_domain_undeliverable"></a>`email_domain_undeliverable` | 400 | The address's domain has no mail server: it does not exist, it publishes a null MX, or it publishes no MX and no A or AAAA record with a public address\. The platform checks before an emailed\-code start outside the fixture domain, and before the application\-less form of invitation's issue act, the one form that sends\. Nothing was sent, no code is pending, and no invitation was issued\. | Check the address for a typo and try again with the corrected address\. On a sign\-in page, another sign\-in method also works\. For a builder invitation, issue it to an address whose domain accepts mail\. |
| <a id="emailed_code_needed_by_passkeys"></a>`emailed_code_needed_by_passkeys` | 409 | The removal would leave the account with passkeys but no emailed\-code identity\. Nothing is removed\. | Remove the passkeys first on the passkey page, then request removal again\. |
| <a id="end_user_credential_not_admitted"></a>`end_user_credential_not_admitted` | not fixed | The end\-user credential the accounts service issues is refused with this name on every surface except its own realm \(403; a 401 challenge at the MCP server\)\. | Use an end\-user credential for its realm's account routes\. On verification, send the platform credential as bearer and the end\-user session value in the body\. Storage, logging, egress, push and email use the application's admitted platform credential\. The account image route takes the account's own sign\-in or an account\-wide token\. For management or MCP, sign in to the account or use a minted token admitted by the action\. |
| <a id="entitlement_apply_failed"></a>`entitlement_apply_failed` | 502 | On set\_app\_size: the size's entitlement could not be applied\. That entitlement is the replica floor on the placed application's container app, or the role's connection limit on its provisioned database\. The detail says which, with its value and, for the connection limit, the environment's role\. The provider's or the driver's own message is recorded on the platform side under a reference the detail gives, and is never returned\. The size remains as it was, and the retry is the same set\_app\_size\. | Repeat the refused call with the same members\. If it fails again, report it and include the reference if the detail supplies one\. After the platform corrects the failure, repeat the same call\. |
| <a id="environment_never_deployed"></a>`environment_never_deployed` | 409 | The environment has no deployed version, so there is nothing to act on\. The action halt\_environment refuses with it because there is nothing to halt\. The action restart\_application refuses with it where a server environment has no serving version with compute to re\-create, or a serverless environment has no serving version\. The `run_job` action refuses when no version serves\. | If `halt_environment` was refused because no version serves, there is nothing to halt\. If `restart_application` was refused, use `read_status` to check what the environment serves and the `outcome` of any failed restart\. If the environment has no version and should serve, deploy to it or promote a development version to production on an application with two environments\.<br><br>If a server environment has a serving version but no compute to restart, give the owner the restart refusal\. Where the owner wants service restored, use a new deploy or an applicable promote to create the running copy\. Report a repeated failure with its detail and the call's reference\. |
| <a id="environment_not_created"></a>`environment_not_created` | 409 | The call gives an environment the application does not have\. A new application has one environment, production, so an act on development is refused\. So is `promote`, which needs a development environment to promote from\. The exception is `delete_environment`, which is accepted and removes what is left\. That applies where a development database setup exists, whole or stopped partway, or a deletion of it stopped, or where an earlier revision left a development realm or hosted placement\. For an app with only production, `read_logs` gives this refusal for development\. Use `local` to read logs from local runs\. `read_counters` can return retained development totals\. An empty development counter read gives this refusal\. | For a call that accepts an environment, use production if it is the intended target\. On an app with production alone, a deploy reaches production and `roll_back` can restore an earlier eligible production version\. An account connection can add development when needed\. For session verification, use the app's production realm or ask its owner to add development\. |
| <a id="environment_unavailable"></a>`environment_unavailable` | 409 | deploy: the call gave `production` on an application with two environments, where a deploy goes to development and a version reaches production through `promote` alone\. On an application with one environment a deploy goes to production itself\. | Deploy to the development environment, or pass no environment, then promote the resulting version to production\. |
| <a id="environment_unsupported"></a>`environment_unsupported` | 400 | On submit\_manifest: the manifest has an environments member\. An application's environments are set by create\_environment and delete\_environment, never by its manifest, which declares none\. | Remove the environments member from the manifest, then call submit\_manifest again\. One manifest text serves every environment the application has, so add no replacement declaration\. |
| <a id="execution_failed"></a>`execution_failed` | not fixed | A pending action records this failure when its handler threw something other than a refusal by name, or when its description threw at approval\. Read it through read\_approval\_status\. The failure is recorded on the platform side under a reference the detail gives, and the detail never repeats the error's own message\. A deletion walk's failure also gives the member the walk stopped at, beside the receipts written before it\. | Read the outcome through read\_approval\_status and check the current state, then request the action again where it is still wanted\. The new request creates a new pending action that needs browser approval, and a repeated deletion runs its walk again, reporting zero removals for what is already gone\. |
| <a id="export_not_completed"></a>`export_not_completed` | 409 | On request\_export with download: true: the export the call gives has not completed, so no download grant is minted for it\. It is still running, or it failed; a running export whose heartbeat went stale counts as failed\. | For a running export, read it with read\_export until its state is completed, then call request\_export with download: true again\. For a failed export, read its outcome with read\_export\. On interrupted, request a fresh export for the same application and environment, then use its id after completion\. On table\_bound\_exceeded, use query\_database in bounded reads for that table\. For another repeating failure, report its reference\. |
| <a id="feedback_queue_bounded"></a>`feedback_queue_bounded` | 403 | You reached an action outside the bound with a minted token that has the feedback\_queue grant and no super\_admin\. The grant limits its token to read\_feedback and settle\_feedback, whose `admits` marks list it, and each handler checks the grant\. The rows marked access: anonymous are outside the bound and serve the token as they serve every connection\. | Stay within this grant\. If you need to do more, ask the owner to act or approve the minimum access needed\. The refusal's `admitted` member lists the actions the bounded token can reach\. |
| <a id="feedback_rate_limited"></a>`feedback_rate_limited` | 429 | A feedback action, a recorded check, relay\_issue\_act, create\_space, rename\_space, or set\_ai\_passes with enable\_reviews true passed a bound\. One bound is the platform's own limit on one account's filings and checks in a minute, and on its feedback reads\. The others are the platform's cap on all accounts together, one token's relayed calls in a minute, and the relay's share of one space's rate\. They also include an account's space creations in a minute, its space renames in a minute, and the issue service's own rate on the platform's space\. For set\_ai\_passes with enable\_reviews true, the bound is the relay's share of one space's rate\. The detail gives which, in parentheses\. | Wait for the minute to turn, then repeat the request\. For feedback, reuse the same key so the service treats the request as a retry\. |
| <a id="file_dependency_not_sent"></a>`file_dependency_not_sent` | 409 | A `deploy_files` list holds no file at or under the path where the root package\.json's `dependencies` declares a library copy, `@turnzero/<name>`, as a `file:` path, and the platform fills none there, so the version would lack it\. The detail gives the remedy and why the platform cannot fill it\. Nothing was started\. | Use the cause in the detail\. Move a copy at an excluded or external path into a deployable path inside the application folder\. List the copy's files if the list only has excluded paths or if the library has no compiled modules\. If `packages` lacks the entry, list the files or add the library's served version to `packages` and record the manifest before retrying\. |
| <a id="fresh_authentication_required"></a>`fresh_authentication_required` | 403 | On the realm surface, an act arrived without the fresh authentication it needs\. Removing a passkey needs an assertion made for that removal\. Removing a passkey its device no longer has, reverting a passkey change, registering a passkey outside the sign\-in's offer, and deleting the account each need a fresh authentication within the last five minutes\. Under a native session, the deletion's fresh authentication is an authorization with prompt=login, its code exchanged at the token endpoint with the session's token as the bearer\. On a management action, a state\-changing action under the browser session arrived more than the freshness window after the sign\-in that created the session\. A page then shows a sign\-in link\. | To remove a passkey, send the removal with an assertion made for that removal\. For a passkey its device no longer has, a passkey change to revert, or a registration outside the sign\-in's offer, reauthenticate first, then repeat within five minutes\. Reauthenticate by start/&lt;provider&gt;?intent=reauth&amp;return=app, by email/start with intent=reauth, or by another passkey at passkeys/reauth\. To delete the account, request the deletion again right after a provider sign\-in, an emailed code, or a passkey assertion made for it\. On a native session, run an authorization with prompt=login, exchange its code at the token endpoint with the session's token as the bearer, then post the deletion again within five minutes\. Under the browser session, follow the sign\-in link the page shows, then repeat the action\. The read\_account action returns signed\_in\_at, the sign\-in instant the window runs from\. |
| <a id="function_count_exceeded"></a>`function_count_exceeded` | 422 | The zip or installed tree holds more files under `functions/` than the limit on a version's functions\. Every file there counts as one function\. The deploy start refuses an over\-limit zip before writing anything\. If the installed tree exceeds the limit, the version fails at `image_build`; nothing is stored and the serving version is unchanged\. | Move shared code from `functions/` into `lib/`, or remove functions, then deploy again\. |
| <a id="function_native_module"></a>`function_native_module` | 422 | A file ending `.node` is a native module that serverless functions cannot load\. If found under `functions/` or `lib/` in the zip, the deploy start refuses it before writing anything\. If found in the installed tree, the version fails at `image_build`; nothing is stored and the serving version is unchanged\. | Replace the native module or its dependency with JavaScript and deploy again\. If this work needs a server, ask the owner before choosing one, then create a separate server application and deploy there\. |
| <a id="function_tree_link"></a>`function_tree_link` | 422 | The function build refused a link that points outside the zip's root, at nothing or at a folder above itself, or the platform found a symbolic or hard link in the built tree\. The version failed at `image_build`; nothing was stored and the serving version is untouched\. | Remove the link at the path in the detail, or the dependency that creates it, then deploy again\. |
| <a id="function_tree_too_large"></a>`function_tree_too_large` | 422 | The installed tree's uncompressed file bytes, dependencies included and links followed, exceed the limit on a version's installed tree\. The version failed at `image_build`; nothing was stored and the serving version is untouched\. | Remove unused code or dependencies, then deploy again\. |
| <a id="function_tree_too_many_entries"></a>`function_tree_too_many_entries` | 422 | The installed tree has too many entries, counting files and folders together, including dependencies\. This is one platform limit for every plan, outside the plan quotas\. The version failed at image\_build without a build member\. Nothing was stored and the serving version is unchanged\. | Remove unused dependencies or files, then deploy again\. |
| <a id="grant_not_held"></a>`grant_not_held` | 403 | On mint\_token: the minting session does not have the grant you asked for\. The destructive and super\_admin grants are given only where the session has them\. The synthetic\_seed\_purge, synthetic\_estate, publication, and feedback\_queue grants are given only where the session has super\_admin\. The issues grant needs neither\. | Call mint\_token again without the grant in the refusal's `grant` member\. No request adds a grant your session lacks\. A person's browser sign\-in gives a session the destructive class\. Only the platform's own accounts have super\_admin, and synthetic\_seed\_purge, synthetic\_estate, publication, and feedback\_queue are minted only from a session that has super\_admin\. |
| <a id="grant_required"></a>`grant_required` | 403 | A credential the row does not accept reached a grant\-marked action, and the refusal gives the row's grant\. A row accepts a credential that has its grant or super\_admin, and one whose bounding grant the row's `admits` mark lists\. The same name refuses a credential without super\_admin on the application\-less builder form of invitation, list\_invitations, and configure\_app\_sign\_in\. On the queue form of read\_feedback, and on settle\_feedback's form for the platform's own space, it refuses a credential that has neither feedback\_queue nor super\_admin\. On relay\_issue\_act it refuses a credential with no issues grant\. On a seed of synthetic accounts it refuses one with access\_link from a credential without super\_admin\. A request to lift another account's lock with lift\_account\_delete\_lock requires super\_admin\. | If you meant your own application's realm, repeat invitation, list\_invitations, or configure\_app\_sign\_in with the application member set\. If you meant your own submissions, repeat read\_feedback without queue\. For relay\_issue\_act, mint a token with the issues grant for the space from your signed\-in session\. For lift\_account\_delete\_lock on your own account, omit subject\_account\. Otherwise nothing you do corrects this\. Only the platform operator reaches the action, from a session that has the grant, or with an account\-scoped token minted from that session with the row's grant\. |
| <a id="grant_scope_refused"></a>`grant_scope_refused` | 403 | On mint\_token, an application\-scoped mint asked for `super_admin` or a narrow grant: `synthetic_seed_purge`, `synthetic_estate`, `publication`, `feedback_queue`, `issues`, `tzmesh`, or `tztrack`\. | Call mint\_token again either with the scope set to the whole account or without super\_admin and the narrow grants among the requested grants\. |
| <a id="group_full"></a>`group_full` | 409 | The hosting cell's group for the environment is full\. A group can serve development, Shared 0\.5 GB production with sleep on or off, or dedicated application servers\. This can prevent deploy, deploy\_files, promote, a redeploy under the placement rule, or set\_app\_size\. Retry when the platform adds capacity or opens another group of that kind in the same cell\. Shared compute can use a container if the cell has no group that accepts the placement\. A dedicated server needs a dedicated group with room\. | Nothing you do corrects this\. Repeat the act once the platform's operator has raised the capacity of the group, or has set another group of that kind in the cell to accept placements\. |
| <a id="group_kind_mismatch"></a>`group_kind_mismatch` | 409 | The environment's placement row records a group of a different kind from its environment: a development row in a production group, or a production row in a development group\. This refuses deploy, deploy\_files, promote, a redeploy under the placement rule, and set\_app\_size\. No compute act runs, and the row's group is corrected in the placement registry before the act is retried\. | Nothing you do corrects this\. Report the refusal with its detail, and repeat the act once the platform's operator has moved the environment's placement into a group of its kind\. |
| <a id="health_gate_failed"></a>`health_gate_failed` | 502 | On deploy, promote, or restart: the candidate's health path did not return 200 on three probes in a row within the deadline\. So the candidate is deleted, and the serving compute and the previous version are untouched\. The history row ends failed with this outcome and a gate member: the probe ledger, the last response, what responded, the candidate's state, and its console's last lines\. | Read the detail first: it opens with the likely cause where the gate's evidence shows one\. Read the failed row with `read_status` or `list_versions`, where its gate member shows what responded, the candidate's state, and the console's last lines\. Where `outcome.gate.polls_200` is above zero and the candidate's state shows no restart, deploy again\. Deploy a new build after a code change\. After resolving a cause that needs no code change, repeat the failed deploy, promote or restart\. |
| <a id="health_path_undeclared"></a>`health_path_undeclared` | 400 | This manifest declares no health path where one is required\. A deploy, promote or redeploy needs it for the health gate\. submit\_manifest and check\_manifest also require it if either environment has a server, running or halted, or a server application's deploy, promote or redeploy is in flight\. | Add health to the manifest, submit it with submit\_manifest, then repeat the refused action\. |
| <a id="health_path_unserved"></a>`health_path_unserved` | 400 | On deploy: this is a server's first deploy, to an environment that serves no version, and no source file in the zip mentions the recorded manifest's health path\. Before any write, the deploy reads the text of the zip's source files for the path's last segment, leaving package files and documentation aside\. It runs nothing, so a comment that mentions the path passes\. No version row is inserted, nothing is built, and no deploy is counted\. After submit\_manifest the same upload starts, since a deploy runs under the recorded manifest, never the zip's manifest\.json; only changed code needs a new zip\. | Serve the health path from the source file that handles requests\. The first deploy check reads source text in the zip for the health path's last segment\. If a dependency serves the path, name it in a source comment\. A comment satisfies the source check\. The application still has to answer the deploy health check\.<br><br>If you change the source, rebuild the zip or update the submitted files\. If the zip's source text already holds a suitable path that the application serves, set the manifest's `health` to that path and record it with `submit_manifest`\.<br><br>After changing only the manifest, rerun the local check or repeat the refused deploy with the same artifact\. If upload start refused, read the environment's `pending_upload.retry` with `read_status` and make that call to start the existing upload\. If the source changed, prepare a new upload\. |
| <a id="identity_not_found"></a>`identity_not_found` | 404 | The signed\-in account holds no identity with the requested provider and subject\. Nothing is removed\. | Read the account again and choose an identity it still holds\. |
| <a id="image_build_failed"></a>`image_build_failed` | 422 | deploy: the image or function build of the artifact ended failed, or ran past its fifteen\-minute bound, so nothing was applied and the serving version is untouched\. The history row ends failed with this outcome and a `build` member: the build steps' own last lines, scrubbed of addresses, header values, and tokens\. | Read the failed row's outcome through read\_status or list\_versions: its build member's output\_tail shows the failing step, most often the dependency install\. Fix the artifact, such as its package\.json or its lockfile, and deploy again\. Where the detail says the build failed pulling the platform's base image, deploy the same zip again\. |
| <a id="image_expired"></a>`image_expired` | 410 | The picture you requested, saved without an application, reached kept\_until, the end of its 7\-day keep\. It is no longer served, even if the daily purge has not removed its row yet\. | Ask the image owner for a replacement\. The owner can use `generate_image` for a new picture\. Save a copy before `kept_until`, or have the owner generate into an application's storage if it should be kept until deleted\. |
| <a id="image_generation_busy"></a>`image_generation_busy` | 429 | This replica is already holding as many image calls as the platform allows at once\. Nothing was sent to the provider, and nothing was counted or saved\. | Repeat the request after a few seconds\. |
| <a id="image_generation_failed"></a>`image_generation_failed` | 502 | No image came back or none could be saved\. The provider failed or dropped the connection, the hold expired, the answer held no picture, or the store refused the file\. The call's place is given back and no charge is posted\. If the give\-back fails, it stays counted and uncharged, as the detail says\. The body gives `used`, `free_images`, `resets_at`, and `saved`, which is false\. | Repeat the request\. A repeat that delivers an image is free within the month's free images and charged past them\. While the account is paused, a repeat past its free images meets account\_paused\. Where this keeps happening, quote the reference with submit\_feedback\. |
| <a id="image_generation_limited"></a>`image_generation_limited` | 429 | This account has reached its limit on image calls that reached the provider in the last hour and delivered no image\. This request was not sent to the provider, counted, charged or saved\. The body gives `per_hour`, the limit, and `resets_at`, when to repeat\. | Wait until the instant in `resets_at` before trying again\. A prompt change is for a provider block\. The hourly count clears on its own window\. |
| <a id="image_generation_unavailable"></a>`image_generation_unavailable` | 503 | The platform cannot make images right now\. No file was saved\. Nothing was counted unless `detail` says the call stays counted\.<br><br>The platform has no key for this call, its key could not be read, it has no current price for the model, its monthly limit was reached, or the provider refused before any picture\. A provider refusal normally gives the image back; if that fails, the refusal's `detail` says it stays counted\. A call left counted is charged nothing\. | Read the detail\. If the platform cannot make images, wait for the operator to restore it\. If the provider refused the request, wait before trying again\. The detail says whether the image still counts when the provider refused it before saving a picture\. |
| <a id="image_not_found"></a>`image_not_found` | 404 | Your account holds no picture by this name, the picture was removed, or a link is for a different picture\. This refusal concerns pictures generate\_image saves without an application\. | Check the picture name or ask its owner for the link to the intended image\. The owner can use the picture name returned by `generate_image`\. If the picture is gone or its keep period ended, ask the owner for a replacement\. |
| <a id="incident_not_found"></a>`incident_not_found` | 404 | A staff write to the platform's incident record gave an incident that is not in it\. Nothing is written\. | Read the open incidents and the history from the platform's status, then repeat the request with an id from that answer, or omit the incident member to open a new row\. |
| <a id="insufficient_scope"></a>`insufficient_scope` | 403 | The OAuth access credential is valid for this service but lacks the scope required by the protected call; the challenge states the required scope\. | Start the OAuth authorization again from your tool and request the scope the challenge gives\. Renewing the existing token does not add a scope\. |
| <a id="internal"></a>`internal` | 500 | An unexpected error while responding\. Where the detail gives a reference, the error is recorded on the platform side under that reference\. The detail is a fixed sentence and never the error's own message\.<br><br>For sign\-in identity removal, failure ending the exchange's tokens before the removal removes no identity\. If ending them again fails after the transaction, the refusal is internal and the identities have been removed\. | For removal of a sign\-in method, read the detail first\. If no method was removed, request the removal again\. If the method was removed, sign in with a remaining method and use Sign out everywhere as directed\. The removal is complete\. If that control fails, report the failure and quote any reference the detail gives\.<br><br>For other calls, check what the detail says about the outcome\. Retry when the request is safe to repeat\. If the refusal repeats, report it and quote the reference its detail gives\. |
| <a id="interrupted"></a>`interrupted` | not fixed | The recovery sweep marked this pending action failed after it stayed in the executing state for more than thirty minutes; read it through read\_approval\_status\. The sweep runs once as the control plane starts, before it serves requests, and then every ten minutes\. An interruption does not prove that nothing changed, so inspect the current state before you request and approve another attempt\. A version\-history row also ends failed with this outcome when the control plane process running its deploy, promote, or restart ended before it finished; read\_status and list\_versions show it\. | Check read\_approval\_status and the subject's current state\. Wait for any original work to finish or be reconciled\. Request a new action and approve it in the browser only if still needed\. For a deployment, promote, rollback, or restart, read the version outcome before deciding whether to run it again\. |
| <a id="invalid_cursor"></a>`invalid_cursor` | 400 | The listing's cursor is not one the storage surface reads for this listing\. It is malformed or not one string, it belongs to another listing, its name lies outside the prefix or breaks the rules for reaching a stored name, or it predates the opaque cursor\. `list_storage_files` applies the same cursor check\. | List again from the first page, with no cursor, and pass back the cursor each page returns\. |
| <a id="invalid_redirect_uri"></a>`invalid_redirect_uri` | 400 | A redirect URI is outside the three accepted forms: a reverse\-domain custom scheme, https on one of the application's own hostnames, or loopback http\. At the authorization endpoint, the URI is not one declared for the client the request gives, or it is an https URI on the application's custom domain outside the identifier's span\. A presented URI must match a declared one exactly, character for character, except for a loopback URI's port\. | Use the redirect URI declared for this client\. Match the whole URI exactly, except the port on a loopback URI\. When declaring a URI, use a supported form without user information or a fragment\. If the manifest's `realm` lists this environment's clients, change the list and run `submit_manifest`\. Otherwise use `configure_app_sign_in`\. |
| <a id="invalid_request"></a>`invalid_request` | not fixed | The input is malformed or missing, and the detail gives the member\. Or the input has a NUL \(U\+0000\) or an unpaired UTF\-16 surrogate, and the detail gives the character\. This is the generic validation refusal of every surface\. On a management action, it also refuses a call that gives a member the action does not declare\. The detail lists that member, a nested one by its path, and every member declared at that place\. Where that list would pass the detail's budget, the detail gives each place's member count instead and points to the action's reference page, which lists them\. It also refuses a body the surface could not read, or a path segment whose escape does not decode, in the surface's own form, repeating nothing from the request\. On `create_space`, it also refuses a `space` deleted within the last 35 days, while its deletion marker remains, and nothing is created\. At a request for the `tzmesh` resource, and at the completion of its sign\-in, it also refuses a browser's prefetch, which holds no confirmation\. On `deploy_files`, a list entry with `content` under a path segment the zip leaves out is refused with `kept` and `refused`\. Its `kept` lists the content entries kept and each entry by `sha256` alone whose file the platform holds and could read as the refusal was built; `refused` lists the entries refused\.<br><br>Over HTTP, a value outside a bound an action's reference states is refused `invalid_request`\. Over MCP, your client's or the SDK's argument check runs first\. A rule checked only by the handler draws `invalid_request` on either route\. On the payment event route, a missing, malformed, invalid or stale signature, an unreadable event, or an event in the other mode receives the same refusal and changes nothing\. The detail discloses no class or request content\.<br><br>On `set_database_size`, the size is not one of its four values, production already has the requested size, or a dedicated size was requested for a serverless application\. A serverless application's database stays `database-shared`\. Nothing changes\.<br><br>The usual validation status is \(400\)\. On the builder's Allow page, a confirmation posted from outside the sign\-in page's origin or without a recent sign\-in receives \(403\)\. Browser checks can also return \(403\) when you confirm or cancel an approval, open or sign in to a test account, or cancel a builder connection\. A provider callback that uses a method the route does not accept receives \(405\)\. | Correct the member the detail gives, or send a member the action declares in place of one it does not; the detail or the action's reference page lists them\. Or remove the character the detail identifies\. Then send the request again\. For a deleted space's identifier, pass another `space`, or leave it out and the platform chooses one\. A refused prefetch needs nothing: the request is served when the person opens it\.<br><br>For payment events, the payment provider sends this request\. The platform operator checks the provider's delivery record and the platform's refusal record\. The response gives the same detail for every payment\-event validation failure\.<br><br>For a 403 on a browser confirmation, return to your tool and sign in again\. Use the confirmation page in the same browser with a recent sign\-in\. For a 405 on a provider callback, use the method its detail gives\. The provider sends that callback\. |
| <a id="invalid_token"></a>`invalid_token` | 401 | A protected call presents a credential that cannot authenticate to this service, and the WWW\-Authenticate header gives the standard OAuth error\. A missing credential gets no OAuth error parameter\. | For tool sign\-in, refresh the access token where available or sign in again\. For push or email, use the platform credential from the intended application's backend\. On a route that accepts an application\-bounded minted token, use one admitted by that route\. |
| <a id="invited_realm_refuses_work_account"></a>`invited_realm_refuses_work_account` | 409 | On `configure_app_sign_in`: an invitation\-only realm lists the work\-account route, `entra` or `oidc`\. The realm is invitation\-only through its creation mode or the manifest's invited audience\. | To keep invitation\-only sign\-in, leave `entra` and `oidc` out of `sign_in_methods` and keep another method the realm accepts\. If you intend to open sign\-up and the manifest allows it, set `creation` to `open`\. A manifest with `invited` as its audience keeps the realm invitation\-only\. |
| <a id="issue_refused"></a>`issue_refused` | not fixed | The issue service refused the act you relayed with relay\_issue\_act: for its content, the issue's state, a lease, or a record the act refers to that does not exist\. The status is the service's own, and the `refusal` member gives the service's refusal\. | Read the `refusal` member against the Issue Tracking contract\. Correct the original request or the issue state as its detail directs\. If the action needs approval, obtain it through that action's approval route\. Repeat the original action or relay, according to which one failed\. |
| <a id="issue_service_unreachable"></a>`issue_service_unreachable` | 503 | The issue service did not respond to a call the platform made for this action\. The transport failed, the call passed its time bound, the service returned a fault of its own or the router's quota refusal, or it refused the platform's own credential\. The detail gives the cause word in parentheses\. | Read the detail first\. If a write may have reached the issue service, check the current issue, space, or action outcome before retrying\. Retry when the read confirms the change did not take effect or the action documents a safe repeat with the original key\. Keep that key\. Retry a read after a short wait\. If the service or the platform's credential is unavailable, wait for it to be restored\. If you cannot confirm a write's outcome or the refusal continues, report the refusal with its reference through another route\. |
| <a id="issues_bounded"></a>`issues_bounded` | 403 | You reached an action outside the bound with a minted token that has the issues grant and no super\_admin\. The grant limits its token to list\_tokens and relay\_issue\_act, whose `admits` marks list it\. The rows marked access: anonymous are outside the bound and serve the token as they serve every connection\. | Stay within this grant\. If you need to do more, ask the owner to act or approve the minimum access needed\. The refusal's `admitted` member lists the actions the bounded token can reach\. |
| <a id="issues_level_refused"></a>`issues_level_refused` | 403 | The level of your token's issues grant does not allow the act\. On relay\_issue\_act, report files, follows, checks, and reads; contribute also works issues; owner reaches every act the relay passes on\. Below the owner level, an update whose fields set restricted to any value but true is refused too, because only the owner level lowers the mark\. Below the owner level, an update whose fields give alarm, with any value, is refused too, because only the owner level clears an alarm\. At the report level, a list that gives proposed, with any value, is refused too, because that selection reads proposals the level does not read\. On mint\_token, an account that is a member of a space is refused a level above the one the space's owner gave it\. | Use an act listed in `admitted`\. If your membership is `view`, use the tzTrack connection to read unrestricted issues\. Omit an owner\-only field when you can still make the desired update\. At the `report` level, leave `proposed` out of a list\. Mint within the level the space owner gave you, or ask that owner for the level you need\. |
| <a id="job_resource_capacity"></a>`job_resource_capacity` | 503 | This deployment would exceed a hosting cell's limit for job resources\. For a development deployment, the check also counts the jobs a promotion would add in production\. No deployment started\. The serving version is unchanged\. | If you can deploy without the new jobs, remove them from the manifest, submit the updated manifest, and deploy again\. Otherwise report this refusal and retry after the platform operator makes room\. |
| <a id="job_run_capacity"></a>`job_run_capacity` | 503 | The hosting cell is at its job run limit\. The request started no run\. | Wait a minute, then retry the start with the same `request_id`\. |
| <a id="job_run_in_flight"></a>`job_run_in_flight` | 409 | An active or recently ended job run may still be using this application's database\. The database size change or restore did not start\. | Read the run before retrying\. If it is still starting or running, wait for it to finish\. A run that Cloud began starting can still block the database request if it was cancelled, timed out or ended without a recorded provider execution\. For a retry estimate, add the job's timeout for that run plus three minutes to `requested_at`\. Cancelling a run before its timeout does not shorten this wait and can lengthen it\. Cancel only if the owner authorizes it\. Follow the database action's approval instructions\. |
| <a id="job_runs_at_limit"></a>`job_runs_at_limit` | 409 | The account already has three unfinished job runs\. The request started no run\. | Wait for one run to finish or cancel one you mean to stop\. Then retry the same start with the same `request_id`\. |
| <a id="job_script_missing"></a>`job_script_missing` | 400 | A job in the application's manifest uses a script missing from the ZIP's root `package.json`\. The deployment did not start\. To check the source files without deploying, call `deploy_files` with `check_only: true`\. `check_deploy` does not read the ZIP\. | Add the missing script to `scripts` in the root `package.json`, or change or remove the job and submit the updated manifest\. Rebuild the ZIP if its files changed\. To check the corrected files before deploying, use `deploy_files` with `check_only: true`\. |
| <a id="jobs_not_available"></a>`jobs_not_available` | 403 | This manifest declares the `job` kind on an estate where jobs are off\. A job runs a script to completion, and a schedule sends recurring requests to a handler\. The platform refused the call before writing anything\. | Remove the `job` entry and submit or check the manifest again\. If you need jobs, retry when the estate offers them\. |
| <a id="last_sign_in_method"></a>`last_sign_in_method` | 409 | After the requested removal, no identity would carry a verified address and have a route the builder realm serves\. Nothing is removed\. | Keep a usable method, or add and verify another and wait for its linking hold to end\. |
| <a id="level_invalid"></a>`level_invalid` | 400 | On submit\_manifest: the issue\_tracking entry gave a `space` and a `level` other than `report` or `contribute`\. That is `owner`, which no deployment can have, or a word that is not a level\. Or it gave `components` with a `level` other than `report`, or bound the platform's own space at a level other than `report`\. Nothing was recorded\. | Pass `report` or `contribute`, or leave `level` out for `report`\. With `components`, and for the platform's own space, pass `report` or leave `level` out\. Your wider reach to a space, such as settling and exporting, comes from an issues token minted with mint\_token, never from a deployment\. |
| <a id="library_entry_not_served"></a>`library_entry_not_served` | 409 | A `deploy_files` list left out a library copy that the root package\.json declares at a `file:` path\. The recorded manifest's `packages` row for it gives a version or an entry the library does not serve, so the platform cannot fill the copy\. The detail gives the row, the copy's path, and, where the library serves the entry, its served version\. Nothing was started\. | List the project's own copy of the entry in `files`\. If the person chooses the version the library serves, either take it with library take or set the manifest's `packages` row to that version without taking a local copy; then call submit\_manifest with the updated manifest and send the file list again\. Keep the root `package.json` declaration of the entry's `file:` dependency so the platform can fill the copy\. The version\-change routes are available only where the library serves that entry\. |
| <a id="local_route_required"></a>`local_route_required` | 409 | You called store\_secret with replace: true on the development scope with the platform\-minted name of the platform credential or the database credential, on a surface other than the HTTP wire route\. Such surfaces include the MCP tool, the dashboard, and a browser session\. They return no platform\-minted credential value, so the re\-mint was refused before any write\. The same call on the wire route re\-mints and returns the value once\. The line returned to the submit\_manifest call that turnzero provision prints makes that call and writes the environment file\. A call with no value returns the command that sends the value from your machine\. A `deploy` call on the MCP surface carrying `zip_sha256` is refused too, and nothing is prepared: the turnzero command sends it only on the HTTP action route\. A mint\_token call on the MCP surface with `code_verifier` is refused too, with nothing minted: the turnzero command presents it only on the HTTP action route\. A sign\_in\_test\_end\_user call on the MCP surface with `delivery` is refused too, and nothing is signed in\. The turnzero command sends it only on the HTTP action route, and a tool takes the line the call returns without it\. | To re\-mint a platform or database credential, run `turnzero provision --origin https://dev.turnzero.ai --application <application id>` with nothing piped\. Add `--origin` where your other lines include one, and make any call it prints\. To rotate your own secret, make the tool call without its value and run the returned command that reads and sends it locally\. For `deploy`, call `deploy_command` giving the application, and run the command it returns, or `command_windows` on Windows\. For an exchange\-only member of `mint_token`, run the Turn Zero line that the mint returned\. For test\-user sign\-in, leave `delivery` out of the tool call and run the returned sign\-in line, which writes the cookie jar\. |
| <a id="manifest_invalid"></a>`manifest_invalid` | 400 | On submit\_manifest: the manifest fails the manifest contract\. The violations give the failing paths, and a schema violation's detail gives the manifest\_schema:&lt;member&gt; read of each schema member they fall in, at most three\. A setting name the reserved\-name rule refuses is one such path\. So is an `upstreams` entry a rule of declare\_outbound\_api refuses, the violation giving that rule's error\. So is a listed storage area the minting route's rule refuses, its violation giving that rule's error\. On deploy or promote: a setting the recorded manifest binds has a name the reserved\-name rule now refuses, and the detail gives it\. | Correct the listed JSON paths or the setting in the detail\. If you ran `check_manifest`, repeat that check\. If you ran `submit_manifest`, submit the corrected manifest\. If its recorded settings blocked deploy or promote, record the corrected manifest and repeat the action that failed\. |
| <a id="manifest_missing"></a>`manifest_missing` | 409 | On deploy: no manifest is on file for the application\. Call submit\_manifest first\. | Record the manifest with `submit_manifest`\. When it completes, repeat the original deploy check or deployment\. |
| <a id="manifest_owned_field"></a>`manifest_owned_field` | 409 | On declare\_outbound\_api, configure\_app\_sign\_in, or configure\_push: the call would change something the application's recorded manifest sets\. That is an upstream listed in its `upstreams` member, a field set in its `realm` member, or a provider listed in its push entry\. The detail lists each field\. On declare\_outbound\_api with remove true, the recorded manifest's `upstreams` member lists the upstream, so it cannot be ended: neither a submission nor a call ends an upstream the member lists\. Nothing was written\. | Change the manifest\-owned field and submit the manifest, or remove that field from the manifest before changing it through its own action\. To end an upstream, remove its entry and record the manifest, then deploy a version that no longer calls it\. Promote if the app has development\. Once the version is serving in production, repeat the removal\. |
| <a id="method_not_allowed"></a>`method_not_allowed` | 405 | A mutating action was reached with GET, or a storage route with a method it does not serve\. Or the serving domain's apex or its www name was reached with anything but GET or HEAD of /\. | Use the method the refusal gives for that route\. Send a mutating management action with POST\. For storage, PUT declares an area, POST mints a transfer grant, and GET lists files\. GET or HEAD reads an account picture\. A file route accepts PUT, GET or DELETE\. On the service apex or its www host, use the application's own hostname\. |
| <a id="migration_busy"></a>`migration_busy` | not fixed | A serverless deploy, promote or rollback would exceed a limit on migration runs in its management service process or owning account\. Read migration\_busy and detail in the failed version row through read\_status or list\_versions; this is not the initiating call's answer\. This run opened no migration session and applied no file\. An earlier version keeps serving; otherwise nothing serves\. | After a moment, repeat the failed deploy, promote or rollback\. This refusal queues no migration run; the repeated act tries admission again\. Leave recorded migration files unchanged\. |
| <a id="migration_edited"></a>`migration_edited` | not fixed | A serverless deploy, promote or rollback found a migration file whose text differs from the hash recorded by the database\. Read migration\_edited and detail in the failed version row through read\_status or list\_versions\. This is not the initiating call's answer\. This migration walk committed no file\. The earlier version keeps serving\. Where none was serving, nothing serves afterwards\. | Restore the recorded file and add a new migration file for the change\. If only development recorded the file, clear\_development\_database can clear that database after browser approval\. Deploy again afterwards\. This walk rolls back its edited\-file check before any file runs, so it commits no migration\. Files committed by earlier runs remain applied\. |
| <a id="migration_failed"></a>`migration_failed` | not fixed | A serverless deploy, promote or rollback failed at migrations\. Read migration\_failed and detail in the failed version row through read\_status or list\_versions\. This is not the initiating call's answer\. Detail gives the file and SQLSTATE when available\. SQLSTATE 57014 means cancellation; a file can change the initial thirty\-second statement limit\. Other causes include a connection failure or ten\-second opening timeout, an oversized file answer, or the five\-minute run limit\. The session can also exceed 32 MiB received or a walk statement's 65,535\-row limit\. The earlier version keeps serving; where none was serving, nothing serves\. Committed files stay applied\. This error also covers an environment with no database\. | Read detail and query\_database\. For connection failures or run limits, repeat the failed deploy, promote or rollback; only absent files run\. For 57014, shorten the statement or retry after the lock is free\. For an answer or receive limit, remove large queries\. Split a file that cannot finish alone within five minutes\. Change only unrecorded files; otherwise add a new file\. If only development recorded it, clear\_development\_database can clear it after browser approval, deleting development data and migration records\. Wait for completion before editing\. Deploy changed files; with development on, deploy there, then promote\. For a ledger over 65,535 rows, report with submit\_feedback; never delete migration records to retry\. With no database, declare it or omit migrations, then deploy\. Rollback undoes no migration\. |
| <a id="migrations_too_large"></a>`migrations_too_large` | 400 | A serverless deploy or its check found too many declared bytes in the zip's migration records\. Each direct \.sql record under the root migrations/ folder counts by its larger compressed or uncompressed size\. Other files do not count toward this bound; the whole\-zip bound still applies\. The start checks refuse before any version row or write\. This is the initiating call's answer\. | Keep the migration records within the size limit and deploy again\. Migration files hold schema changes; put seed data elsewhere\. Do not edit a migration already recorded by the database: put later changes in a new file\. |
| <a id="migrations_without_database"></a>`migrations_without_database` | 400 | The start checks for a serverless deploy, or deploy\_files with check\_only, found \.sql migration files without a database declared in the recorded manifest\. The files are directly under the zip's root migrations folder\. Nothing was written\. check\_deploy reads no zip\. | Declare the database in the manifest and submit it, or leave the migrations folder out\. Check and deploy again\. |
| <a id="misdirected_origin"></a>`misdirected_origin` | 421 | Your request reached a public service without going through the platform's edge\. Behind the edge, every request must include the edge's profile identifier in its identifier header, and a forwarded host and scheme equal to the configured origin\. A request that does not is refused before any route runs\. The detail gives the forwarded host and scheme the service saw\. A request from an address of a hosting cell is refused the same way even when it has the identifier, and its detail gives that address\. The health reads, and the sign\-in requests the platform's serving router forwards for an application's end\-user realm, are exempt\. The check is off where no edge profile identifier is configured\. Where an estate sets a REST host, that host serves its own API path and nothing else, and that path is refused under any other host, the public origin among them; this holds with or without an edge profile identifier\. | Send the request through the platform's edge to the public origin the detail gives, <https://turnzero.ai> on production, and not to a service's own hostname\. The detail also gives the host and scheme the service saw\. Where the detail gives a REST host's address, call that address\. |
| <a id="move_refused"></a>`move_refused` | 409 | The application move or its later file removal is blocked\. detail lists the blocking cases and counts any that did not fit\. Nothing changed, and a refused move request creates no pending action\. | Resolve the listed cases, then repeat this action\. For settings\_not\_recorded, deploy first\. For before\_stale\_ceiling, wait until the instant given\. For no\_completed\_move, read read\_approval\_status through the Turn Zero Cloud connection as the requesting account\. Removal needs a completed or failed record with moved: true and files\. Do not start another move merely to obtain that record\. Settle an area\-name conflict before retrying removal\. |
| <a id="name_bound_to_proxy"></a>`name_bound_to_proxy` | 409 | The secret name is reserved for reading visitor addresses on the application's production custom domain\. declare\_outbound\_api, configure\_app\_sign\_in and configure\_push refuse it as a credential\. Deploy and promote refuse it as a bound setting\. Nothing was recorded or written\. | Store the credential or setting value under a different name with store\_secret\. Use that name in the upstream, realm or push configuration\. For a setting, bind the different name, submit the manifest again, then deploy or promote\. |
| <a id="name_bound_to_push"></a>`name_bound_to_push` | 409 | On declare\_outbound\_api or configure\_app\_sign\_in: the credential name is a push provider credential of this application's push configuration, which serves no upstream and no realm route\. On submit\_manifest, deploy, or promote: a `settings` entry binds such a name, and a push provider's credential is never bound into a process\. Nothing was recorded or written\. | Store the upstream's, the realm route's, or the bound setting's value under another name with store\_secret, and declare, configure, or bind that name\. A push provider's credential belongs to the push service alone\. For a binding, call submit\_manifest again, then deploy or promote\. |
| <a id="name_bound_to_realm"></a>`name_bound_to_realm` | 409 | On declare\_outbound\_api or configure\_push: the credential name is in the cell's realm vault, or is a realm's configured Microsoft Entra client secret, OpenID Connect client secret, or Apple signing key, which serves no upstream and no push provider\. On submit\_manifest, deploy, or promote: a `settings` entry binds such a name, and a realm's route credential is never bound into a process\. Nothing was recorded or written\. | Store the upstream's, the push provider's, or the bound setting's value under another name with store\_secret, and declare, configure, or bind that name\. A realm's client secret or signing key belongs to the realm alone\. For a binding, call submit\_manifest again, then deploy or promote\. |
| <a id="name_bound_to_setting"></a>`name_bound_to_setting` | 409 | On configure\_app\_sign\_in or configure\_push: a setting binds the secret the call gives, in the application's recorded manifest, in either environment's serving row, or in a deploy, promote, or restart in flight to either\. A realm's route credential or a push provider's credential is never bound into a process\. The detail gives the setting and where it is bound\. On those actions, a refusal before the write writes nothing\. A refusal after the write takes the call's credentials back, and any whose read then fails stays as recorded\. On submit\_manifest and create\_environment, a binding can be recorded after the check and feed a credential that the realm member or the push entry refers to\. Each such credential is then taken back where the record changed it\. A submission's manifest stays recorded, and its detail lists the realms, or the push configurations, done and those not\. | Store the secret under another name at the application's scope with store\_secret, then call configure\_app\_sign\_in or configure\_push again with that name\. A running copy keeps a binding until that environment's next deploy or promote of a manifest that no longer binds the name, and an act in flight keeps it until that act ends\. On submit\_manifest, store the secret under another name and change the member or the entry, or remove the binding, then submit the manifest again\. On create\_environment, do the same and submit the manifest, or remove the binding and call create\_environment again\. |
| <a id="name_bound_to_upstream"></a>`name_bound_to_upstream` | 409 | configure\_app\_sign\_in or configure\_push: the secret you gave is the credential of an upstream declaration bound to this application\. A realm's route credential or a push provider's credential cannot also serve an upstream\. | Store the secret under another name at the application's scope with store\_secret, then call configure\_app\_sign\_in or configure\_push again with that name\. The upstream keeps its own credential name\. |
| <a id="name_taken"></a>`name_taken` | 409 | create\_application and rename\_application: your account already has a live application by that name\. | Choose a readable name that no live application of your account uses, then repeat create\_application or rename\_application\. A name is freed when the application that uses it is deleted or renamed\. |
| <a id="never_deployed"></a>`never_deployed` | 409 | read\_logs or read\_counters: the environment you read has no deployed version\. For a container read, the environment has no compute, no record from a failed first health check, and no in\-flight version or upload that draws deploy\_in\_flight\. A read of local needs no deploy\. The `request_route` and `write_route` actions are refused with it where the environment you give serves no version, so there is no route to call\. | Put a version in that environment first, with deploy, or with promote for production on an application with two environments, then repeat the read, or the request\_route or write\_route call\. Where it gives a version whose deploy or promote failed, read the failure in read\_status's outcome for that version instead\. Where it points to development's kept lines, repeat the read with environment development\. |
| <a id="no_such_account"></a>`no_such_account` | 404 | share\_space: no account signs in with the address you gave, and nothing was written\. A member must be an existing account, matched by the address of its emailed\-code sign\-in, and nothing is kept for a later sign\-in\. | The address must belong to an existing account: ask its owner to create an account and sign in once with that address\. Then repeat the request with the address they sign in with\. |
| <a id="no_such_application"></a>`no_such_application` | 404 | The application is not in the acting account\. `set_database_size` and `restore_database` use this name where the account has no live application with that ID\. No move starts\. | If a platform credential identified the application, stop retrying and tell the application owner\. The credential is for an application that the acting account no longer holds\. There is no application ID to correct in the request\.<br><br>If an account\-mail sender entry identified the application, stop retrying and tell whoever manages that sender entry\. The entry points to an application that no longer exists\.<br><br>If the request gave an application id, check it against `list_applications` using an admitted management connection\. If you lack that connection, ask the application owner to check the id\. The turnzero command's computer\-token refusal also gives the acting account\. An id belonging to another account can be refused as `application_other_account`\. |
| <a id="no_such_end_user"></a>`no_such_end_user` | 404 | No end user by that identifier in the realm of the application the request gives\. | Check the end user's id and the environment against list\_end\_users for that application, then repeat the request with an id it returns\. |
| <a id="no_such_entry"></a>`no_such_entry` | 404 | read\_library: the name you gave is not in the served library, or the file you gave is not a file of that entry\. | Call read\_library to see the served entries, then repeat read\_library with a name from that list\. If you also passed file, repeat the read with the entry path the refusal gives, or read the entry without file first and take the path from its file list\. |
| <a id="no_such_file"></a>`no_such_file` | 404 | No file by that name exists in the area, or a put with If\-Match gave a name that does not exist\. Under an export's download grant, a stored file created after the export listed its files is refused the same way\. This also applies when a new grant is issued for an older export with no recorded time for its file list and you request a stored file outside the export's own folder\. `read_storage_file` also refuses a file name that is absent\. | Check the area's file listing for the path in the detail\. To create an absent name, send the put with If\-None\-Match: \*\. If a file has appeared, check its current version before any intended replacement\. Under an export's download grant, call `request_export` again and download the new export, which has the application's files as they are now\. |
| <a id="no_such_job"></a>`no_such_job` | 404 | `run_job` could not find that job in the version serving the chosen environment\. | Check the job name and the environment\. If the job is missing, declare it in the manifest and deploy the change\. For production on a two\-environment application, promote the version that declares it\. |
| <a id="no_such_job_run"></a>`no_such_job_run` | 404 | `read_job_runs` or `cancel_job_run` could not find that run ID for the application\. | List the job’s runs with `read_job_runs` and use a run ID from the response\. |
| <a id="no_such_schedule"></a>`no_such_schedule` | 404 | The application declares no schedule of that name for that environment\. | Read the environment's declared schedules with read\_schedules and repeat the request with one of the names it lists\. A schedule not in that list must be declared before it can run\. |
| <a id="no_such_version"></a>`no_such_version` | 404 | promote or roll\_back: the version you gave is not the number of a deployed version\-history row of the application, or that row was retired when its environment was deleted\. The `list_versions` action returns the rows a promote can take\. | Use `list_versions` to find a deployed version this action can use\. For promotion, use an eligible development version\. For rollback, use an eligible version earlier than the one serving production\. On an app with production alone, use an earlier production version for rollback\. |
| <a id="node_unavailable"></a>`node_unavailable` | 503 | A new dedicated production copy waited 15 minutes without getting a machine\. The production deploy, promote, restart or re\-creation during a size move ends as failed at `waiting_for_node`, and Turn Zero removes the new copy\. The version already serving production keeps serving at its current size\. The automatic redeploy pass skips that serving version for 24 hours if its latest redeploy failed this way\. | Try again later, or choose a shared size with `set_app_size`\. |
| <a id="not_found"></a>`not_found` | 404 | You gave a pending action, secret, operated account, token, connection, realm action's invitation, synthetic purge, or export that does not exist or is not yours \(the contract for the invitation; the contract for the connection\)\. For clear\_development\_database, the application you gave has no development database\. For query\_database, the environment you gave has no database\. For request\_export with download: true, the export's files are no longer in its export area\. For the four feedback actions, the `space` you gave is no issue space your account has, refused before any token is read\. On the realm surface, the session a revocation from the session list gives is no live session of the signed\-in end user\. On the device routes, the installation identifier matches no registration of the signed\-in user\. On the push surface, the request uses a path or a method under /push/v0 other than POST /push/v0/messages\. On the realm surface, the request uses a path or a method under /\_\_account/ that no realm route serves, the OpenID Connect discovery path among them\. For a staff read of a synthetic account's state, the `account` you gave is an id that belongs to no account, under `super_admin`\.<br><br>The dashboard picture route is unconfigured, the dashboard session does not verify, or the account has no tzMesh profile, person or picture\.<br><br>On the serving router, the serving serverless version has no file or function for the requested path and method\. A pool response can also report that its loaded version has no function for the path\. Nothing was run\.<br><br>On `set_database_size` or `restore_database`, the application has no production database: no database kind is declared, or no version has been promoted to production\. Nothing changes\. | Check the identifier against the listing for its kind: list\_secrets, list\_tokens, or list\_invitations\. For a pending action, a purge, an export, or a seeded or first\-sign\-in account, check it against the id an earlier response returned\. Then repeat the request with an identifier that belongs to your account\. For the feedback actions, pass a space that list\_issue\_spaces or submit\_manifest's receipt returns, or leave `space` out for the platform's own space\. On the realm surface, read the session list at GET /\_\_account/sessions and pass an id it returns\. For clear\_development\_database there is nothing to clear: a development database exists once a submitted manifest declares the database kind\. For query\_database there is nothing to read: an environment's database exists once a submitted manifest declares the database kind\. For a path no realm route serves, read the realm's endpoints at /\.well\-known/oauth\-authorization\-server on the hostname, which is served where the realm declares a client\.<br><br>For a support deployed\-files read, check whether the requested serving or previous version exists\. If the response says its image is no longer kept, tell the person that version's deployed files are unavailable\. If only the path is missing, list that version's deployed files and choose a path it returns\. For a support issue\-space read, choose a space the shared account holds and the support read covers\.<br><br>On the push surface, check the documented request method and path\.<br><br>The dashboard picture route takes no identifier\. Sign in if needed; without a picture, use initials\.<br><br>For a serverless route, check the path and method against the serving version's client files and functions\. Deploy missing code or files, or use a path that version serves\. |
| <a id="not_locked"></a>`not_locked` | 409 | No deletion lock matches the request for that account or application\. Nothing was lifted\. | Use `read_account` for the account's current lock or `read_status` for an application's\. Use `read_approval_status` to check the outcome of an earlier lift request\. |
| <a id="not_test_end_user"></a>`not_test_end_user` | 409 | A `read_test_signin_code` or `sign_in_test_end_user` call gave a user who is not an unexpired test end user of the request's realm, or a label that reaches none\. An `add_test_end_users` call with `remove: true` gave a user who is not a test end user of that realm\. Or a creation gave a label whose address another end user of the realm already has\. The deletion refuses whole and removes nothing; the read returns nothing; the sign\-in signs no one in; the creation creates nothing\. | Use an unexpired test end user of that realm\. Find one marked test in list\_end\_users, or create a fixture under an unused label with add\_test\_end\_users\. For an ordinary session, sign out through its normal flow\. Leave real user accounts in place\. |
| <a id="not_yet_provisioned"></a>`not_yet_provisioned` | 501 | An enumerated action this build or estate does not serve\. Either no build serves the action, or it needs a service the estate does not run\. The feedback actions, a recorded check, list\_issue\_spaces, create\_space, share\_space, list\_space\_members, delete\_space, rename\_space, and relay\_issue\_act need the issue service, as does submit\_manifest declaring the issue\_tracking kind\. | Read the action's page under the Management actions reference\. Where no build serves the action, call one the platform serves instead; no retry succeeds\. Where the estate runs no service the call needs, nothing you do corrects it until the estate serves that service\. |
| <a id="nothing_to_promote"></a>`nothing_to_promote` | 409 | promote: the request gives no version, and the development environment has no serving version, so nothing can be promoted\. Deploy to development first\. | Deploy to the development environment, then call promote again\. Or call promote with a deployed version number, which list\_versions returns\. |
| <a id="notice_not_published"></a>`notice_not_published` | 404 | The notice you requested has no file at `cloud/notices/<notice>.json` on the served site\. Nothing was sent and no account was claimed\. | Check the notice's name, or publish its approved words and audience file with the site\. Then call again\. |
| <a id="notice_unavailable"></a>`notice_unavailable` | 503 | The account sign\-in removal cannot send a notice because the control plane holds no mail sender\. No identity is removed\. | Try again after the platform restores its notice sender\. |
| <a id="notice_words_refused"></a>`notice_words_refused` | 409 | The notice's published file could not be read or failed its shape check; the detail gives the reason\. Nothing was sent and no account was claimed\. | Correct the reason the detail gives and publish the file again\. Get the developer's approval for any changed words or audience before sending\. |
| <a id="oidc_address_not_admitted"></a>`oidc_address_not_admitted` | 400 | The issuer or an endpoint in its discovery document fails the provider address checks\. The configuration is unchanged\. | Use your company's admitted HTTPS issuer and endpoints\. Ask the provider administrator to correct any endpoint in the discovery document, then configure the realm again\. |
| <a id="oidc_discovery_issuer_mismatch"></a>`oidc_discovery_issuer_mismatch` | 409 | The discovery document identifies an issuer different from the one in the request\. Issuer comparison is exact\. | Confirm the issuer with the provider administrator\. Use the provider's exact issuer address and have the discovery document identify that same issuer\. |
| <a id="oidc_discovery_unavailable"></a>`oidc_discovery_unavailable` | 502 | The service could not read a usable discovery document from the issuer\. The configuration is unchanged\. | Check the issuer and ask the provider administrator to make a usable discovery document available at that issuer\. Configure the realm again after the document is available\. |
| <a id="oidc_shared_issuer_refused"></a>`oidc_shared_issuer_refused` | 400 | The `oidc` configuration uses a shared issuer the platform recognizes from Google, Apple or a Microsoft sign\-in host\. | Use your company's own OpenID Connect issuer\. Use `entra` for Microsoft work\-account sign\-in\. |
| <a id="operator_account_fixed"></a>`operator_account_fixed` | 409 | The account selected for deletion holds an identity in the operator setting\. Nothing is deleted and no session ends\. | The operator removes the entries for this account's identities from that setting through a release's settings run\. Then request account deletion again\. |
| <a id="operator_identity_fixed"></a>`operator_identity_fixed` | 409 | The operator setting's identity is the one selected for removal, or the emailed\-code identity going with it\. Nothing is removed\. | The operator changes that setting first\. Then request removal again\. |
| <a id="option_not_set"></a>`option_not_set` | 503 | Today's charge for the option was posted or already recorded, but the option is still off\. The charge stays recorded\. | Retry the same option for the same application or space\. A retry on the same UTC day adds no charge\. For log retention, the application must still exist\. |
| <a id="passkey_not_sole_route"></a>`passkey_not_sole_route` | 400 | configure\_app\_sign\_in, or the manifest's realm member through it, gave passkey without email beside it: a passkey is the emailed code's shortcut and no route on its own\. | List email beside passkey, or leave passkey out of the set\. To remove email from a set that lists passkey, remove passkey with it; the realm's passkeys are dormant until both return\. |
| <a id="plan_quantity_unset"></a>`plan_quantity_unset` | 409 | The size's served quantity, or the unlimited plan's quantity, is Unset\. An Unset quantity is no row, or a row with no quantity, in the served quota table\. It is never read as zero, unlimited, or a default\. The refusal gives the quota key and measure\. It can refuse create\_application with that size, set\_app\_size onto it, database provisioning, and submit\_manifest declaring a schedule\. It also refuses deploy, promote, roll\_back and restart\_application before adding a version where the application's environment has a database\.<br><br>Push sends and email sends refuse for an unset quantity; for a size, email reads the hour and day cells\. An allowance call on the egress surface can refuse for an application on the unlimited plan, never for a size\.<br><br>The operator's placement on the unlimited plan refuses where a row for any entry Pro sets is absent or Unset, a served value's among them\. A served value's own reader reads an absent row as its default or as no bound\. The operator sets the quantity and records the pricing\-registry cell\. | Nothing you do sets the quantity\. Ask the platform operator to set the quantity for the quota key and measure the refusal gives, then repeat the request\. |
| <a id="plan_schedule_conflict"></a>`plan_schedule_conflict` | 409 | The target size's schedule rows, or the unlimited plan's on the operator's placement, do not admit the application's existing schedules\. The refusal lists each conflict with its bound\. Resubmit the manifest within the target's rows first\. Both sizes normally have the same count and interval; a move between sizes meets this refusal only where the operator has set their rows apart\. | Resubmit the manifest through submit\_manifest with schedules that fit the target's count limit and minimum interval, then repeat the call\. |
| <a id="platform_credential_unreadable"></a>`platform_credential_unreadable` | 502 | deploy or restart: the environment has an existing platform credential, and its value could not be read from custody\. The act is refused rather than run under a credential the platform cannot inject\. | For the development environment, run `turnzero provision --origin https://dev.turnzero.ai --application <application id>` with nothing piped, adding `--origin` where your other lines include one, and make any call it prints\. Its line re\-mints the development platform credential into custody\. Then repeat the deploy or restart that failed\. If the refusal repeats, report it with its detail\. For production, report it and quote its `reference` and `detail`; platform staff must restore the production credential\. |
| <a id="platform_minted_name"></a>`platform_minted_name` | 409 | A call used the name of a credential the platform minted for one of your account's applications\. The refusing calls are store\_secret, delete\_secret, configure\_app\_sign\_in, configure\_push, declare\_outbound\_api, and a `settings` binding at submit\_manifest, deploy, or promote\. The platform mints three: the database credential `database-<application id>`, the platform credential `credential-<application id>`, and the issue\-tracking token `issue-tracking-<application id>`\. The call was refused before any write\. On the egress surface, a call through a declaration that uses one is refused before any custody read, so no declared upstream presents a value the platform minted\. A platform\-minted name stays the platform's to rotate\. A realm's client secret or Apple signing key is a name you stored\. On the development scope alone, store\_secret with replace: true re\-mints the first two, never under a store or a rotate grant, and it refuses the issue\-tracking token at every scope\. The delete\_secret action refuses all three at every scope, since each ends with its environment, application, or account\. | Pass store\_secret a name of your own, and use that name in configure\_app\_sign\_in, configure\_push, declare\_outbound\_api, or a manifest binding\. To re\-mint a development credential, run `turnzero provision --origin https://dev.turnzero.ai --application <application id>` with nothing piped, adding `--origin` where your other lines include one, and make any call it prints\. Its line calls store\_secret with replace: true on the development scope\. To rotate a production credential, call promote, with rotate\_database\_credential true for the database credential\. A call refused at the gateway succeeds once the upstream is declared again under a name of your own\. Include the upstream's `sdk_settings` in that call, or omit the member, which keeps them; `sdk_settings` null removes them and ends the upstream's egress keys\. |
| <a id="platform_space_configure_refused"></a>`platform_space_configure_refused` | 403 | The request used the platform's own space in `relay_issue_act` with `configure`, or in `set_ai_passes` with `enable_reviews` true\. No credential level allows these configuration changes there\. Nothing was changed; the platform's operator configures the space\. | For `set_ai_passes`, omit `enable_reviews` to set only the option\. Every other act your credential's level allows still reaches the space\. The platform's operator makes any change to the space's configuration\. |
| <a id="pod_create_refused"></a>`pod_create_refused` | 503 | deploy, promote, or restart on the pod grain: the cluster refused to create the candidate's pod, so nothing ran to serve the health path\. The health gate ended once two consecutive reads found the refusal in place, rather than at its 180\-second bound\. The candidate is deleted, and the serving compute and the previous version are untouched\. The history row ends failed at the step health\_gate with this outcome and no gate member, since no pod existed to probe or read\. | Wait for the platform to clear the cluster failure, then repeat the failed deploy, promote or restart\. If it repeats, report the action's reference so the platform operator can read the cluster's reason\. |
| <a id="publication_bounded"></a>`publication_bounded` | 403 | You called an action outside the bound of a minted token that has the publication grant and no super\_admin\. The grant limits its token to the actions it marks, the two publishing actions\. The actions marked access: anonymous are outside the bound and serve the token as they serve every connection\. | Stay within this grant\. If you need to do more, ask the owner to act or approve the minimum access needed\. The refusal's `admitted` member lists the actions the bounded token can reach\. |
| <a id="publish_incomplete"></a>`publish_incomplete` | 409 | At the commit of a library publish, blobs the catalog lists are not in the store\. At the commit of a public\-files publish, versioned names the manifest lists are not in the container\. In both, the refusal's `missing` member lists the missing ones\. | Run `put` for each blob or file the refusal lists as missing, or that `begin` returned as lacking, then run `commit` again\. |
| <a id="publish_not_forward"></a>`publish_not_forward` | 409 | At the commit of a library publish, a source commit other than the served one gave a `served_commit` that is absent or stale, no longer the served commit\. At its begin, a catalog for the served commit differs from the one served\. Both refuse the publish\. At the begin or commit of a public\-files publish, the container's served version is newer than the committed one under the numeric triple comparison\. For the packages container the rule is read per package: a served package's newest version is greater than the incoming one, or a served package is absent from the incoming manifest\. At commit, the publish is also refused where the stable manifest's version moved between the read and the conditional write, so of two overlapping publishers one commits and the other writes nothing\. | For a library publish, read the served commit again, check the publishing commit descends from it, and commit with it as `served_commit`; publish a changed catalog from a newer commit\. Where the served version or commit is newer than yours, publish again from a trunk head ahead of it, keeping every served package in the manifest\. Where another publisher committed during yours, run `begin` again and then `commit` again, for the site container with the sequence `begin` now returns plus one\. |
| <a id="published_bytes_differ"></a>`published_bytes_differ` | 409 | A public\-files publish's begin, put, or commit: a versioned name already exists in the container with a different sha256 in its blob metadata\. The refusal gives the file\. A versioned file is never rewritten once published\. | Publish under a new version: a new release, a new package version, or a new site source commit\. Do not retry the same version with different bytes\. |
| <a id="purchase_limit_reached"></a>`purchase_limit_reached` | 409 | The account's purchases paid in this UTC day, plus the amount requested, exceed its daily limit\. No checkout was opened and nothing was charged\. | Request a smaller amount from the enumeration if it fits, or wait for the next UTC day\. |
| <a id="purchase_not_admitted"></a>`purchase_not_admitted` | 403 | The account cannot buy credit\. No checkout was opened and nothing was charged\. The reason identifies the admission check\. | For an unbilled account, credit purchases are not available\. For a flag, contact support\. For an open dispute, wait until it is settled\. A test\-mode site admits synthetic and operator accounts alone\. |
| <a id="purchase_rate_limited"></a>`purchase_rate_limited` | 429 | The account has reached the limit on credit purchase starts\. No checkout was opened and nothing was charged\. | Wait before starting another credit purchase\. Choosing a smaller amount does not avoid this limit\. |
| <a id="purchase_unavailable"></a>`purchase_unavailable` | 503 | The call was refused\. The site's purchase routes are closed, the provider failed, the provider's price differs, or another start replaced this one\. | Try again later\. With reason replaced, use the newer checkout or request a new one\. |
| <a id="push_not_declared"></a>`push_not_declared` | 409 | configure\_push or read\_push was called for an application whose recorded manifest declares no push service\. | Add \{"kind": "push"\} to the manifest's services and resubmit it with submit\_manifest, then repeat the request\. |
| <a id="query_failed"></a>`query_failed` | not fixed | query\_database: the statement or its session failed, and nothing was changed\. Where the server returned a SQLSTATE, at login or after, the status is 422, and the refusal includes `sqlstate` and the server's message, cut to 300 characters\. Among them are 42601 for a second statement or a SELECT INTO, 57014 for the 10\-second statement timeout, 53300 for the role's connection limit, 28P01 for a refused login, and 42P01 for an undefined table\. Where none was returned, as for a connect timeout, TLS, or the network, the status is 503 with a fixed sentence, and the platform retries nothing\. | For a 422, read `sqlstate` and the message and correct the statement: send one statement with no INTO, and narrow one that passes the 10\-second timeout with WHERE or LIMIT\. For 53300, call again once your application's pool frees a connection\. For 42P01, check the table name\. If you recently deployed migrations, use `read_status` to confirm the new version is serving before you query again\. For a 503, call again; where it repeats, or for 28P01, report it with submit\_feedback, quoting the reference\. |
| <a id="query_not_read_only"></a>`query_not_read_only` | 400 | query\_database: the statement's first word is not SELECT, WITH, VALUES, or TABLE, and the detail quotes the word\. Or the server refused a write the statement makes anywhere beneath it, in a function it calls or through nextval\(\) \(SQLSTATE 25006\)\. Or the cursor's declaration refused a data\-modifying WITH \(SQLSTATE 0A000\)\. Nothing was changed: the transaction is read\-only and always rolled back\. | Send a statement that only reads, starting with SELECT, WITH, VALUES, or TABLE\. Change data through your application's own code or migrations, deployed as usual\. Read a setting with current\_setting\('&lt;name&gt;'\) in place of SHOW\. |
| <a id="rate_capped"></a>`rate_capped` | 429 | The request reached a limit on the count for its window\. The limit can be on an application's logging batches per minute or on a source address's client registrations per hour\. The control plane and the router's admission limits count requests in the current UTC minute\. A page view of the site counts in a page window of its own, six hundred a minute\. A call to read\_library on the actions route counts in a library window of its own, four thousand a minute\. A call to search\_documentation presenting no credential counts in a documentation search window of its own, one hundred and twenty a minute\. Where no separate window or exemption applies on the control plane, the source window counts six hundred requests a minute\. A signed\-in approval or dashboard arrival spends no source window\. Across the six gateway routes for storage, egress, logging, push, email, and job start, requests that resolve to the same credential share a limit of six hundred requests per UTC minute, even when they come from different source addresses\. For admission, each of these requests counts only toward the credential's limit\. A presented value there that resolves to no credential counts in a window of its own for the source, six hundred a minute, apart from the source window\. On those routes, a request through the edge whose source is at that bound is refused before its credential is looked up, unless the gateway already has that credential\. On the deploy command's progress read, a read under its upload's started grant counts in a window keyed on that grant's identity\. A read there that presents anything else counts in the source window, which once full refuses the source before any lookup\. At the control plane, the admission window's refusal includes Retry\-After, the seconds to the next minute\. The serving router counts requests to one application on each router replica in the current UTC minute\. Anonymous requests count against their source address\. Signed\-in requests count against both the user and a separate limit for the source address's signed\-in requests\. The refusal comes before the request reaches the application\. `Retry-After` gives the seconds to the next UTC minute\. A `request_route` or `write_route` call counts in one window of their own for the acting account, sixty a minute\. A `check_app_sign_in` call counts in a window of its own for the acting account, ten a minute, and the accounts service counts the checks of each realm in a window of its own, ten a minute\.<br><br>For the dashboard picture route, an arrival without a verified dashboard cookie and current session uses the source window; an admitted arrival counts in its account's own window, sixty reads a minute\. | If the response gives `Retry-After`, wait that many seconds and retry below the limit\. For a request or logging limit without that header, retry below the limit when the next UTC minute starts\. For client registrations, wait until the earliest registration in the hour leaves that window\. |
| <a id="rates_unread"></a>`rates_unread` | 503 | The platform could not read the rates or charging switch needed for a new charge\. Nothing changed and nothing was charged\. | Try again shortly\. If the refusal repeats, report it with its detail\. |
| <a id="realm_check_unavailable"></a>`realm_check_unavailable` | 503 | check\_app\_sign\_in reached a platform service that cannot complete the realm check: the service that reads a realm's sign\-in credentials did not answer within twelve seconds, or did not accept the call\. Nothing was checked\. | Call check\_app\_sign\_in again\. read\_app\_sign\_in returns the realm's configuration meanwhile\. |
| <a id="realm_keys_unready"></a>`realm_keys_unready` | 503 | The accounts instance has not yet unwrapped the realm's key\-encryption key\. The re\-issue route refuses with it, and so does the token code's exchange, whose product token could not be signed for the same reason\. | If session renewal failed, try renewing the session again\. If token exchange failed, call `mint_token` again to start a fresh challenge, then run the line it returns once\. If the refusal repeats, report it with its reference\. |
| <a id="realm_not_declared"></a>`realm_not_declared` | 404 | The application declares no accounts kind, or no application that declares one has the forwarded host\. On the builder form of a realm action, the builder realm row is absent from the store, on an estate that has not yet run migration 0022\. On submit\_manifest, a realm ended between the submission's check and its record, so it was not configured\. The manifest stays recorded, and the detail lists the realms done and those not\. On create\_environment, development's realm ended while the act recorded the realm member\. | If the manifest lacks the accounts service, add it with `submit_manifest` and retry\. If the realm ended while the manifest was recorded, submit the manifest again\. If it ended during `create_environment` or `configure_app_sign_in`, repeat that call\. Use the production hostname until `create_environment` adds a development realm\. Report a missing builder realm to the platform operator\. |
| <a id="realm_vault_unregistered"></a>`realm_vault_unregistered` | 409 | configure\_app\_sign\_in: the application's cell registers no realm vault, so the client secret or the Apple signing key has no vault to move into\. | Nothing you do corrects this\. Report it to the platform's operator, whose register write fills the cell's row\. |
| <a id="recently_linked_hold"></a>`recently_linked_hold` | 409 | An identity bound within the last seventy\-two hours remains, and the requested removal is for an older one\. Nothing is removed\. The detail and hold\_ends\_at give the hold ending instant in ISO form\. | Wait until hold\_ends\_at, then request removal again\. |
| <a id="refund_not_admitted"></a>`refund_not_admitted` | 409 | This purchase is not eligible for this refund\. The reason and refund conditions explain the refusal\. This call requested no refund and removed no credit\. | For reason\_required, read conditions and supply a reason if the operator chooses to ask again\. For refunding, wait for the recorded refund; for refunded, stop\. Disputed, never\-paid or past\-reach purchases cannot be refunded here\. For `not_granted`, refund the payment manually at the provider, as the operator handbook describes\. For provider\_closed, the operator must reopen the estate’s payment routes before asking again\. |
| <a id="refund_refused"></a>`refund_refused` | 502 | The payment provider refused the approved refund\. The answer says whether removed credit was restored; a purchase changed by a dispute may prevent restoration\. | Read restored and the purchase state before deciding what to do next\. Keep provider\_status and provider\_code for diagnosis\. Do not retry blindly or clear a flag as a substitute for a refund\. |
| <a id="refused_platform_host"></a>`refused_platform_host` | 400 | declare\_outbound\_api, and the egress gateway at each call: the base URL's host is one of the platform's own, which no declared upstream can reach\. The platform's own hosts are its vaults, its storage accounts, its container registries, its own service hostnames, and the management and sign\-in endpoints of the provider the platform runs on\. The detail gives the host\. The refusal is by hostname and never by a provider's domain, so your own vault, storage account, or registry at the same provider is accepted\. | Choose a base URL on a host you control\. If the manifest lists your upstream, update its base URL in the manifest's `upstreams` entry\. Run `submit_manifest` to record the change, then deploy\. Otherwise, resubmit `declare_outbound_api` with the same upstream name and the new base URL\. In `declare_outbound_api`, omit `sdk_settings` to keep them\. Set `sdk_settings` to null to remove them and end the upstream's egress keys\. For a platform\-managed upstream, report the refusal to the platform operator\. |
| <a id="region_unavailable"></a>`region_unavailable` | 400 | submit\_manifest: the region is europe, uk, or global, which the schema accepts\. Only the usa region is offered during our introductory period, and any other value fails the schema as manifest\_invalid\. | Set the manifest's region to usa, then call submit\_manifest again\. Nothing you do makes another region available, because only the platform adds a region to the set it serves\. |
| <a id="request_too_large"></a>`request_too_large` | 413 | The request is over the surface's request bound, or over the bound a transfer grant accepts\. On the builder sign\-in, a client registration's declared body is over 16 KiB\. On every surface, the serving router among them, a body over the bound the surface's parser reads is refused the same way, the detail giving that bound\. | Reduce the request body to the byte bound the refusal detail gives, then send it again\. Keep a storage upload within the size its transfer grant accepts, and keep a client registration at sign\-in at or under 16 KiB\. |
| <a id="reserved_upstream_name"></a>`reserved_upstream_name` | 409 | declare\_outbound\_api was called with a reserved upstream name, ai\-allowance or issue\-tracking, which belongs to the platform and no account declares\. Choose another name\. | Declare the upstream under another name with declare\_outbound\_api\. To use the included AI allowance, call the platform upstream ai\-allowance without declaring it\. To reach the application's issue\-tracking space, call the platform upstream issue\-tracking without declaring it\. |
| <a id="restore_instant_before_server"></a>`restore_instant_before_server` | 400 | The requested time is before the dedicated server was created\. | Choose a time at or after the server creation time in the detail\. |
| <a id="restore_instant_before_serving"></a>`restore_instant_before_serving` | 400 | The requested time is before the production database began serving on its current server\. | Choose a time at or after the switch time shown in the detail\. |
| <a id="restore_instant_outside_window"></a>`restore_instant_outside_window` | 400 | The requested time is outside the 35\-day backup window\. | Choose a UTC time within the last 35 days\. |
| <a id="restore_instant_too_recent"></a>`restore_instant_too_recent` | 400 | The requested time is too recent for backups\. | Choose a UTC time at least five minutes ago\. |
| <a id="restore_not_dedicated"></a>`restore_not_dedicated` | 409 | You requested a restore of a shared production database\. | Ask support to restore a shared database\. |
| <a id="restore_serving_since_unknown"></a>`restore_serving_since_unknown` | 409 | The platform could not verify when the production database started serving on its current server\. | Ask support to check which restore times are available\. |
| <a id="retired_host"></a>`retired_host` | 421 | The hostname you sent the request to is one the platform retired\. The request is refused before any route runs, and the detail gives the current address\. A client that still uses the old name fails with a clear reason instead of working on it unnoticed\. | Change the address your client uses to the current address the detail gives, then send the request again\. |
| <a id="rotation_in_flight"></a>`rotation_in_flight` | 409 | store\_secret with replace: true, re\-minting the development database credential, waited for another re\-mint of the same role\. That re\-mint kept the role's lock on the cell server longer than the platform waits, so nothing was changed: the role keeps its password, and custody keeps its value\. | Wait for the other store\_secret with replace: true call to finish, then call store\_secret with replace: true again\. Each call returns its own value, and the value of the call that ends last is the one the role and custody keep\. A fresh provision line writes the value that remains: run `turnzero provision --origin https://dev.turnzero.ai --application <application id>` with nothing piped, adding `--origin` where your other lines include one, and make any call it prints\. |
| <a id="route_not_enabled"></a>`route_not_enabled` | 400 | The requested route is not in the realm's effective set, or its provider is not configured on this server\. The `sign_in_test_end_user` action returns it where the realm's effective set is empty, which allows no sign\-in, not even a test end user's, and nothing is signed in\. | Sign in through a route this application serves\. If you are the application's author, `read_app_sign_in` shows the configured methods\. Add a route using `configure_app_sign_in`, or change the manifest's `realm` and call `submit_manifest` where the manifest owns the methods\. For a workforce audience, use `entra` for the declared tenant ID or `oidc` for the exact declared issuer\. If the platform lacks a provider it needs, report that to the platform operator\. |
| <a id="route_set_contradicts_audience"></a>`route_set_contradicts_audience` | 409 | `configure_app_sign_in` was given a passwordless route or a work\-account route that disagrees with the workforce audience's declared Entra tenant ID or exact issuer\. | Call `configure_app_sign_in` with the workforce audience's matching route: `entra` for the declared tenant ID or `oidc` for the exact declared issuer\. To change who can sign in, update the audience or its declared tenant with `submit_manifest` first\. Include the matching `realm` route where its configuration needs to change\. |
| <a id="route_unreachable"></a>`route_unreachable` | 502 | A `request_route` or `write_route` call could not be completed\. Its managed hostname resolved to no address or to one outside public unicast, the connection or its TLS failed, or the call passed its 20 seconds\. The platform makes no connection to an address outside public unicast, and `reason` gives the cause\. | Where `reason` is `timeout`, `connect_failed` or `tls_failed`, check read\_status for a serving version and read\_logs for application errors\. For `write_route` after `timeout` or `connect_failed`, first read the resource with request\_route or inspect read\_logs; repeat only if that read confirms the write did not take effect\. A read or a `tls_failed` call may be repeated after those checks\. Where it is `no_address` or `address_not_public`, report it with the detail and the reference: the platform's own hostname did not resolve as it should\. |
| <a id="run_in_flight"></a>`run_in_flight` | 409 | A run of the schedule is still running\. A schedule has at most one run in flight, and a due time during it is skipped rather than queued\. | If you are retrying after a lost answer, repeat the call with the same `request_id` to read the earlier run\. To start another run, wait until `read_schedules` shows no run in flight, then call `run_schedule` with a new `request_id`\. |
| <a id="schedule_count_over_plan"></a>`schedule_count_over_plan` | 409 | The manifest declares more schedules than the size's `schedule-count-limit` row allows\. The refusal gives the first declaration past the count\. | Remove schedule declarations until the count is within the size's limit, then call submit\_manifest again\. Both sizes have the same count limit\. |
| <a id="schedule_interval_below_plan"></a>`schedule_interval_below_plan` | 409 | A declared schedule's consecutive due times are closer together than the size's `schedule-minimum-interval` row allows\. The refusal gives the declaration's path and the floor\. | Lengthen the refused schedule's cron expression to meet the size's minimum interval, then call submit\_manifest again\. Both sizes have the same minimum interval\. |
| <a id="schedule_not_deployed"></a>`schedule_not_deployed` | 409 | The environment has no version deployed or promoted at or after the schedule's declaration, so the schedule cannot fire there\. Deploy to it first, or promote to production on an application with two environments\. | Deploy to that environment, or promote to production on an application with two environments, then call run\_schedule again\. The read\_schedules action shows whether each schedule still awaits a deploy\. |
| <a id="scope_fixed"></a>`scope_fixed` | 409 | store\_secret gave a scope the name may not share with the scope it is at\. A name at an application's scope cannot move to the account scope or to another application's scope, and a name at the account scope cannot move to an application's scope\. An application's two environment scopes are the exception: each can have the name with its own value\. | Repeat the call with the scope that the refusal's scope, application, and environment members give, or store the value under a new name at the scope you want\. |
| <a id="secret_count_limit"></a>`secret_count_limit` | 409 | store\_secret would add a name to a scope that already has 100 counted names\. At an environment scope of an application, every name stored there counts, the platform's own included\. At the account scope, only the names you stored count\. Nothing was written, no grant was minted, and a grant the call presented stays unspent\. | Delete a name no longer needed there with delete\_secret, once nothing uses it, then store again\. Re\-supplying or rotating an existing name at that scope adds no name and does not meet this count limit\. |
| <a id="secret_exists"></a>`secret_exists` | 409 | store\_secret was called with generate for a name that already exists at that scope, whether its value was supplied or created\. A call with generate never replaces a value, so nothing was written\. | To replace a created value, store a new name with generate, bind the setting to it, deploy, then delete the old name with delete\_secret\. To supply a value of your own under the existing name, call store\_secret without generate\. |
| <a id="secret_grant_expired"></a>`secret_grant_expired` | 403 | The secret grant passed its expiry before its one write was made, so nothing was written\. The grant a `submit_manifest` call with `local_run` mints expires the same way: a `store_secret` with `replace: true` request under it after its expiry re\-mints nothing\. | Call `store_secret` from your tool again with no value to prepare a new command\. Keep `replace: true` if the original call prepared a rotation\. Run the new command before the expiry it states\. For the local run's line, run `turnzero provision --origin https://dev.turnzero.ai --application <application id>` with nothing piped, adding `--origin` where your other lines include one, and make any call it prints\. |
| <a id="secret_grant_not_admitted"></a>`secret_grant_not_admitted` | not fixed | The secret grant a `store_secret` call with no value mints serves the one write it records: the same action on the HTTP action route, with the grant's own name, application, and environment\. The grant a `submit_manifest` call with `local_run` mints serves two requests: `store_secret` with `replace: true` on that route, with no value, for the application's database credential and its platform credential at the development scope, each once\. Under either grant, every other surface, management action, and request is refused with this name \(403; a 401 challenge at the MCP server\) and uses nothing\. The exception is an action another rule refuses first\. The browser\-only action reads no credential, and an action that is switched off reads the grant and refuses with its switch's name; neither accepts the grant\. A provision grant claimed by its verifier is no grant anywhere else\. Every action but `store_secret` with `replace: true` over the wire, and every other surface, reads the verifier as a bearer that resolves to nothing, refused `authentication_required`\. The deploy command's progress read refuses it under that read's own name, `transfer_grant_not_admitted`\. | Run the command the preparing call returned once, as given: it makes the one write the grant allows\. For any other act, present the credential that surface accepts, for example a signed\-in session or a minted token on the management surface\. To write another name or at another scope, call `store_secret` with no value for that name and scope, and run the command it returns\. For the local run's grant, run the line the `submit_manifest` call returned, as given\. For a fresh one, run `turnzero provision --origin https://dev.turnzero.ai --application <application id>` with nothing piped and make any call it prints\. |
| <a id="secret_grant_spent"></a>`secret_grant_spent` | 403 | The secret grant's one use was already taken\. A grant serves one write, so a write under a spent grant is refused and writes nothing\. The `list_secrets` action shows when the name was last written\. Where the same line ran before and returned slowly, that earlier run took the use and may have written the value\. Where the refused write is the command's first run, another holder of the grant took that use, and the value in custody may not be yours\. The grant a `submit_manifest` call with `local_run` mints re\-mints once each credential local runs use: the platform credential, and the database credential where the manifest declares the database\. The platform credential's re\-mint spends it, and a second re\-mint of the database credential under it is refused by this name too\. Where the refused line is the command's first run, another holder of the grant made that re\-mint\. | Do not run the command again\. Where `list_secrets` shows no write at the time the command first ran, or that first run was refused this way, call `store_secret` from your tool again with no value\. Keep `replace: true` if the original call prepared a rotation\. Run the command it returns, which replaces the value under that name\. For the local run's grant, run `turnzero provision --origin https://dev.turnzero.ai --application <application id>` with nothing piped, adding `--origin` where your other lines include one, and make any call it prints\. Its line re\-mints the platform credential, and the database credential where the manifest declares the database, which ends the values an earlier re\-mint returned\. |
| <a id="secret_in_use"></a>`secret_in_use` | 409 | delete\_secret: something still reads the secret you gave, so its value may not end\. For an application\-scope name, a binding may feed it in the recorded manifest or in the serving row of the environment whose scope has it\. A binding in a deploy, promote, or restart in flight to that environment also counts\. Or an upstream declaration of the application uses it as its key\. Or the realm or the push configuration of the environment whose scope has it uses it now as a route credential\. A route of the other environment, and a value resting in the cell's realm vault after its realm came to use another name, are not uses, and the deletion ends that resting copy\. An account\-scope name is in use only where an upstream declaration of any of your account's applications uses it, since no binding and no realm or push route reads the account scope\. The detail lists each use\. The request is refused before any pending action, and a use made after the approval ends the pending action failed with this refusal\. Nothing was removed\. | End each use the detail lists, then call delete\_secret again\. Remove a binding from the manifest's settings, call submit\_manifest, and deploy or promote each environment whose running copy has the binding, once any act in flight with it has ended\. Point an upstream, a realm route, or a push configuration at another stored name with declare\_outbound\_api, configure\_app\_sign\_in, or configure\_push, or end an upstream the application no longer calls with declare\_outbound\_api and remove true\. |
| <a id="server_unavailable"></a>`server_unavailable` | 503 | submit\_manifest, promote, or deploy to production: the database cannot be provisioned\. No server of the application's hosting cell that accepts new databases has fewer databases than its bound while using under 70 percent of its storage\. Or an earlier run of the provisioning recorded a server that no longer accepts new databases, so the run cannot move to another server until that earlier run is removed\. On a promote or a production deploy, the history row ends failed with this outcome at its database\_pair step\.<br><br>On `set_database_size`, a move back to shared has no server in the application's cell that admits the database\. No database move starts\. | On `submit_manifest`, use `read_status` to check what the application records before repeating the request\. If an earlier setup is still running, wait for it and check again\. If its outcome is unclear or no server has room, report the refusal\. Repeat the submission only if setup is still needed and a server accepts new databases\. The owner can choose to request delete\_environment on development\. It removes the stopped setup on one environment or two and erases development data, credentials, files and logs\. Explain that loss before requesting browser approval\. Read the deletion outcome before recreating anything\. On two environments, call `create_environment` before submitting the manifest again\. On a promote or production deploy with an earlier setup, report the refusal so the platform operator can clear that run or reopen its server\. If there is no earlier setup, retry only after a server is available and the operation is still needed\. For `set_database_size`, repeat only if the change is still needed after the operator makes a shared server available\. |
| <a id="serverless_no_job"></a>`serverless_no_job` | 400 | On an estate where jobs are on, this manifest declares the `job` kind for a serverless application\. A job runs a script in the application's server image, and a schedule sends recurring requests to a handler\. The platform refused the call before writing anything\. | Remove the `job` entry and submit or check the manifest again\. To run a job, create a server application and declare the job there\. |
| <a id="serverless_no_websocket"></a>`serverless_no_websocket` | 400 | A serverless application cannot keep a WebSocket connection open\. The router refuses an upgrade and forwards nothing\. Manifest submission and checking refuse `websockets`; the recorded manifest stays unchanged\. | Use HTTP requests and remove `websockets` from the serverless manifest\. If the connection must stay open, ask the owner before choosing a server, then create a separate server application\. |
| <a id="serverless_not_available"></a>`serverless_not_available` | 403 | You requested serverless creation or a deploy or manifest call while that kind is not yet available\. The call was refused before any write\. | For creation, pass kind server or omit it\. For an existing serverless application, retry the deploy or manifest call when that kind is available\. |
| <a id="serverless_unsupported"></a>`serverless_unsupported` | 403 | A serverless application cannot use the requested function files, migrations, database or schedule services, egress hosts, size, sleep setting, or plan\. A serverless version needs functions for production database password rotation\. Nothing was recorded\. | Remove the unsupported files or declarations and try again\. For a serverless version without functions, omit `rotate_database_credential`\. If deploy start refused rotation, prepare a new `deploy_command` or `deploy` call without that member\. If the work needs a server, ask the owner before creating a separate server application\. A size, sleep or plan change cannot change the application's kind\. |
| <a id="session_credential_required"></a>`session_credential_required` | 403 | mint\_token can be called only under a signed\-in session credential: a minted token mints no token\. | Under a minted token, you need no new token for the storage routes, the keyed upstreams, and the action routes within its scope: the token you presented already serves them\. The logging routes and the platform upstream take a token bounded to an application, or its platform credential\. If your tool is connected by a minted token, set TURNZERO\_CLOUD\_MINTED\_TOKEN from where its token is kept, never by writing the value in a line, and TURNZERO\_CLOUD\_ORIGIN on another estate\. Then run the turnzero command's deploy or check line, since mint\_token takes a sign\-in session alone\. To replace a token nearing its expiry, mint another from the signed\-in session\. |
| <a id="setting_is_upstream_key"></a>`setting_is_upstream_key` | 409 | submit\_manifest, deploy, or promote: a `settings` entry binds a secret that an upstream declaration of the application gives as its key\. The egress gateway applies that key at its edge and never gives it to the application, so no binding may use it\. Nothing was recorded or written\. | Call the upstream through the egress gateway instead of reading its key, or store the value the code reads under another name and bind that name\. Then call submit\_manifest again, and deploy or promote again where the refusal came from one\. |
| <a id="setting_scope_refused"></a>`setting_scope_refused` | 409 | submit\_manifest: a `settings` entry binds a secret that exists at the account scope or at another application's scope, where no deploy of this application reads it\. A value stored at the account scope is applied only to a declared upstream's calls, and a name never moves between scopes; nothing was recorded\. | Store the value under a new name with store\_secret, giving this application and each environment, bind that name in the manifest's settings, and call submit\_manifest again\. |
| <a id="setting_secret_missing"></a>`setting_secret_missing` | 409 | deploy or promote: a setting the manifest binds gives a secret that is not stored at the environment's scope of the application\. The detail gives the setting and the secret, and nothing was written\. The refusal's `next` member is the `store_secret` call for that application and environment, with no value\. A deploy or promote whose bound name lost its entry after it started ends its row failed with this refusal\. A value whose entry exists but whose store does not respond is refused `bound_setting_unreadable` instead\. | Make the store\_secret call in the refusal's `next`; its response gives the line that sends the value\. A failed row has no `next`, so call store\_secret for the application and that environment\. Then deploy or promote again\. Or remove the binding from the manifest's settings, call submit\_manifest, and deploy or promote again\. |
| <a id="settings_too_large"></a>`settings_too_large` | 422 | On a deploy, promote, rollback or platform restart, the bound secret values and their setting names total more than 786,432 UTF\-8 bytes \(768 KiB\)\. The record ends failed at the declarations step before it changes compute\. The serving version stays in place\. | Store a smaller secret with `store_secret`, or remove a binding from `settings` and submit the manifest again\. Then retry the operation\. |
| <a id="setup_mail_production_only"></a>`setup_mail_production_only` | 409 | A setup\-email send or resend was requested on the development estate\. The email links production's origin, so production alone sends it; nothing was sent and no first\-send claim or resend attempt was written\. | For your own setup email, sign in on the production estate and use Resend on its Welcome page\. A staff send is the platform operator's, made on the production estate\. |
| <a id="signin_code_invalid"></a>`signin_code_invalid` | 400 | The sign\-in code is wrong, expired, superseded, or unbound, and the refusal does not say which\. The attempt is spent, and the sixth attempt ends the code\. The `sign_in_test_end_user` action returns it on its command route where the stored code did not confirm, or no code was stored, and nothing is signed in\. | Enter the code again in the browser that requested it while attempts remain\. If the code expired or its attempts ran out, start sign\-in again in that browser\. For tool\-based test sign\-in, repeat the test sign\-in call to request a fresh code\. If the test end user expired, create a new one with `add_test_end_users` before retrying\. |
| <a id="signin_code_rate_limited"></a>`signin_code_rate_limited` | 429 | An emailed\-code sign\-in start went past the per\-address send rate, the address's failure count for the hour, or the per\-realm or estate\-wide send ceiling\. The start that `sign_in_test_end_user` makes on its command route is refused the same way where the test end user's address reached the per\-address rate, and nothing is signed in\. | Wait for the hour to pass, then start the sign\-in again, because requesting another code sooner does not reset the count\. If only the per\-address send limit is too low, the app author can raise that limit with `configure_app_sign_in`\. The failure count and the realm and estate send limits still apply\. |
| <a id="signin_rate_limited"></a>`signin_rate_limited` | 429 | A sign\-in start went past a per\-source rate\. The rate is an end\-user realm's for its provider and emailed\-code starts, or the builder realm's per\-source window on emailed\-code starts\. Or it is one network source's share of emailed\-code starts an hour across every realm\. That share is a sixth of the estate\-wide ceiling as computed from the estate's sender quota, and the detail gives its number\. The start that `sign_in_test_end_user`'s command route, or the `test_end_user` of `request_route` or `write_route`, makes counts in the end\-user realm's rate under the caller's source address, beside the browser's starts, and is refused the same way past it\. | Wait for the applicable hourly window to admit another sign\-in attempt\. If you are on a shared network, you can also start again from your usual trusted network\. One network source's share of emailed\-code starts an hour across all realms is a sixth of the estate\-wide ceiling\. The refusal's detail gives the number when that share applies\. The application's author can raise that realm's configurable per\-source rate with `configure_app_sign_in` and `limits.signin_starts_per_hour`\. The passkey autofill window, the builder realm's rate and the estate\-wide share are fixed for callers\. |
| <a id="size_not_open"></a>`size_not_open` | 403 | A billed account requested Dedicated 4 GB or Dedicated 8 GB through `set_app_size`\. These sizes are open to unbilled accounts until they go on sale\. The current production size stays in effect\. | Keep the current size, or ask the account owner to choose an available size if they still want a change\. |
| <a id="slot_busy"></a>`slot_busy` | 409 | deploy, promote, or restart: the environment's previous compute could not be torn down after the routers' interval, or the candidate's compute slot still existed when the wait for its absence ended\. Nothing was applied, and the history row ends failed with this outcome\. | Repeat the deploy, promote or restart that was refused\. The retry waits for the previous compute or candidate slot to clear\. If the refusal repeats, read the environment with `read_status` and its platform events with `read_logs`\. |
| <a id="smoke_path_failed"></a>`smoke_path_failed` | 502 | deploy or promote: after the health gate passed, a path the manifest's smoke\_paths lists kept returning 404, a status of 500 or above, or nothing until 30 seconds had passed\. The candidate is deleted, and the serving compute is untouched\. The history row ends failed with a smoke member: the path, its response, the candidate's state, and the console's last lines\. | Read the failed row's `outcome.smoke` with `read_status`\. If you fix the route or application code, deploy the corrected build\. If you change `smoke_paths` alone, record the manifest with `submit_manifest` and repeat the failed deploy or promote\. |
| <a id="source_size_unknown"></a>`source_size_unknown` | 500 | The platform could not read the size of the dedicated production database server\. | Report the refusal to support\. A restore could not start\. |
| <a id="space_creation_ceiling"></a>`space_creation_ceiling` | 403 | Creating the space would exceed your account's space limit, and nothing was created\. Every account has a limit of five spaces\. A repeat that gives a space your account already owns returns that space as it is, whatever the count\. | Use a space your account already owns, or delete one you no longer need with delete\_space, which a person approves in the browser, then create the new space\. The limit itself is the platform's\. |
| <a id="space_not_owned"></a>`space_not_owned` | 403 | The request gave a space your account does not have, or cannot use as given, and nothing was recorded or created\. For mint\_token, it is a space the issues grant would include that your account does not have\. Or it is one space of an application's per\-environment pair, whose tokens the platform keeps per environment and not in its vault\. For relay\_issue\_act, from an account holding the profile the relay needs, it is a space your account neither has nor is a member of, whatever the credential, or one other than the space its token's grant is for\. For share\_space, from an account holding the profile it needs, it is a space your account does not have; a member of a shared space cannot share it\.<br><br>For delete\_space, it is a space your account does not own: one shared with it, at any level, or an identifier no space of yours uses; only the account that owns a space deletes it\. For rename\_space, it is a space your account does not own, in the same way; only the account that owns a space renames it\. For create\_space, the requested identifier is either unavailable on this platform or already in use by another owner\. For submit\_manifest, it is an issue\_tracking entry that gives a space your account does not have, or an application's own space, this application's or another's, which binds only through its own manifest\. The platform's own space belongs to the one account the platform sets as its owner\. | Pass a space that list\_issue\_spaces returns for your account, or an application's own space as submit\_manifest's receipt gives it, or create one with create\_space\. To reach another account's space, mint a token for it from a signed\-in session of the account that has it\. Work a space of an application's per\-environment pair through the feedback actions, giving `space`\. For a manifest, leave `space` out so the application gets a space of its own, or pass a space of your account's own\. |
| <a id="status_setting_unknown"></a>`status_setting_unknown` | 400 | You gave a setting the status record does not serve\. Nothing was written\. The status record serves these twenty\-nine settings: probe\_hostname, probe\_path, samples\_to\_open, samples\_to\_close, probe\_timeout\_ms, stale\_minutes, certificate\_floor\_days, error\_counter\_per\_day, schedule\_platform\_outcomes\_per\_hour, mark\_redeploy\_concurrency, console\_live\_tail, unlimited\_allowance\_daily\_signal\_usd\_micros, token\_code\_seconds, custom\_domains, invite\_only\_products, tzmesh\_front, tztrack\_front, tztrack\_billing, pricing\_model, serverless\_kind, image\_undelivered\_per\_hour, credit\_sales, account\_picture, dedicated\-database\-sizes, ai\_default\_model, ai\_default\_thinking\_level, openai\_challenge\_token\_tzcloud, openai\_challenge\_token\_tztools, and job\_kind\. | Use one of the names listed in the summary\. If the value breaks that setting's limits, the refusal is `invalid_request` and its detail gives the limits\. |
| <a id="store_unavailable"></a>`store_unavailable` | 503 | The plane's database did not respond to the credential lookup the guard runs, so the request was not processed; retry it\. On the storage, egress, and logging wires, the same refusal comes where the gateway had no entry within its stale ceiling\. On submit\_manifest, the control store failed while the manifest's upstreams were written after its record\. A write the failure followed is taken back where it can be, the manifest stays recorded, and the detail lists the upstreams declared, those not, and any left over\. A failure while the realm member or the push entry's providers are recorded, after the upstreams, takes nothing back\. What was recorded remains, and the detail lists the realms, or the push configurations, done and those not\. On the start\-line route, the line was not stored, and the workflow posts it again\. | For a transient refusal before processing, retry after a short wait\. If `submit_manifest` was processed in part, resubmit the same manifest to finish declarations, realms and push configuration before the next deploy or promote\. If the detail says no status record is bound, report it to the platform operator so the binding can be restored\. |
| <a id="subject_is_caller"></a>`subject_is_caller` | 409 | A staff suspension was given the calling credential's own account\. A suspension ends its sessions, revokes its exchange tokens, refuses its other credentials until reinstatement, and stops its serving\. Suspending your own account would end the session you would call its reinstatement under\. The standing is not written, and the serving walk does not run\. | Pass the account you mean to suspend\. To stop your own account's service, ask another operator account to suspend it\. |
| <a id="synthetic_account_fixed"></a>`synthetic_account_fixed` | 403 | An identity or a passkey tried to join a synthetic account, or an identity tried to leave it, and was refused\. A synthetic account has exactly the identities its seed bound and signs in through the emailed\-code route alone; an access\-link account signs in through its link alone\. The refusing sites are the route for removing an identity, the route for linking an identity, the link ticket, the add\-a\-route start and its callback, the same\-address interrupt ahead of its choice and its code and link exits, and the passkey registration routes\. | Nothing corrects this: a synthetic account gains no identity and no passkey\. Sign in on the emailed\-code route with the fixture address the seed bound, its code read through the staff read of a synthetic sign\-in code\. An access\-link account signs in by its link alone\. Its seeded identities cannot be removed\. |
| <a id="synthetic_ceiling_reached"></a>`synthetic_ceiling_reached` | 409 | A count that the synthetic\-account mode, or the synthetic\_seed\_purge grant, bounds is reached\. At a seed, the count is the existing synthetic accounts, or the accounts this operator's account seeded in the current UTC day\. At create\_application or set\_app\_size for a synthetic\-owned application, it is the existing synthetic applications, or those whose stored plan is not Free\. Under the synthetic\_seed\_purge grant, a seed also meets that grant's own ceiling: sixteen existing synthetic accounts that the calling credential seeded\. An account seeded under that grant can hold one application at shared\-0\.5gb\. A second application, or creating or moving one to shared\-1gb, is refused\. The ceiling paid\_applications\_per\_account refuses the larger size and counts applications whose stored plan is not Free\. The refusal gives the ceiling and its value\. | Read the `ceiling` member\. For a daily ceiling, wait for its daily window to reset\. For a count of live synthetic accounts, wait for unused accounts to expire or ask an authorized operator what can be removed\. For the one\-application grant ceiling, use the existing application while it counts\. For `paid_applications_per_account`, use or keep shared\-0\.5gb\. The grant and mode ceilings are fixed\. |
| <a id="synthetic_estate_bounded"></a>`synthetic_estate_bounded` | 403 | You called an action outside the bound of a minted token that has the synthetic\_estate grant and no super\_admin\. The grant limits its token to the actions it marks and to the actions whose `admits` mark lists it, list\_tokens and submit\_feedback\. The actions marked access: anonymous are outside the bound and serve the token as they serve every connection\. | Stay within this grant\. If you need to do more, ask the owner to act or approve the minimum access needed\. The refusal's `admitted` member lists the actions the bounded token can reach\. |
| <a id="synthetic_estate_disabled"></a>`synthetic_estate_disabled` | 403 | A write of the synthetic estate, a seed or a purge, arrived while the control plane's SYNTHETIC\_ESTATE mode reads off, and was refused ahead of every other check\. While the mode is off, the two actions are not listed as tools\. The reads remain available: a purge's progress, a sign\-in code, and the reads of existing synthetic accounts\. The platform's own lifetime sweep purges expired batches regardless\. A stranded estate is purged after the mode is set\. | Nothing you call sets the mode, so ask the platform's operator to set it to compat or stress, then repeat the request\. Meanwhile the reads of a purge's progress, a sign\-in code, and existing synthetic accounts still work\. |
| <a id="synthetic_posture_refuses"></a>`synthetic_posture_refuses` | 403 | An act that the synthetic\-account mode in force, or your bounding grant, does not allow\. The cases are a seed whose count is past the mode's per\-call bound, or whose token\_expires\_in\_days is past the mode's expiry bound\. They also include all: true on the purge outside the stress mode, or from a credential a synthetic grant bounds\. Under the synthetic\_seed\_purge grant, a seed of more than one account, a seed whose token lives past one day, or a seed that passes products, tools\_plan, or app\_hosting\. The refusal gives the bound\. | Repeat within the mode's bounds — a smaller count, a shorter token\_expires\_in\_days, explicit accounts in place of all — or ask the platform's operator to set the stress mode\. Under the synthetic\_seed\_purge grant, seed one account for one day and leave products, tools\_plan, and app\_hosting out: no mode widens that grant's bounds\. |
| <a id="synthetic_seed_purge_bounded"></a>`synthetic_seed_purge_bounded` | 403 | You called an action outside the bound of a minted token that has the synthetic\_seed\_purge grant and no super\_admin\. The grant limits its token to seeding and purging synthetic accounts and reading a purge, the three actions whose `admits` mark lists it\. The actions marked access: anonymous are outside the bound and serve the token as they serve every connection\. An action another grant marks refuses with grant\_required first\. | Stay within this grant\. If you need to do more, ask the owner to act or approve the minimum access needed\. The refusal's `admitted` member lists the actions the bounded token can reach\. |
| <a id="target_environment_halted"></a>`target_environment_halted` | 409 | promote, roll\_back, run\_schedule, run\_job, deploy, restart\_application, and a change of size or sleep setting by set\_app\_size, or the operator's placement, that changes production's group or grain: the environment the act targets is halted\. Call `halt_environment` with `resume: true` to end the halt, and then the act can run\. A deploy to halted production is refused; a deploy to halted development ends the halt itself, whereas restart\_application never ends either environment's halt\. | For a deploy to halted development, repeat the deploy to end that halt\. For other actions, have an authorized account connection call `halt_environment` with `resume: true` for the target environment before repeating the original action, such as promote, roll\_back, run\_schedule or restart\_application, or a change to size, sleep or placement\. |
| <a id="test_end_user_sign_in_unavailable"></a>`test_end_user_sign_in_unavailable` | 503 | request\_route or write\_route with test\_end\_user, or the command route of sign\_in\_test\_end\_user, which the turnzero session line calls, reached a platform service that cannot sign a test end user in\. Nobody was signed in and nothing was requested\. | Sign the test end user in at the realm's sign\-in page with its fixture address, reading the code with read\_test\_signin\_code, as step 3 or step 5 of read\_documentation's page /guides/test\-sign\-in\-with\-test\-end\-users/ does, then send requests with that session\. |
| <a id="test_end_users_ceiling_reached"></a>`test_end_users_ceiling_reached` | 409 | add\_test\_end\_users with labels would pass one of its bounds: twenty unexpired test end users existing on the realm, or fifty test end users created by the application's realms within the hour\. Nothing is created, and the detail gives the bound\. | Read which limit the refusal gives\. At the realm's active\-fixture limit, use fewer labels or remove unused test end users with `add_test_end_users` and `remove: true`\. At the hourly creation limit, wait for capacity in that window\. Removing active fixtures does not change the hourly count\. |
| <a id="test_end_users_disabled"></a>`test_end_users_disabled` | 403 | add\_test\_end\_users with labels, sign\_in\_test\_end\_user, or request\_route or write\_route with test\_end\_user was called while the control plane's TEST\_END\_USERS setting reads off\. While it reads off, no new test sign\-in code is held\. Earlier codes remain readable until expiry or until their attempts are spent\. The realm's test sign\-in page returns not\_found\. The read\_test\_signin\_code action and add\_test\_end\_users with remove: true still work, so you can remove test end users\. | Nothing you call turns the setting on: ask the platform's operator to turn it on, then repeat the request\. Meanwhile, remove the test end users you no longer need with add\_test\_end\_users and remove: true\. |
| <a id="test_end_users_not_admitted"></a>`test_end_users_not_admitted` | 409 | A minted token without the `test_end_users` grant called add\_test\_end\_users, read\_test\_signin\_code, `sign_in_test_end_user` \(for its line or on its command route\), or request\_route or write\_route with `test_end_user`\. It called on a production realm, or on a workforce application's realm\. The account's session and a token carrying the grant are accepted on every realm\. The detail gives the credential it read and the remedy\. | Mint a token with the `test_end_users` grant with mint\_token, which the person claims with token claim, and call under it\. The account's browser\-signed MCP session works on the supported tool routes\. A command executes under its own token, which needs the grant on the protected realms even when the session prepared its line\. Adding a development environment is no remedy: it lasts, and every later deploy goes through it\. |
| <a id="token_code_refused"></a>`token_code_refused` | 403 | mint\_token's exchange on the HTTP action route under a token code, the one\-time code a mint puts in its line, is refused\. The code is unknown, expired, or already presented, by an earlier run of the line or by another party\. Or its verifier does not match, the body has more than `code_verifier`, the account is suspended, or the session that minted it has ended\. One refusal, alike in name, status, and detail, covers every such state, so it says nothing of whether a code existed\. Every presentation there that the platform finds spends the code\. The held form is the exchange under the verifier with the mint's id in the body\. There a body with more than `mint`, an id outside its form, an unknown, ended, or expired row, or a challenge the verifier does not match is the same refusal with nothing spent\. A match spends the row, so a suspended account or an ended session read after it leaves the row spent\. | With a live signed\-in connection, call `mint_token` again with the challenge the Turn Zero command printed\. Run the line it returns once, as given\. If you already know the issuing session ended, sign in again before minting\. If the account is suspended, wait for the platform operator to restore it\. |
| <a id="token_scope_refused"></a>`token_scope_refused` | 403 | An application\-bounded minted token was used on a subject of another application\. This also refuses `mint_token` when the caller presents an application\-bounded token\. The same refusal applies to such a token on the application\-less builder\-realm form of invitation, list\_invitations, or configure\_app\_sign\_in\. It also applies on every form of the four feedback actions, which take no application, and on declare\_storage\_area with remove true for an area outside its reach\. On declare\_outbound\_api with remove true, it refuses every application\-bounded token, since only the account's own credential ends an upstream\. | For a request scoped to an application, check that the action and its subject match the intended application\. Use a credential already authorized for that task\. An account image saved outside an application needs the account owner's access\. If the current credential cannot perform the intended task, ask the owner to act or approve the minimum access needed\. |
| <a id="transfer_grant_expired"></a>`transfer_grant_expired` | 403 | The transfer grant passed its expiry, and its minter must mint another\. A deploy upload's grant allows its start only before its expiry\. | For an ordinary transfer, get a new grant for the same area, file and direction\. For an export download, request its download again and run the returned line, which skips local files already present\. For a deploy, first read `read_status` for the deployment and its `pending_upload`\. If the same upload has a `retry`, use it\. If no deploy started and the existing upload cannot start, call `deploy_command` with the application, naming no environment, and run the line it returns from the application folder\. If you hold only the command, ask the person monitoring it to check\. |
| <a id="transfer_grant_not_admitted"></a>`transfer_grant_not_admitted` | not fixed | The transfer grant object storage mints serves its one file act and is refused by name everywhere else \(403; a 401 challenge at the MCP server\)\. An export's download grant serves only `GET` of a file by its name: its export's own files, and its application's stored files created by the time its export listed them\. A stored file created later is refused with `no_such_file` under it, as an absent name is, and not with this refusal\. An older grant with no recorded time for its export's file list gives this refusal for a stored file outside the export's own folder\. Ask for a fresh grant\. A deploy upload's grant also serves its upload's one start on `deploy`, giving its own application, the environment its preparing call recorded, and upload\. After that start, it serves the deploy command's progress reads of its own deploy inside their window, and the progress read refuses by this name every other credential and that grant before its start\. | Present the grant only on the one file route it covers, PUT or GET /storage/v0/areas/\{area\}/files/\{name\}, in the direction it was minted for\. Under an export's download grant, read a file by its name, never a listing, the deploy area, or another application's area\. Where a stored file the export's manifest lists is refused by this name, call `request_export` with `download: true` again and run the line it returns\. For any other act, present the credential that surface accepts, for example a signed\-in session or a minted token on the management surface\. A deploy upload's grant starts only its own upload and then reads only that deploy's progress, as the turnzero command does under the grant its preparing `deploy` call returns\. To read a deploy under your own credential, call `read_status`\. |
| <a id="transfer_grant_spent"></a>`transfer_grant_spent` | 403 | The upload grant was spent by a write that landed, or, rarely, by a refused write whose hand\-back of the spend failed, which wrote nothing\. An upload grant serves one write\. A deploy upload's grant is also spent by a later preparing call of `deploy` for the application, which replaces the upload\. Its one start on `deploy` spends it too, a start the platform refused included\. A deploy upload's grant returns 200 for its zip sent again after its write landed, writing nothing, until it expires and unless a later deploy call replaced the upload, and refuses other bytes\. | For a file grant, check the existing write\. Mint a new grant only for a new write\. For a deploy grant, use `read_status` to read the existing deploy if it started\. If the same upload appears in `pending_upload` with a `retry`, make that call\. If the previous upload was replaced or never landed and no deploy started, call `deploy_command` with the application, naming no environment, and run the line it returns\. If you hold only the command, ask the person monitoring it to check\. |
| <a id="tzmesh_bounded"></a>`tzmesh_bounded` | 403 | The call is outside the `tzmesh` grant's bound on this token\. The token can call the actions the grant allows\. It can also call `list_tokens` to read its own token, `submit_feedback` to file a report, and anonymous actions\. It can call no other action of the account\. The refusal gives the grant and the allowed actions\. | Stay within this grant\. If you need to do more, ask the owner to act or approve the minimum access needed\. |
| <a id="tzmesh_required"></a>`tzmesh_required` | 403 | `mint_token` requested the `tzmesh` grant for an account without tzMesh\. Nothing was minted\. The token code's exchange gives this refusal too if the account no longer has tzMesh\. While `invite_only_products` lists `tzmesh`, the invite group's members and operator accounts have tzMesh\. | Your account must have tzMesh before you can make this request\. Call `read_account` to see your account's products\. While `invite_only_products` lists `tzmesh`, tzMesh comes with a tzTeam invitation\. Once `tzmesh` leaves that list, every account has it\. |
| <a id="tztrack_bounded"></a>`tztrack_bounded` | 403 | The call is outside the `tztrack` grant's bound on this token\. The token can call the actions the grant allows, `list_tokens` to read its own token, `list_issue_spaces`, `submit_feedback`, and anonymous actions\. It can call no other action of the account\. A token issued by a sign\-in's exchange can also call `share_space`, `list_space_members`, `create_space`, `rename_space`, and `delete_space`\. A token minted with `mint_token` cannot call those five actions\. The refusal gives the grant and the allowed actions\. | For a tzTrack action that needs sign\-in, sign in to tzTrack from your tool\. Stay within this grant for account actions\. Ask the owner to act or approve the minimum access needed\. |
| <a id="tztrack_required"></a>`tztrack_required` | 403 | The account does not hold the tzTrack product profile, `tztrack`, which opens its issue spaces; every account holds it by the product rule\. On create\_space, share\_space, list\_space\_members, rename\_space, and relay\_issue\_act it refuses every call after the dispatcher's text check and ahead of the request's form, the space's owner, and the token's level, nothing created or relayed\. A connected tool lists none of the five to the account\.<br><br>With enable\_reviews true, set\_ai\_passes checks this licence before any charge or option change\. A connected tool still lists set\_ai\_passes\.<br><br>On mint\_token it refuses a token asking for the issues grant\. It refuses a token asking for the tztrack grant the same way, at the mint and at the code's exchange\. On the egress gateway it refuses a hosted application's call through its binding to a space of its account\. | Every account holds tzTrack by the product rule, so no act adds it\. Repeat the request; read\_account lists the products the account holds\. |
| <a id="undeclared_area"></a>`undeclared_area` | 404 | No area by that name is declared for your account, on a file route, the grant mint route, or mint\_upload\_grant\. Declare it with PUT /storage/v0/areas/\{area\} or declare\_storage\_area, or list it under areas in the manifest's object\_storage entry\. `list_storage_files` and `read_storage_file` also refuse an undeclared area\. | Declare the area first with declare\_storage\_area or PUT /storage/v0/areas/\{area\}, or list it under areas in the manifest's object\_storage entry and submit the manifest, then repeat the file request or the mint\. Check the name against list\_storage\_areas, which lists the areas the account has declared\. A name beginning `export-` or `deploy-` is the platform's and is never declared: choose another name\. |
| <a id="unknown_action"></a>`unknown_action` | 404 | No action by that name in the contract version, or none at this address\. Where another address serves the name or its successor, the detail and the address member give it\. | Use the tool name your connection lists for the action\. If the detail gives several successors, choose the one for the input form you used and include any mode it gives\. For a direct HTTP call, use the action's listed address or the refusal's `address`\. If an older Turn Zero command called a retired action, update the command as shown and rerun the original line\. |
| <a id="unknown_environment"></a>`unknown_environment` | 400 | deploy on the HTTP API: the environment given is neither development nor production, the platform’s two\. Over MCP, the argument’s own validation refuses such a value before the call\. | Pass `development` or `production`, or pass none: the deploy then goes to production on an application with one environment and to development on one with two\. With two, a version reaches production through promote\. |
| <a id="upload_hash_mismatch"></a>`upload_hash_mismatch` | 409 | The bytes a write sends under a deploy upload's grant, or the stored file the upload's start reads, are not the zip whose SHA\-256 the turnzero command's preparing `deploy` call gave as `zip_sha256`\. A refused write writes nothing and leaves the grant unspent, and a refused start deploys nothing\. | If the write refused the bytes, a live unspent grant can still send the exact bytes it was issued for\. If the archive changed or the stored upload's start refused its hash, prepare a new upload for the correct ZIP\. Call `deploy_command` with the application, naming no environment, and run the line it returns from the application folder\. |
| <a id="upload_not_found"></a>`upload_not_found` | 404 | deploy: the upload the call gives has no file that its own grant wrote\. It was not uploaded yet, its grant expired unused, a later preparing call replaced it, or a deploy that has ended already read it\. The command's start under the upload's grant is also refused with it before the grant's write lands\. | If the detail says the deploy has no deploy area, use an artifact in the application's own area\. If a deployment already read the upload, read its outcome with `list_versions`\. If the upload is missing and nothing has started, call `deploy_command` with the application, naming no environment, and run the returned line from the application folder\. |
| <a id="upstream_key_is_bound"></a>`upstream_key_is_bound` | 409 | declare\_outbound\_api: a setting binds the credential name, in the bound application's recorded manifest, in either environment's serving row, or in a deploy, promote, or restart in flight to either\. Its value is then injected into the container, and a key the gateway applies at its edge never is\. The detail gives the setting and where it is bound\. Refused before the write, nothing was written; refused after it, the write is taken back, or remains as written where the detail says so\. On submit\_manifest, a binding recorded after the submission's check feeds an entry's credential once the entry is written\. That write is taken back where it can be, the manifest stays recorded, and the detail lists the upstreams declared, those not, and any left in place\. | Store the upstream's key under another name and declare the upstream with that name\. Or remove the binding from the manifest's settings and call submit\_manifest\. Then deploy or promote each environment whose running copy has the binding, once any act in flight with it has ended, and declare the upstream again\. Include the upstream's `sdk_settings` in that call, or omit the member, which keeps them; `sdk_settings` null removes them and ends the upstream's egress keys\. Where the detail says the declaration remains, declare it again with another credential name, or remove the binding\. On submit\_manifest, change the entry's credential\_name or remove the binding, then submit the manifest again before the next deploy or promote\. |
| <a id="usage_over_quota"></a>`usage_over_quota` | 429 | The application is over its stored\-data ceiling, or a push send would pass its month's push quantity\. No size meets this refusal for backend actions or data transfer\. A file put to an area bound to an application whose stored\-data state is over is refused\. So is deploy\_files with a file, keeping nothing\. A generate\_image call with that application is refused before counting or sending anything to the provider, saving nothing\. Gets, lists and deletes continue\. Stored data clears at the next successful daily check that reads it within the ceiling, or at a raised quantity\. On the push surface, a send past the size's push\-messages\-capacity cell accepts nothing\. | If you are using the application, report the refusal to its owner\. For stored data, identify the quantity in the detail and preserve needed data before removing anything\. Wait for the next daily check\. For push, wait until the next UTC month starts\. A larger size raises neither quantity\. For other limits, follow the detail\. |
| <a id="user_suspended"></a>`user_suspended` | 403 | The end user is suspended in this realm until reinstatement\. The `sign_in_test_end_user` action returns it for a suspended test end user, and nothing is signed in\. | Nothing the end user does lifts the suspension\. If you are the application's author, restore the user's standing with set\_end\_user\_standing and standing active; the user can then sign in again\. |
| <a id="version_already_serving"></a>`version_already_serving` | 409 | roll\_back: the version given is already production's serving version\. A re\-mint of the production platform credential is a production deploy's or `promote`'s act, not `roll_back`'s\. | Call roll\_back with a different deployed version\. For a server on two environments, promote the serving version to re\-mint production's platform credential\. For a serverless version with functions, deploy a new version and promote it instead\. On a server with one environment, deploy again to re\-mint the credential for the new version\. |
| <a id="version_client_pruned"></a>`version_client_pruned` | 409 | promote and roll\_back refuse a version whose published client files were removed by retention\. The refusal comes before either action writes anything\. | Use list\_versions to choose a version marked promotable that the requested action can use\. For roll\_back, choose an earlier production version\. If you have the artifact, deploy it again as a new version\. |
| <a id="version_image_pruned"></a>`version_image_pruned` | 409 | A promote or rollback refuses a version whose image retention has marked for deletion or already removed\. The mark makes the version unavailable while the image still exists\. A restart returns this code when retention has removed the serving version's image\. Restart takes no version number\. The cell registry keeps the images of the serving version and the twenty most recent deployed versions per environment\. These acts reuse a deployed image and cannot run without it\. The `list_versions` action returns `promotable` per row\. A new deploy builds a new version\.<br><br>For a serverless version, retention deletes the client files and, where it holds functions, the installed tree\. A promote or rollback of that version is refused by this name\. A serverless restart reads no image and does not return this refusal\. | For promote or roll\_back, choose a version that list\_versions marks promotable, or deploy the artifact again as a new version\. For restart\_application, deploy again to build a new version\. On an application with two environments, promote the new version for production\. |
| <a id="version_keeping_unsupported"></a>`version_keeping_unsupported` | 400 | version\_keeping true refuses at v0: the surface retains no prior versions\. | Send the declaration again with version keeping declared false \(version\_keeping: false in declare\_storage\_area\)\. No setting of yours turns version keeping on at this version\. |
| <a id="version_newer_than_serving"></a>`version_newer_than_serving` | 409 | roll\_back: the version given is newer than production's serving version\. | On an app with development, use `promote` and its checks to put an eligible newer version into production\. On an app with production alone, deploy that code again\. |
| <a id="version_reused"></a>`version_reused` | 409 | A library publish's begin: an entry of the catalog keeps a version the served catalog already has under a different closure hash\. A version identifies one set of bytes, so the begin writes nothing\. The refusal gives the entry, the version, and both closure hashes, each only where it has a valid form\. | Bump the entry's version and run the publish again from `begin`, or restore the entry's bytes to the served closure\. Do not retry the same version with different bytes\. |
| <a id="work_account_routes_conflict"></a>`work_account_routes_conflict` | 409 | The realm's sign\-in methods include both `entra` and `oidc`\. One work\-account route can be enabled for a realm\. | Choose the work\-account route to enable and submit the sign\-in methods with that one route\. |

### Members

Beyond the six base members, a refusal of a management action carries the members this table lists for it and no other. Each is optional: a body that omits one is still a valid refusal. A refusal with no row here carries the six base members alone.

| Refusal | Member | Type | Description |
|---|---|---|---|
| `account_credential_required` | `scope` | object with `kind`, `application` | The bound of the token presented: a token minted for one application, under which halting production is refused\. |
| `account_not_synthetic` | `accounts` | array of string | The account ids the request gave that exist and are not synthetic, as you wrote them\. The list is never empty\. |
| `account_outside_batches` | `accounts` | array of string | The account ids the request gave that lie outside your reach, as you wrote them\. The list is never empty\. The member is left out where the request repeated a request\_id another credential's purge carries\. |
| `account_outside_batches` | `grant` | string | The synthetic grant that bounds your credential, present on the purge's refusal\. |
| `action_address_moved` | `address` | string | The action's own address for a bearer call\. |
| `area_scope_refused` | `scope` | object with `kind`, `application`, `grant` | The reach of the credential presented: the whole account, or the one application a token is bounded to, with the bounding grant where one bounds it\. |
| `artifact_area_mismatch` | `kept` | array of object with `path`, `sha256` | On a `deploy_files` list whose entries are refused one by one, each entry kept and each entry by `sha256` alone whose file the platform holds and could read as the refusal was built, in the list's order\. A retry gives each by its `sha256`\. |
| `artifact_area_mismatch` | `refused` | array of object with `path`, `error`, `received_sha256` | On a `deploy_files` list whose entries are refused one by one, each refused entry, in the list's order\. The list is never empty, and its first entry is the one the detail cites\. |
| `artifact_not_found` | `kept` | array of object with `path`, `sha256` | On a `deploy_files` list whose entries are refused one by one, each entry kept and each entry by `sha256` alone whose file the platform holds and could read as the refusal was built, in the list's order\. A retry gives each by its `sha256`\. |
| `artifact_not_found` | `refused` | array of object with `path`, `error`, `received_sha256` | On a `deploy_files` list whose entries are refused one by one, each refused entry, in the list's order\. The list is never empty, and its first entry is the one the detail cites\. |
| `binding_refused` | `application` | string | The id of the application the existing upstream of that name is bound to, which is not the application this declaration gave\. |
| `command_too_old` | `minimum_version` | string | The floor: the oldest command version, `turnzero-cloud` or `turnzero`, whose flows this plane still serves correctly, as `<major>.<minor>.<patch>`\. |
| `creation_contradicts_audience` | `audience` | string | The audience the application's manifest declares, invited at this refusal\. |
| `creation_contradicts_audience` | `creation` | string | The creation mode the call gave, open at this refusal\. |
| `credit_flag_held` | `flag` | object with `purchase`, `cause`, `shortfall`, `shortfall_micros`, `flagged_at`, `cleared_at`, `cleared_by`, `cleared_reason` | The account's credit flag and any recorded clearing\. |
| `custody_entry_missing` | `client_secret_name` | string | The secret name the call, or the manifest's realm member, gave as the Microsoft Entra or OpenID Connect client secret, the Apple signing key, or the push provider credential, for which custody holds no entry at the application's scope\. |
| `custody_entry_missing` | `application` | string | The id of the application whose realm the call, the submission, or create\_environment configures, and at whose scope the entry was looked up\. |
| `custom_domain_capacity` | `bound` | integer | The estate's bound on custom domains, the count of rows that hold or may hold a provider resource its apps edge admits at most\. |
| `custom_domain_invalid` | `domain` | string | The declared hostname\. |
| `custom_domain_invalid` | `reason` | string | Why the hostname is refused: apex \(no label before its registrable domain under the Public Suffix List\), reserved \(a platform name\), public\_suffix, or held\. Held means another row of the platform's table holds the name, a detaching or failed row among them, or the application's own row has another domain or is detaching\. |
| `custom_domains_not_yet_served` | `hostname` | string | The declared hostname\. |
| `declared_audience_contradicts_route` | `audience` | string | The audience the submitted manifest declares, invited at this refusal\. |
| `declared_audience_contradicts_route` | `environment` | string | The environment whose existing realm's sign\-in methods include the work\-account route, development or production, the first one found\. |
| `declared_audience_contradicts_route` | `sign_in_methods` | array of string | The sign\-in methods configured for that realm, including the conflicting method, entra or oidc\. |
| `declared_tenant_contradicts_route` | `tenant` | string | The workforce Entra tenant ID or issuer address declared in the manifest\. |
| `declared_tenant_contradicts_route` | `configured_tenant` | string | The tenant ID or pinned issuer address of that environment's configured work\-account route\. |
| `declared_tenant_contradicts_route` | `environment` | string | The first environment whose realm's work\-account route disagrees with the declaration, development or production\. |
| `delete_locked` | `delete_lock` | object with `reason`, `set_at` | The reason and set time of the lock that blocked this deletion\. For account deletion this member is present only when the account itself is locked\. The development purge omits this top\-level member and lists the blocking locks in `locked_applications`\. |
| `delete_locked` | `locked_applications` | array of object with `application`, `label`, `delete_lock` | The applications whose deletion locks blocked this account deletion or development purge\. |
| `deploy_files_hash_mismatch` | `kept` | array of object with `path`, `sha256` | On a `deploy_files` list whose content entries are refused one by one, each content entry kept and each entry by `sha256` alone whose file the platform holds and could read as the refusal was built, in the list's order\. Files that passed, and those earlier calls kept, are held now, and a retry gives each by its `sha256`\. |
| `deploy_files_hash_mismatch` | `refused` | array of object with `path`, `error`, `received_sha256` | On a `deploy_files` list whose content entries are refused one by one, each refused entry, in the list's order\. The list is never empty, and its first entry is the one the detail cites\. |
| `deploy_files_syntax_error` | `kept` | array of object with `path`, `sha256` | On a `deploy_files` list whose content entries are refused one by one, each content entry kept and each entry by `sha256` alone whose file the platform holds and could read as the refusal was built, in the list's order\. Files that passed, and those earlier calls kept, are held now, and a retry gives each by its `sha256`\. |
| `deploy_files_syntax_error` | `refused` | array of object with `path`, `error`, `received_sha256` | On a `deploy_files` list whose content entries are refused one by one, each refused entry, in the list's order\. The list is never empty, and its first entry is the one the detail cites\. |
| `deploy_files_too_large` | `limit` | string | `files` means over 200 entries; `file_bytes` means an inline file over 512 KiB\. `total_bytes` means listed and filled files exceed 4 MiB total, or a stored file's byte count differs from its earlier metadata\. |
| `deploy_files_too_large` | `kept` | array of object with `path`, `sha256` | On a `deploy_files` list whose content entries are refused one by one, each content entry kept and each entry by `sha256` alone whose file the platform holds and could read as the refusal was built, in the list's order\. Files that passed, and those earlier calls kept, are held now, and a retry gives each by its `sha256`\. |
| `deploy_files_too_large` | `refused` | array of object with `path`, `error`, `received_sha256` | On a `deploy_files` list whose content entries are refused one by one, each refused entry, in the list's order\. The list is never empty, and its first entry is the one the detail cites\. |
| `device_sign_in_bounded` | `grant` | string | The grant that bounds the credential, device\_sign\_in\. |
| `device_sign_in_bounded` | `admitted` | array of string | The rows the bound admits on this plane, the grant's own rows and those whose admits mark lists it\. |
| `egress_key_not_admitted` | `credential_kind` | string | The kind of the credential refused, egress\_key at this refusal\. |
| `end_user_credential_not_admitted` | `credential_kind` | string | The kind of the credential refused, end\_user at this refusal\. |
| `feedback_queue_bounded` | `grant` | string | The grant that bounds the credential presented\. |
| `feedback_queue_bounded` | `admitted` | array of string | The actions the bound admits, in the enumeration's order: the rows the grant marks and the rows whose admits mark lists it\. The rows marked access: anonymous lie outside the bound and are not listed\. |
| `grant_not_held` | `grant` | string | The requested grant the minting session does not itself hold\. |
| `grant_required` | `grant` | string | The grant the action requires and the credential does not hold\. |
| `grant_scope_refused` | `grant` | string | The grant requested for an application\-bounded token, which carries neither super\_admin nor a narrow grant\. |
| `image_generation_failed` | `used` | integer | The account's images counted this UTC month: delivered images and calls whose give\-back failed\. |
| `image_generation_failed` | `cap` | integer | The former plans\-model limit\. Current responses omit this member\. |
| `image_generation_failed` | `resets_at` | string | The first instant of the next UTC month, as an ISO 8601 instant\. |
| `image_generation_failed` | `saved` | boolean | False: no image was saved\. |
| `image_generation_failed` | `free_images` | integer | The account's free images for this UTC month\. |
| `image_generation_limited` | `per_hour` | integer | The setting's number of image calls that reached the provider and delivered no image in the trailing hour\. |
| `image_generation_limited` | `resets_at` | string | The instant the oldest counted call leaves the trailing hour, as an ISO 8601 instant\. |
| `invalid_request` | `kept` | array of object with `path`, `sha256` | On a `deploy_files` list whose content entries are refused one by one, each content entry kept and each entry by `sha256` alone whose file the platform holds and could read as the refusal was built, in the list's order\. Files that passed, and those earlier calls kept, are held now, and a retry gives each by its `sha256`\. |
| `invalid_request` | `refused` | array of object with `path`, `error`, `received_sha256` | On a `deploy_files` list whose content entries are refused one by one, each refused entry, in the list's order\. The list is never empty, and its first entry is the one the detail cites\. |
| `invited_realm_refuses_work_account` | `creation` | string | The creation mode the realm would enforce after the call, invited at this refusal\. |
| `invited_realm_refuses_work_account` | `audience` | string | The audience the application's recorded manifest declares: public, invited, or workforce\. |
| `issue_refused` | `refusal` | string | The issue service's own refusal name, one the Issue Tracking contract states\. |
| `issues_bounded` | `grant` | string | The grant that bounds the credential presented\. |
| `issues_bounded` | `admitted` | array of string | The actions the bound admits, in the enumeration's order: the rows the grant marks and the rows whose admits mark lists it\. The rows marked access: anonymous lie outside the bound and are not listed\. |
| `issues_level_refused` | `level` | string | The level of the token's issues grant\. |
| `issues_level_refused` | `admitted` | array of string | The acts the level admits, in the relay's order\. |
| `local_route_required` | `application` | string | The id of the application whose platform\-minted development credential the call asked to re\-mint\. |
| `manifest_invalid` | `violations` | array of string | One entry per violation, each the JSON path of the failing member, a colon, and the message\. The root of the document is written as a single slash\. |
| `plan_quantity_unset` | `plan` | string | The quota key read: the application's size, or unlimited for the company's applications\. A plan name occurs only where pricing reads plans\. |
| `plan_quantity_unset` | `measure` | string | The pricing\-registry entry whose quantity is Unset for the key, for example schedule\-count\-limit\. |
| `plan_schedule_conflict` | `plan` | string | The quota key read: the application's size, or unlimited for the company's applications\. A plan name occurs only where pricing reads plans\. |
| `plan_schedule_conflict` | `schedules` | array of object with `schedule`, `measure`, `bound`, `cron`, `gap` | One entry per conflict between an existing schedule and the target key\. The list is never empty, and one schedule appears once per measure it violates\. |
| `platform_minted_name` | `application` | string | The id of the account's application whose platform\-minted credential name the request used\. |
| `platform_space_configure_refused` | `space` | string | The space the request gave\. |
| `publication_bounded` | `grant` | string | The grant that bounds the credential presented\. |
| `publication_bounded` | `admitted` | array of string | The actions the bound admits, in the enumeration's order: the rows the grant marks and the rows whose admits mark lists it\. The rows marked access: anonymous lie outside the bound and are not listed\. |
| `publish_incomplete` | `missing` | array of string | What the commit lists and the puts never wrote, never empty\. For a library publish each entry is a blob's sha256\. For a public\-files publish each entry is a file name, or a site\-relative path for the site\. |
| `published_bytes_differ` | `file` | string | The published versioned name whose recorded sha256 differs from the incoming file's\. For the site it is the full versioned name, the source commit's folder included\. |
| `purchase_not_admitted` | `reason` | string | The account is unbilled, blocked after a refund or dispute, holds an open payment dispute, or is an ordinary account on a site that takes test payments only\. |
| `purchase_unavailable` | `reason` | string | Present as replaced if another purchase start for this account replaced this one; absent for other causes\. |
| `query_failed` | `sqlstate` | string | The five\-character SQLSTATE the server returned, on a 422 alone\. |
| `recently_linked_hold` | `hold_ends_at` | string | The UTC instant when the hold ends, in ISO 8601 form with milliseconds\. It is seventy\-two hours after the newest bind the hold counts\. Every `recently_linked_hold` refusal includes it\. |
| `refund_not_admitted` | `reason` | string | The first failed admission check: purchase state, absolute reach, required reason, then provider availability\. Current values include `refunded`, `refunding`, `disputed`, `never_paid`, `not_granted`, `past_reach`, `reason_required`, `provider_closed`\. |
| `refund_not_admitted` | `account` | object with `id` | The account whose purchase or flag is being handled\. |
| `refund_not_admitted` | `purchase` | object with `id`, `state`, `amount`, `amount_micros`, `currency`, `paid_at`, `refunded_at`, `refund_micros` | The purchase and its payment/refund state; no provider identifier\. |
| `refund_not_admitted` | `conditions` | object with `within_window`, `unspent`, `first_in_span` | The three conditions as read at the act\. |
| `refund_not_admitted` | `within_rule` | boolean | All three refund\-rule conditions hold\. |
| `refund_not_admitted` | `within_reach` | boolean | The payment is within the absolute refund reach\. |
| `refund_refused` | `account` | object with `id` | The account whose purchase or flag is being handled\. |
| `refund_refused` | `purchase` | object with `id`, `state`, `amount`, `amount_micros`, `currency`, `paid_at`, `refunded_at`, `refund_micros` | The purchase and its payment/refund state; no provider identifier\. |
| `refund_refused` | `conditions` | object with `within_window`, `unspent`, `first_in_span` | The three conditions as read at the act\. |
| `refund_refused` | `within_rule` | boolean | All three refund\-rule conditions hold\. |
| `refund_refused` | `within_reach` | boolean | The payment is within the absolute refund reach\. |
| `refund_refused` | `restored` | boolean | True if the purchase returned to paid with its removed credit restored\. |
| `refund_refused` | `provider_status` | integer or null | The provider’s HTTP refusal status, where available\. |
| `refund_refused` | `provider_code` | string or null | The provider’s refusal code, where available\. |
| `region_unavailable` | `region` | string | The region the submitted manifest declares, one the platform does not offer yet\. |
| `rotation_in_flight` | `application` | string | The id of the application whose development database credential the call asked to re\-mint\. |
| `route_set_contradicts_audience` | `audience` | string | The audience the application's recorded manifest declares, workforce at this refusal\. |
| `route_set_contradicts_audience` | `tenant` | string | The workforce Entra tenant ID or issuer address declared in the manifest, present where the refusal concerns that declaration\. |
| `route_unreachable` | `reason` | string | Why the route was not reached: `no_address`, the hostname resolved to no address; `address_not_public`, it resolved outside public unicast\. Or `connect_failed`, the connection failed or ended before the body was read; `tls_failed`, the TLS connection failed; or `timeout`, the call passed its 20 seconds\. |
| `schedule_count_over_plan` | `path` | string | The JSON path of the first schedule declaration past the size's count\. |
| `schedule_count_over_plan` | `plan` | string | The quota key read: the application's size, or unlimited for the company's applications\. A plan name occurs only where pricing reads plans\. |
| `schedule_count_over_plan` | `measure` | string | The measure the refusal is keyed on, schedule\-count\-limit\. |
| `schedule_count_over_plan` | `quantity` | integer | The size's served count limit, the most schedules the application may declare\. |
| `schedule_interval_below_plan` | `path` | string | The JSON path of the cron expression whose due times fall too close together\. |
| `schedule_interval_below_plan` | `plan` | string | The quota key read: the application's size, or unlimited for the company's applications\. A plan name occurs only where pricing reads plans\. |
| `schedule_interval_below_plan` | `measure` | string | The measure the refusal is keyed on, schedule\-minimum\-interval\. |
| `schedule_interval_below_plan` | `quantity` | integer | The size's served minimum interval in minutes, the floor\. |
| `schedule_interval_below_plan` | `gap` | integer | The shortest gap in whole minutes between the expression's consecutive due times, less than the floor\. |
| `scope_fixed` | `scope` | string | The kind of scope the name is at: account or application\. |
| `scope_fixed` | `application` | string or null | The id of the application whose scope the name is at, null where it is at the account scope\. |
| `scope_fixed` | `environment` | string or null | The environment of that application scope, development or production, null where the name is at the account scope\. |
| `secret_grant_expired` | `credential_kind` | string | The kind of the credential refused: secret\_grant\. |
| `secret_grant_not_admitted` | `credential_kind` | string | The kind of the credential refused: secret\_grant\. |
| `secret_grant_spent` | `credential_kind` | string | The kind of the credential refused: secret\_grant\. |
| `setting_secret_missing` | `next` | object with `action`, `arguments` | The one call that remedies the refusal, the object alone: store\_secret for the application and the environment the act targets\. It carries the secret's name and never a value, and its answer gives the line that sends the value\. |
| `space_not_owned` | `space` | string | The space the request gave\. |
| `synthetic_ceiling_reached` | `ceiling` | string | The name of the ceiling reached: standing\_accounts, seeded\_per\_day, standing\_applications, paid\_applications, or, under the synthetic\_seed\_purge grant, standing\_accounts\_per\_credential\. For an account seeded under that grant, paid\_applications\_per\_account is the ceiling on its applications whose stored plan is not Free\. Under usage, applications\_per\_account is the ceiling on all applications an account seeded under that grant holds\. |
| `synthetic_ceiling_reached` | `value` | integer | The ceiling's constant, under the mode read or, for standing\_accounts\_per\_credential and paid\_applications\_per\_account, under the synthetic\_seed\_purge grant\. For applications\_per\_account it is the allowed application count\. |
| `synthetic_ceiling_reached` | `standing` | integer | The count measured against the ceiling before the call\. For seeded\_per\_day it is the accounts this operator's account seeded in the current UTC day\. For standing\_accounts\_per\_credential it is the existing synthetic accounts the calling credential seeded\. For paid\_applications\_per\_account it counts the account's applications whose stored plan is not Free, excluding the one being moved\. For applications\_per\_account it counts all applications the seeded account holds\. |
| `synthetic_estate_bounded` | `grant` | string | The grant that bounds the credential presented\. |
| `synthetic_estate_bounded` | `admitted` | array of string | The actions the bound admits, in the enumeration's order: the rows the grant marks and the rows whose admits mark lists it\. The rows marked access: anonymous lie outside the bound and are not listed\. |
| `synthetic_posture_refuses` | `bound` | string | The name of the bound that refused: accounts\_per\_seed, token\_expiry\_days, products, tools\_plan, or app\_hosting on a seed, all on a purge\. |
| `synthetic_posture_refuses` | `value` | integer | The bound's constant, under the effective mode or under your bounding grant, present on a seed's refusal that gives accounts\_per\_seed or token\_expiry\_days\. |
| `synthetic_posture_refuses` | `posture` | string | The mode the refused act met: the effective seed mode on a seed, the mode as set on a purge\. |
| `synthetic_posture_refuses` | `grant` | string | The bounding grant your credential holds without super\_admin, present only where the grant is why the act was refused: all on a purge, or a seed past the grant's own bounds\. |
| `synthetic_seed_purge_bounded` | `grant` | string | The grant that bounds the credential presented\. |
| `synthetic_seed_purge_bounded` | `admitted` | array of string | The actions the bound admits, in the enumeration's order: the rows the grant marks and the rows whose admits mark lists it\. The rows marked access: anonymous lie outside the bound and are not listed\. |
| `token_scope_refused` | `scope` | object with `kind`, `application` | The bound of the token presented: the one application it reaches, outside which the request's subject lies\. |
| `transfer_grant_not_admitted` | `credential_kind` | string | The kind of the credential refused: transfer\_grant on the storage surface, the actions, and every other surface, and on the deploy command's progress read any kind presented\. |
| `tzmesh_bounded` | `grant` | string | The grant that bounds the credential, tzmesh\. |
| `tzmesh_bounded` | `admitted` | array of string | The rows the bound admits on this plane, the grant's own rows and those whose admits mark lists it\. |
| `tztrack_bounded` | `grant` | string | The grant that bounds the credential, tztrack\. |
| `tztrack_bounded` | `admitted` | array of string | The rows the bound admits on this plane, the grant's own rows and those whose admits mark lists it\. |
| `unknown_action` | `address` | string | The address that serves this action or its successor, where this address does not\. |
| `upload_hash_mismatch` | `received_sha256` | string | The SHA\-256 of the bytes refused, 64 lower\-case hexadecimal characters: the body the write carried, or the stored file the start read\. |
| `upload_hash_mismatch` | `expected_sha256` | string | The SHA\-256 the preparing `deploy` call gave as `zip_sha256`, 64 lower\-case hexadecimal characters, which the upload's grant records\. |
| `upload_hash_mismatch` | `credential_kind` | string | The kind of the credential whose binding refused the bytes, transfer\_grant: the upload's grant, at the write and at the start alike\. |
| `version_reused` | `entry` | string | The name of the entry whose version is reused, left out where it is not in a library entry name's shape\. |
| `version_reused` | `version` | string | The version the entry keeps, which the served catalog already holds under another closure, left out where it is not in a version's shape\. |
| `version_reused` | `served_closure_hash` | string | The closure hash the served catalog records for the entry, left out where it is not 64 lower\-case hexadecimal characters\. |
| `version_reused` | `incoming_closure_hash` | string | The closure hash this catalog states for the entry, left out where it is not 64 lower\-case hexadecimal characters\. |

## MCP server

The MCP transport’s refusals for protected tool calls and resource reads, and the tool dispatch surface\.

| Refusal | Status | Cause | Remedy |
|---|---|---|---|
| <a id="account_suspended-mcp_server"></a>`account_suspended` | not fixed | The account is suspended\. On the management surface it is the account you act as \(403\), including for `run_job`\. On the router it is the account the served hostname belongs to \(503\)\. At the tunnel seat it is the calling application's account \(403\)\. On the builder sign\-in surface, a suspended account's sign\-in completion is refused with this name \(403\), whether it comes from a provider or a passkey\. That refusal creates no session, sets no cookie, and issues no code\. A grant is refused with this name \(403\) while the account recorded as its owner is suspended\. This covers a transfer grant on the storage surface, an upload grant on the deploy command's progress read, and a secret grant on its one write\. The grant works again once the account is reinstated, if it has not expired\. On the egress surface, an egress key is refused with this name \(403\) while its owning account is suspended\. The platform operator restores the account\. On the support read surface, a consent and a read for a suspended account are refused with this name \(403\)\. The tzMesh site token route also refuses a suspended account with this name \(403\), and mints no token\.<br><br>On the dashboard picture surface, a current dashboard session for a suspended account is refused \(403\)\. | Ask the platform operator about reinstatement\. After reinstatement, sign in again if the prior session ended, or reconnect your tool, then retry\. A still\-live grant can work again within its scope after reinstatement\. |
| <a id="app_credential_not_admitted-mcp_server"></a>`app_credential_not_admitted` | not fixed | You presented the application's platform credential where it is not accepted\. On the management plane only read\_account accepts it, and every other action refuses it \(403\)\. At the MCP server it connects nothing \(401 challenge\)\. | For management or MCP, sign in through your tool or use a token admitted by the action\. An account image saved outside an application needs the account owner's access\. If the current credential cannot read it, ask the owner to act or approve the minimum access needed\. The application's platform credential is accepted for allowed storage and egress calls, logging, push and email sends, job starts, end\-user verification, and `read_account`\. |
| <a id="authentication_required-mcp_server"></a>`authentication_required` | 401 | No credential resolved to an account\. The refusal is the usual challenge giving the protected\-resource metadata, at the internal resolve endpoint gate, or at the audience gate the router applies\. On the management and MCP surfaces, the detail says whether the connection presented no credential or presented one that resolved to no account\. Where the credential you presented has the form of a short\-lived grant and the platform has no grant of that value, the detail says the grant was not accepted\. On the support read surface, a consent or its end without a signed\-in support cookie, and a read without a live support read token, are refused with this name \(401\)\.<br><br>A page\-only action is refused with this name, without a `WWW-Authenticate` challenge, where no API cookie call is admitted\. No bearer can call that row\.<br><br>The sign\-in removal is also refused with this where Sign out everywhere ended the acting session's generation before the removal's transaction\. | For the support read, ask the visitor to sign in on the website and share their account in that support chat\. The website gives the support agent a live read token for the chat\. If the consent or stop\-sharing action was refused, sign in on the website and repeat the action there\.<br><br>Where no credential was presented, nothing was done\. Ask the person to sign in to Turn Zero: in Claude Code they type /mcp and choose the server, in Codex they finish the page the add line opened or run codex mcp login, and the Claude app offers it at the connector\. Then make the call again\.<br><br>The turnzero command has its own sign\-in, which a tool's sign\-in does not make\. A signed\-in tool chooses its deploy route with read\_documentation, page /cloud/getting\-started/ways\-to\-deploy/\. It authorizes the computer where the command is selected; where the command is unavailable, the tool uses deploy\_files within its caps and the upload route past them\. The person runs turnzero login only where no in\-tool route works, or to renew their own login\. A job presents a minted token or the credential the surface takes\.<br><br>Where the credential you presented resolved to no account, sign in again and make the call again\. On an application's routes, have the end user sign in again\.<br><br>Where a grant was not accepted, it expired and was removed, or its value was changed\. If the command or line a tool call returned had the grant, make that call again and run the fresh command it returns\. If your application requested the grant, request another\. On an application's routes, the serving router refused the request before it reached the application\. Test the application's own authentication branches in its offline tests or in a local run\.<br><br>For a page\-only act, sign in on this site and use its page\. A bearer credential does not admit the call\. |
| <a id="context_changed-mcp_server"></a>`context_changed` | 409 | The continuation stamp you sent no longer matches the catalog or the content you can see\. | Repeat the request from offset zero without a stamp, then continue paging with the stamp the new response gives\. |
| <a id="context_not_found-mcp_server"></a>`context_not_found` | 404 | The content id is not in the catalog you can currently see, or a page route is not in the tree's manifest\. | Follow the detail's suggested identifier, successor, member or source first\. If it gives no route, call `read_context` without an ID and copy a listed identifier\. For tzMesh listening, use the ID `overview:tzmesh` and find the section Listen from Codex or Listen from Claude Code\. For a documentation tree, use `read_documentation` with the tree and part its catalog entry gives\. For a page, use the route printed in the tree's index\. |
| <a id="context_unavailable-mcp_server"></a>`context_unavailable` | 503 | An indexed source or a built documentation tree is unavailable, or the platform could not read a product's practices or skills from that product's own server\. | For a product's practices or skills, read again in a short while: the platform reads them from the product's server again\. For an indexed source or a documentation tree, nothing you do corrects this: the platform restores it by its next publish or release, so retry later and report the refusal with its detail if it persists\. |
| <a id="egress_key_not_admitted-mcp_server"></a>`egress_key_not_admitted` | not fixed | The egress key the platform mints for one upstream of one deployed compute works only on that upstream's keyed route\. Everywhere else it is refused with this name \(403\): another upstream, a management action, the storage and logging routes, a gated documentation tree's machine files, the push and email send routes, the job start route, and the realm surface\. The MCP server refuses it with a 401 challenge, and the tunnel seat with 407\. | Present the egress key only as the bearer of calls under the base URL in its setting, which the deploy set for that upstream\. To call another upstream the same way, declare it with its own `sdk_settings` and read that upstream's key setting\. For any other act, present the credential that surface accepts, such as the application's platform credential on the storage and logging routes\. |
| <a id="end_user_credential_not_admitted-mcp_server"></a>`end_user_credential_not_admitted` | not fixed | The end\-user credential the accounts service issues is refused with this name on every surface except its own realm \(403; a 401 challenge at the MCP server\)\. | Use an end\-user credential for its realm's account routes\. On verification, send the platform credential as bearer and the end\-user session value in the body\. Storage, logging, egress, push and email use the application's admitted platform credential\. The account image route takes the account's own sign\-in or an account\-wide token\. For management or MCP, sign in to the account or use a minted token admitted by the action\. |
| <a id="forward_unavailable"></a>`forward_unavailable` | 503 | A call of a product's tool through the one connection, a tool listed under the product's prefix, was not forwarded to the product's own MCP server, or had no reply from it in time\. Either the product's tools are not served through this connection on this estate, or the connection is not a person's sign\-in\. Otherwise the connection's credential for the product could not be issued, the server could not be reached, or it refused the forwarded credential, and in each of these cases nothing was done\. Where the server did not answer within the call's bound, ten seconds and any wait in the call, the call may have been made\. | Use the recovery in the detail\. Sign in again on this connection if the product server refused its forwarded credential\. If the detail gives a direct product address, you can connect there under an admitted product credential\. If no server is configured, report that to the platform operator\. Retry a failed connection or credential issue after a short wait\. After a timeout, check whether the call happened, or reuse its `client_id` where the tool accepts it\. |
| <a id="insufficient_scope-mcp_server"></a>`insufficient_scope` | 403 | The OAuth access credential is valid for this service but lacks the scope required by the protected call; the challenge states the required scope\. | Start the OAuth authorization again from your tool and request the scope the challenge gives\. Renewing the existing token does not add a scope\. |
| <a id="invalid_request-mcp_server"></a>`invalid_request` | not fixed | The input is malformed or missing, and the detail gives the member\. Or the input has a NUL \(U\+0000\) or an unpaired UTF\-16 surrogate, and the detail gives the character\. This is the generic validation refusal of every surface\. On a management action, it also refuses a call that gives a member the action does not declare\. The detail lists that member, a nested one by its path, and every member declared at that place\. Where that list would pass the detail's budget, the detail gives each place's member count instead and points to the action's reference page, which lists them\. It also refuses a body the surface could not read, or a path segment whose escape does not decode, in the surface's own form, repeating nothing from the request\. On `create_space`, it also refuses a `space` deleted within the last 35 days, while its deletion marker remains, and nothing is created\. At a request for the `tzmesh` resource, and at the completion of its sign\-in, it also refuses a browser's prefetch, which holds no confirmation\. On `deploy_files`, a list entry with `content` under a path segment the zip leaves out is refused with `kept` and `refused`\. Its `kept` lists the content entries kept and each entry by `sha256` alone whose file the platform holds and could read as the refusal was built; `refused` lists the entries refused\.<br><br>Over HTTP, a value outside a bound an action's reference states is refused `invalid_request`\. Over MCP, your client's or the SDK's argument check runs first\. A rule checked only by the handler draws `invalid_request` on either route\. On the payment event route, a missing, malformed, invalid or stale signature, an unreadable event, or an event in the other mode receives the same refusal and changes nothing\. The detail discloses no class or request content\.<br><br>On `set_database_size`, the size is not one of its four values, production already has the requested size, or a dedicated size was requested for a serverless application\. A serverless application's database stays `database-shared`\. Nothing changes\.<br><br>The usual validation status is \(400\)\. On the builder's Allow page, a confirmation posted from outside the sign\-in page's origin or without a recent sign\-in receives \(403\)\. Browser checks can also return \(403\) when you confirm or cancel an approval, open or sign in to a test account, or cancel a builder connection\. A provider callback that uses a method the route does not accept receives \(405\)\. | Correct the member the detail gives, or send a member the action declares in place of one it does not; the detail or the action's reference page lists them\. Or remove the character the detail identifies\. Then send the request again\. For a deleted space's identifier, pass another `space`, or leave it out and the platform chooses one\. A refused prefetch needs nothing: the request is served when the person opens it\.<br><br>For payment events, the payment provider sends this request\. The platform operator checks the provider's delivery record and the platform's refusal record\. The response gives the same detail for every payment\-event validation failure\.<br><br>For a 403 on a browser confirmation, return to your tool and sign in again\. Use the confirmation page in the same browser with a recent sign\-in\. For a 405 on a provider callback, use the method its detail gives\. The provider sends that callback\. |
| <a id="invalid_token-mcp_server"></a>`invalid_token` | 401 | A protected call presents a credential that cannot authenticate to this service, and the WWW\-Authenticate header gives the standard OAuth error\. A missing credential gets no OAuth error parameter\. | For tool sign\-in, refresh the access token where available or sign in again\. For push or email, use the platform credential from the intended application's backend\. On a route that accepts an application\-bounded minted token, use one admitted by that route\. |
| <a id="local_route_required-mcp_server"></a>`local_route_required` | 409 | You called store\_secret with replace: true on the development scope with the platform\-minted name of the platform credential or the database credential, on a surface other than the HTTP wire route\. Such surfaces include the MCP tool, the dashboard, and a browser session\. They return no platform\-minted credential value, so the re\-mint was refused before any write\. The same call on the wire route re\-mints and returns the value once\. The line returned to the submit\_manifest call that turnzero provision prints makes that call and writes the environment file\. A call with no value returns the command that sends the value from your machine\. A `deploy` call on the MCP surface carrying `zip_sha256` is refused too, and nothing is prepared: the turnzero command sends it only on the HTTP action route\. A mint\_token call on the MCP surface with `code_verifier` is refused too, with nothing minted: the turnzero command presents it only on the HTTP action route\. A sign\_in\_test\_end\_user call on the MCP surface with `delivery` is refused too, and nothing is signed in\. The turnzero command sends it only on the HTTP action route, and a tool takes the line the call returns without it\. | To re\-mint a platform or database credential, run `turnzero provision --origin https://dev.turnzero.ai --application <application id>` with nothing piped\. Add `--origin` where your other lines include one, and make any call it prints\. To rotate your own secret, make the tool call without its value and run the returned command that reads and sends it locally\. For `deploy`, call `deploy_command` giving the application, and run the command it returns, or `command_windows` on Windows\. For an exchange\-only member of `mint_token`, run the Turn Zero line that the mint returned\. For test\-user sign\-in, leave `delivery` out of the tool call and run the returned sign\-in line, which writes the cookie jar\. |
| <a id="misdirected_origin-mcp_server"></a>`misdirected_origin` | 421 | Your request reached a public service without going through the platform's edge\. Behind the edge, every request must include the edge's profile identifier in its identifier header, and a forwarded host and scheme equal to the configured origin\. A request that does not is refused before any route runs\. The detail gives the forwarded host and scheme the service saw\. A request from an address of a hosting cell is refused the same way even when it has the identifier, and its detail gives that address\. The health reads, and the sign\-in requests the platform's serving router forwards for an application's end\-user realm, are exempt\. The check is off where no edge profile identifier is configured\. Where an estate sets a REST host, that host serves its own API path and nothing else, and that path is refused under any other host, the public origin among them; this holds with or without an edge profile identifier\. | Send the request through the platform's edge to the public origin the detail gives, <https://turnzero.ai> on production, and not to a service's own hostname\. The detail also gives the host and scheme the service saw\. Where the detail gives a REST host's address, call that address\. |
| <a id="not_yet_provisioned-mcp_server"></a>`not_yet_provisioned` | 501 | An enumerated action this build or estate does not serve\. Either no build serves the action, or it needs a service the estate does not run\. The feedback actions, a recorded check, list\_issue\_spaces, create\_space, share\_space, list\_space\_members, delete\_space, rename\_space, and relay\_issue\_act need the issue service, as does submit\_manifest declaring the issue\_tracking kind\. | Read the action's page under the Management actions reference\. Where no build serves the action, call one the platform serves instead; no retry succeeds\. Where the estate runs no service the call needs, nothing you do corrects it until the estate serves that service\. |
| <a id="rate_capped-mcp_server"></a>`rate_capped` | 429 | The request reached a limit on the count for its window\. The limit can be on an application's logging batches per minute or on a source address's client registrations per hour\. The control plane and the router's admission limits count requests in the current UTC minute\. A page view of the site counts in a page window of its own, six hundred a minute\. A call to read\_library on the actions route counts in a library window of its own, four thousand a minute\. A call to search\_documentation presenting no credential counts in a documentation search window of its own, one hundred and twenty a minute\. Where no separate window or exemption applies on the control plane, the source window counts six hundred requests a minute\. A signed\-in approval or dashboard arrival spends no source window\. Across the six gateway routes for storage, egress, logging, push, email, and job start, requests that resolve to the same credential share a limit of six hundred requests per UTC minute, even when they come from different source addresses\. For admission, each of these requests counts only toward the credential's limit\. A presented value there that resolves to no credential counts in a window of its own for the source, six hundred a minute, apart from the source window\. On those routes, a request through the edge whose source is at that bound is refused before its credential is looked up, unless the gateway already has that credential\. On the deploy command's progress read, a read under its upload's started grant counts in a window keyed on that grant's identity\. A read there that presents anything else counts in the source window, which once full refuses the source before any lookup\. At the control plane, the admission window's refusal includes Retry\-After, the seconds to the next minute\. The serving router counts requests to one application on each router replica in the current UTC minute\. Anonymous requests count against their source address\. Signed\-in requests count against both the user and a separate limit for the source address's signed\-in requests\. The refusal comes before the request reaches the application\. `Retry-After` gives the seconds to the next UTC minute\. A `request_route` or `write_route` call counts in one window of their own for the acting account, sixty a minute\. A `check_app_sign_in` call counts in a window of its own for the acting account, ten a minute, and the accounts service counts the checks of each realm in a window of its own, ten a minute\.<br><br>For the dashboard picture route, an arrival without a verified dashboard cookie and current session uses the source window; an admitted arrival counts in its account's own window, sixty reads a minute\. | If the response gives `Retry-After`, wait that many seconds and retry below the limit\. For a request or logging limit without that header, retry below the limit when the next UTC minute starts\. For client registrations, wait until the earliest registration in the hour leaves that window\. |
| <a id="renamed"></a>`renamed` | 404 | The call used a product tool's former prefixed name, which the product's server no longer serves\. This connection lists that product's tools\. Nothing was done\. The detail gives each replacement's name as this connection lists it\. | Call the replacement `detail` gives\. If `detail` lists several, read their descriptions and choose the tool that matches your task\. |
| <a id="request_too_large-mcp_server"></a>`request_too_large` | 413 | The request is over the surface's request bound, or over the bound a transfer grant accepts\. On the builder sign\-in, a client registration's declared body is over 16 KiB\. On every surface, the serving router among them, a body over the bound the surface's parser reads is refused the same way, the detail giving that bound\. | Reduce the request body to the byte bound the refusal detail gives, then send it again\. Keep a storage upload within the size its transfer grant accepts, and keep a client registration at sign\-in at or under 16 KiB\. |
| <a id="retired_host-mcp_server"></a>`retired_host` | 421 | The hostname you sent the request to is one the platform retired\. The request is refused before any route runs, and the detail gives the current address\. A client that still uses the old name fails with a clear reason instead of working on it unnoticed\. | Change the address your client uses to the current address the detail gives, then send the request again\. |
| <a id="secret_grant_not_admitted-mcp_server"></a>`secret_grant_not_admitted` | not fixed | The secret grant a `store_secret` call with no value mints serves the one write it records: the same action on the HTTP action route, with the grant's own name, application, and environment\. The grant a `submit_manifest` call with `local_run` mints serves two requests: `store_secret` with `replace: true` on that route, with no value, for the application's database credential and its platform credential at the development scope, each once\. Under either grant, every other surface, management action, and request is refused with this name \(403; a 401 challenge at the MCP server\) and uses nothing\. The exception is an action another rule refuses first\. The browser\-only action reads no credential, and an action that is switched off reads the grant and refuses with its switch's name; neither accepts the grant\. A provision grant claimed by its verifier is no grant anywhere else\. Every action but `store_secret` with `replace: true` over the wire, and every other surface, reads the verifier as a bearer that resolves to nothing, refused `authentication_required`\. The deploy command's progress read refuses it under that read's own name, `transfer_grant_not_admitted`\. | Run the command the preparing call returned once, as given: it makes the one write the grant allows\. For any other act, present the credential that surface accepts, for example a signed\-in session or a minted token on the management surface\. To write another name or at another scope, call `store_secret` with no value for that name and scope, and run the command it returns\. For the local run's grant, run the line the `submit_manifest` call returned, as given\. For a fresh one, run `turnzero provision --origin https://dev.turnzero.ai --application <application id>` with nothing piped and make any call it prints\. |
| <a id="transfer_grant_not_admitted-mcp_server"></a>`transfer_grant_not_admitted` | not fixed | The transfer grant object storage mints serves its one file act and is refused by name everywhere else \(403; a 401 challenge at the MCP server\)\. An export's download grant serves only `GET` of a file by its name: its export's own files, and its application's stored files created by the time its export listed them\. A stored file created later is refused with `no_such_file` under it, as an absent name is, and not with this refusal\. An older grant with no recorded time for its export's file list gives this refusal for a stored file outside the export's own folder\. Ask for a fresh grant\. A deploy upload's grant also serves its upload's one start on `deploy`, giving its own application, the environment its preparing call recorded, and upload\. After that start, it serves the deploy command's progress reads of its own deploy inside their window, and the progress read refuses by this name every other credential and that grant before its start\. | Present the grant only on the one file route it covers, PUT or GET /storage/v0/areas/\{area\}/files/\{name\}, in the direction it was minted for\. Under an export's download grant, read a file by its name, never a listing, the deploy area, or another application's area\. Where a stored file the export's manifest lists is refused by this name, call `request_export` with `download: true` again and run the line it returns\. For any other act, present the credential that surface accepts, for example a signed\-in session or a minted token on the management surface\. A deploy upload's grant starts only its own upload and then reads only that deploy's progress, as the turnzero command does under the grant its preparing `deploy` call returns\. To read a deploy under your own credential, call `read_status`\. |
| <a id="unknown_action-mcp_server"></a>`unknown_action` | 404 | No action by that name in the contract version, or none at this address\. Where another address serves the name or its successor, the detail and the address member give it\. | Use the tool name your connection lists for the action\. If the detail gives several successors, choose the one for the input form you used and include any mode it gives\. For a direct HTTP call, use the action's listed address or the refusal's `address`\. If an older Turn Zero command called a retired action, update the command as shown and rerun the original line\. |

## Storage

The object storage surface under /storage/v0\.

| Refusal | Status | Cause | Remedy |
|---|---|---|---|
| <a id="account_paused-storage"></a>`account_paused` | not fixed | The owning account used up its Free Allowance and has no live credit\. Unlimited applications are exempt\. The router returns 429 on every request to either hostname, including shell files and realm paths; scheduled runs are refused by the same name\. Storage reads, lists, puts, deletes and grant mints, and egress calls before an upstream is reached, answer 429\. Management acts that deploy, promote, roll back, restart or resume return 409 before writing a row\. `run_job` also returns 409 without starting a run\. `set_database_size` and `restore_database` also return 409 before a row is written\. A generate\_image call past the month's free images is refused 409 before the provider is called, counting and charging nothing\. New WebSocket upgrades are refused; open sockets close with code 1008 and reason `account paused`\. On the router, `Retry-After` gives seconds until the scheduled reset at the start of the next UTC month\. The router gives a request preferring HTML the pause page instead of JSON\.<br><br>On the email surface, sending is refused 429 with `Retry-After` in seconds and `resets_at`, the scheduled monthly reset\. Nothing is queued or counted\. | A paused account resumes when it has Free Allowance available again or credit it can use\. Check the current pause state before retrying\. To move a paused account's database back to shared, ask support for the operator\. `set_database_size` and `restore_database` are refused while paused\. |
| <a id="account_suspended-storage"></a>`account_suspended` | not fixed | The account is suspended\. On the management surface it is the account you act as \(403\), including for `run_job`\. On the router it is the account the served hostname belongs to \(503\)\. At the tunnel seat it is the calling application's account \(403\)\. On the builder sign\-in surface, a suspended account's sign\-in completion is refused with this name \(403\), whether it comes from a provider or a passkey\. That refusal creates no session, sets no cookie, and issues no code\. A grant is refused with this name \(403\) while the account recorded as its owner is suspended\. This covers a transfer grant on the storage surface, an upload grant on the deploy command's progress read, and a secret grant on its one write\. The grant works again once the account is reinstated, if it has not expired\. On the egress surface, an egress key is refused with this name \(403\) while its owning account is suspended\. The platform operator restores the account\. On the support read surface, a consent and a read for a suspended account are refused with this name \(403\)\. The tzMesh site token route also refuses a suspended account with this name \(403\), and mints no token\.<br><br>On the dashboard picture surface, a current dashboard session for a suspended account is refused \(403\)\. | Ask the platform operator about reinstatement\. After reinstatement, sign in again if the prior session ended, or reconnect your tool, then retry\. A still\-live grant can work again within its scope after reinstatement\. |
| <a id="app_credential_not_admitted-storage"></a>`app_credential_not_admitted` | not fixed | You presented the application's platform credential where it is not accepted\. On the management plane only read\_account accepts it, and every other action refuses it \(403\)\. At the MCP server it connects nothing \(401 challenge\)\. | For management or MCP, sign in through your tool or use a token admitted by the action\. An account image saved outside an application needs the account owner's access\. If the current credential cannot read it, ask the owner to act or approve the minimum access needed\. The application's platform credential is accepted for allowed storage and egress calls, logging, push and email sends, job starts, end\-user verification, and `read_account`\. |
| <a id="application_other_account-storage"></a>`application_other_account` | 403 | The application id in your request belongs to a live application of another account, not the account you are signed in as\. Every management action that looks up an application by its id refuses with this name instead of no\_such\_application, and so does the storage surface's area declaration\. The detail gives the account you act as and, from the turnzero command or an AI tool's connection, the likely cause, or, from the signed\-in site, to sign in to the account that holds the application, and nothing about the other account\. | Compare turnzero whoami with read\_account over your AI tool's connection: the command and the connection are likely signed in to different accounts\. Make the call from the one signed in to the account that has the application, or use an id list\_applications returns\. From the signed\-in site, sign in as the account that holds the application\. |
| <a id="application_required-storage"></a>`application_required` | 400 | You declared a storage area or an upstream under an account\-wide credential and gave no application\. | Pass the application the area or upstream binds to: the identifier list\_applications returns\. Every area and every upstream binds to one application\. On the storage wire, a mint under the application’s platform credential or under a token bounded to one application may leave the member out, and it then defaults to that application\. |
| <a id="area_name_reserved-storage"></a>`area_name_reserved` | 400 | You declared a new storage area under a name beginning `export-` or `deploy-`, or of the exact form `images-<application id>`\. These belong to the platform: request\_export creates export areas under the first, deploy's upload form creates deploy areas under the second, and generate\_image creates image areas under the third\. Any other name beginning `images-` stays yours\. The refusal applies on the minting route, through declare\_storage\_area, and through submit\_manifest\. An area that already exists under any of them can be declared again, as any area can\. | Declare the area under a name that begins with neither `export-` nor `deploy-` and is not `images-` followed by an application id\. An application's export area belongs to the platform: request\_export creates it, and the line request\_export with download: true returns downloads its files\. An application's deploy area belongs to the platform too: deploy's upload form creates it and writes to it\. An application's image area belongs to the platform too: generate\_image creates it and writes to it\. |
| <a id="area_scope_refused-storage"></a>`area_scope_refused` | 403 | The credential or operation does not reach the area\. An area accepts its own application's credentials and an account\-wide credential that no bounding grant bounds\. A credential bounded by any of the bounding grants the contract lists, `tztrack`, `tzmesh`, and `device_sign_in` among them, reaches no area of the account\.<br><br>On mint\_upload\_grant, the area you gave is bound to an application other than the one the call gives\. On list\_storage\_files and read\_storage\_file, the area you gave is bound to an application other than the one the call gives, or is the platform's deploy area\.<br><br>On request\_export with download: true, your credential does not reach the export area\. On the platform's deploy area, `deploy-<application id>`, only the upload grant `deploy` returns reaches the file routes\. Every other credential is refused there, the account's own included\.<br><br>On the platform's export area, upload grants and file\-route `PUT` calls are refused\. The contract identifies that area by its name and bound application\. | On an ordinary area, check the application and area first\. Use a credential already authorized for the intended area, keeping its access as narrow as possible\. A token with the synthetic\_seed\_purge, synthetic\_estate, publication, feedback\_queue, or issues grant stays within that grant\. If the task needs other access, ask the owner to act or approve the minimum access needed\.<br><br>To use the platform's deploy area, call `deploy_command` with the application, naming no environment, and run the line it returns from the application folder\. Use file routes to read, list or delete files from the export area\. The export writes that area\.<br><br>For an image, the service chooses the area\. Report an area binding conflict to the platform\. For a manifest declaration, correct its area or binding and resubmit the manifest\. |
| <a id="authentication_required-storage"></a>`authentication_required` | 401 | No credential resolved to an account\. The refusal is the usual challenge giving the protected\-resource metadata, at the internal resolve endpoint gate, or at the audience gate the router applies\. On the management and MCP surfaces, the detail says whether the connection presented no credential or presented one that resolved to no account\. Where the credential you presented has the form of a short\-lived grant and the platform has no grant of that value, the detail says the grant was not accepted\. On the support read surface, a consent or its end without a signed\-in support cookie, and a read without a live support read token, are refused with this name \(401\)\.<br><br>A page\-only action is refused with this name, without a `WWW-Authenticate` challenge, where no API cookie call is admitted\. No bearer can call that row\.<br><br>The sign\-in removal is also refused with this where Sign out everywhere ended the acting session's generation before the removal's transaction\. | For the support read, ask the visitor to sign in on the website and share their account in that support chat\. The website gives the support agent a live read token for the chat\. If the consent or stop\-sharing action was refused, sign in on the website and repeat the action there\.<br><br>Where no credential was presented, nothing was done\. Ask the person to sign in to Turn Zero: in Claude Code they type /mcp and choose the server, in Codex they finish the page the add line opened or run codex mcp login, and the Claude app offers it at the connector\. Then make the call again\.<br><br>The turnzero command has its own sign\-in, which a tool's sign\-in does not make\. A signed\-in tool chooses its deploy route with read\_documentation, page /cloud/getting\-started/ways\-to\-deploy/\. It authorizes the computer where the command is selected; where the command is unavailable, the tool uses deploy\_files within its caps and the upload route past them\. The person runs turnzero login only where no in\-tool route works, or to renew their own login\. A job presents a minted token or the credential the surface takes\.<br><br>Where the credential you presented resolved to no account, sign in again and make the call again\. On an application's routes, have the end user sign in again\.<br><br>Where a grant was not accepted, it expired and was removed, or its value was changed\. If the command or line a tool call returned had the grant, make that call again and run the fresh command it returns\. If your application requested the grant, request another\. On an application's routes, the serving router refused the request before it reached the application\. Test the application's own authentication branches in its offline tests or in a local run\.<br><br>For a page\-only act, sign in on this site and use its page\. A bearer credential does not admit the call\. |
| <a id="credential_lookup_busy"></a>`credential_lookup_busy` | 503 | The gateway could not start checking the credential for a storage, egress, logging, push, email, or job start request\. Its wait bound passed, two seconds by default, or its places for waiting lookups were full\. Each replica limits the lookups its credential cache cannot serve\. The request was not processed and counts toward no rate window\. | Repeat the same request unchanged after one second, the time the Retry\-After header gives\. It was not processed, so a repeat causes no duplicate effect\. A credential the gateway looked up within its cache interval, 30 seconds by default, is not looked up again\. |
| <a id="differing_redeclaration-storage"></a>`differing_redeclaration` | 409 | You declared an area again with declarations that differ from the existing ones\. | Match the existing area declaration or use a new name\. For a manifest declaration, correct the manifest's storage entry and submit it again\. The refusal lists any declarations already made\. An empty separately declared area can be removed and declared again, or a new area can be declared and existing files moved there\. |
| <a id="egress_key_not_admitted-storage"></a>`egress_key_not_admitted` | not fixed | The egress key the platform mints for one upstream of one deployed compute works only on that upstream's keyed route\. Everywhere else it is refused with this name \(403\): another upstream, a management action, the storage and logging routes, a gated documentation tree's machine files, the push and email send routes, the job start route, and the realm surface\. The MCP server refuses it with a 401 challenge, and the tunnel seat with 407\. | Present the egress key only as the bearer of calls under the base URL in its setting, which the deploy set for that upstream\. To call another upstream the same way, declare it with its own `sdk_settings` and read that upstream's key setting\. For any other act, present the credential that surface accepts, such as the application's platform credential on the storage and logging routes\. |
| <a id="end_user_credential_not_admitted-storage"></a>`end_user_credential_not_admitted` | not fixed | The end\-user credential the accounts service issues is refused with this name on every surface except its own realm \(403; a 401 challenge at the MCP server\)\. | Use an end\-user credential for its realm's account routes\. On verification, send the platform credential as bearer and the end\-user session value in the body\. Storage, logging, egress, push and email use the application's admitted platform credential\. The account image route takes the account's own sign\-in or an account\-wide token\. For management or MCP, sign in to the account or use a minted token admitted by the action\. |
| <a id="environment_mismatch"></a>`environment_mismatch` | 403 | The credential fixes the request's environment, and the request gave another one\. A platform credential fixes its bound environment, a transfer grant the one it was minted in, and an egress key its own on the keyed route\. The other environment came in the x\-turnzero\-cloud\-environment header, or in the body member environment on a log batch or the verification route\. Under any other credential, the header and that body member gave different environments\. | Make the `x-turnzero-cloud-environment` header and the body's `environment` agree when you send both\. Each must also match any environment the credential binds\. To reach another environment, use its platform credential\. Where the route admits an unbound minted token, give the intended environment in the header, or in the body's `environment` where the route accepts it\. |
| <a id="environment_required"></a>`environment_required` | 400 | A session or a minted token, account\-wide or bounded to the application, gave no environment, or a value other than development or production\. On a file route, the file list, the grant mint, or a keyed egress call, the environment goes in the x\-turnzero\-cloud\-environment header\. On the verification route, it goes in that header or in the body member environment\. | Give development or production in the x\-turnzero\-cloud\-environment header on a route that accepts an unbound credential\. The verification route also accepts the body's environment member\. The application’s platform credential already supplies its environment\. |
| <a id="grant_identity_fixed"></a>`grant_identity_fixed` | 400 | A write under a transfer grant sent X\-Acting\-Identity with an identity other than the one fixed when the grant was minted\. | Send the write again with X\-Acting\-Identity giving the identity fixed at minting, or leave the header out\. To act as another identity, mint a new grant for it, on the mint route or with mint\_upload\_grant's identity argument\. |
| <a id="grant_minter_not_admitted"></a>`grant_minter_not_admitted` | 403 | A credential other than the application's platform credential or an application\-bounded minted token called POST /storage/v0/grants\. | Request the grant from the application's backend under its platform credential, or under a token minted with mint\_token and bounded to that application\. From your session or an account\-wide token, mint an upload grant with mint\_upload\_grant instead\. |
| <a id="identity_required"></a>`identity_required` | 400 | A write, a PUT or a DELETE, sent no X\-Acting\-Identity header, and no grant fixes the identity\. | Send the write again with an X\-Acting\-Identity header that gives the acting identity\. |
| <a id="image_expired-storage"></a>`image_expired` | 410 | The picture you requested, saved without an application, reached kept\_until, the end of its 7\-day keep\. It is no longer served, even if the daily purge has not removed its row yet\. | Ask the image owner for a replacement\. The owner can use `generate_image` for a new picture\. Save a copy before `kept_until`, or have the owner generate into an application's storage if it should be kept until deleted\. |
| <a id="image_link_spent"></a>`image_link_spent` | 403 | The link is malformed, expired or replaced, or its hash matches no picture row\. A link lasts at most one hour and never past the picture's kept\_until\. A new link ends the previous one\. | Ask the image owner for a fresh link\. While the image is kept, the owner can call `renew_image_link` with its name or read the image under an admitted account connection\. After expiry, the owner can generate a replacement\. |
| <a id="image_not_found-storage"></a>`image_not_found` | 404 | Your account holds no picture by this name, the picture was removed, or a link is for a different picture\. This refusal concerns pictures generate\_image saves without an application\. | Check the picture name or ask its owner for the link to the intended image\. The owner can use the picture name returned by `generate_image`\. If the picture is gone or its keep period ended, ask the owner for a replacement\. |
| <a id="insufficient_scope-storage"></a>`insufficient_scope` | 403 | The OAuth access credential is valid for this service but lacks the scope required by the protected call; the challenge states the required scope\. | Start the OAuth authorization again from your tool and request the scope the challenge gives\. Renewing the existing token does not add a scope\. |
| <a id="invalid_cursor-storage"></a>`invalid_cursor` | 400 | The listing's cursor is not one the storage surface reads for this listing\. It is malformed or not one string, it belongs to another listing, its name lies outside the prefix or breaks the rules for reaching a stored name, or it predates the opaque cursor\. `list_storage_files` applies the same cursor check\. | List again from the first page, with no cursor, and pass back the cursor each page returns\. |
| <a id="invalid_request-storage"></a>`invalid_request` | not fixed | The input is malformed or missing, and the detail gives the member\. Or the input has a NUL \(U\+0000\) or an unpaired UTF\-16 surrogate, and the detail gives the character\. This is the generic validation refusal of every surface\. On a management action, it also refuses a call that gives a member the action does not declare\. The detail lists that member, a nested one by its path, and every member declared at that place\. Where that list would pass the detail's budget, the detail gives each place's member count instead and points to the action's reference page, which lists them\. It also refuses a body the surface could not read, or a path segment whose escape does not decode, in the surface's own form, repeating nothing from the request\. On `create_space`, it also refuses a `space` deleted within the last 35 days, while its deletion marker remains, and nothing is created\. At a request for the `tzmesh` resource, and at the completion of its sign\-in, it also refuses a browser's prefetch, which holds no confirmation\. On `deploy_files`, a list entry with `content` under a path segment the zip leaves out is refused with `kept` and `refused`\. Its `kept` lists the content entries kept and each entry by `sha256` alone whose file the platform holds and could read as the refusal was built; `refused` lists the entries refused\.<br><br>Over HTTP, a value outside a bound an action's reference states is refused `invalid_request`\. Over MCP, your client's or the SDK's argument check runs first\. A rule checked only by the handler draws `invalid_request` on either route\. On the payment event route, a missing, malformed, invalid or stale signature, an unreadable event, or an event in the other mode receives the same refusal and changes nothing\. The detail discloses no class or request content\.<br><br>On `set_database_size`, the size is not one of its four values, production already has the requested size, or a dedicated size was requested for a serverless application\. A serverless application's database stays `database-shared`\. Nothing changes\.<br><br>The usual validation status is \(400\)\. On the builder's Allow page, a confirmation posted from outside the sign\-in page's origin or without a recent sign\-in receives \(403\)\. Browser checks can also return \(403\) when you confirm or cancel an approval, open or sign in to a test account, or cancel a builder connection\. A provider callback that uses a method the route does not accept receives \(405\)\. | Correct the member the detail gives, or send a member the action declares in place of one it does not; the detail or the action's reference page lists them\. Or remove the character the detail identifies\. Then send the request again\. For a deleted space's identifier, pass another `space`, or leave it out and the platform chooses one\. A refused prefetch needs nothing: the request is served when the person opens it\.<br><br>For payment events, the payment provider sends this request\. The platform operator checks the provider's delivery record and the platform's refusal record\. The response gives the same detail for every payment\-event validation failure\.<br><br>For a 403 on a browser confirmation, return to your tool and sign in again\. Use the confirmation page in the same browser with a recent sign\-in\. For a 405 on a provider callback, use the method its detail gives\. The provider sends that callback\. |
| <a id="invalid_token-storage"></a>`invalid_token` | 401 | A protected call presents a credential that cannot authenticate to this service, and the WWW\-Authenticate header gives the standard OAuth error\. A missing credential gets no OAuth error parameter\. | For tool sign\-in, refresh the access token where available or sign in again\. For push or email, use the platform credential from the intended application's backend\. On a route that accepts an application\-bounded minted token, use one admitted by that route\. |
| <a id="method_not_allowed-storage"></a>`method_not_allowed` | 405 | A mutating action was reached with GET, or a storage route with a method it does not serve\. Or the serving domain's apex or its www name was reached with anything but GET or HEAD of /\. | Use the method the refusal gives for that route\. Send a mutating management action with POST\. For storage, PUT declares an area, POST mints a transfer grant, and GET lists files\. GET or HEAD reads an account picture\. A file route accepts PUT, GET or DELETE\. On the service apex or its www host, use the application's own hostname\. |
| <a id="misdirected_origin-storage"></a>`misdirected_origin` | 421 | Your request reached a public service without going through the platform's edge\. Behind the edge, every request must include the edge's profile identifier in its identifier header, and a forwarded host and scheme equal to the configured origin\. A request that does not is refused before any route runs\. The detail gives the forwarded host and scheme the service saw\. A request from an address of a hosting cell is refused the same way even when it has the identifier, and its detail gives that address\. The health reads, and the sign\-in requests the platform's serving router forwards for an application's end\-user realm, are exempt\. The check is off where no edge profile identifier is configured\. Where an estate sets a REST host, that host serves its own API path and nothing else, and that path is refused under any other host, the public origin among them; this holds with or without an edge profile identifier\. | Send the request through the platform's edge to the public origin the detail gives, <https://turnzero.ai> on production, and not to a service's own hostname\. The detail also gives the host and scheme the service saw\. Where the detail gives a REST host's address, call that address\. |
| <a id="no_such_application-storage"></a>`no_such_application` | 404 | The application is not in the acting account\. `set_database_size` and `restore_database` use this name where the account has no live application with that ID\. No move starts\. | If a platform credential identified the application, stop retrying and tell the application owner\. The credential is for an application that the acting account no longer holds\. There is no application ID to correct in the request\.<br><br>If an account\-mail sender entry identified the application, stop retrying and tell whoever manages that sender entry\. The entry points to an application that no longer exists\.<br><br>If the request gave an application id, check it against `list_applications` using an admitted management connection\. If you lack that connection, ask the application owner to check the id\. The turnzero command's computer\-token refusal also gives the acting account\. An id belonging to another account can be refused as `application_other_account`\. |
| <a id="no_such_file-storage"></a>`no_such_file` | 404 | No file by that name exists in the area, or a put with If\-Match gave a name that does not exist\. Under an export's download grant, a stored file created after the export listed its files is refused the same way\. This also applies when a new grant is issued for an older export with no recorded time for its file list and you request a stored file outside the export's own folder\. `read_storage_file` also refuses a file name that is absent\. | Check the area's file listing for the path in the detail\. To create an absent name, send the put with If\-None\-Match: \*\. If a file has appeared, check its current version before any intended replacement\. Under an export's download grant, call `request_export` again and download the new export, which has the application's files as they are now\. |
| <a id="rate_capped-storage"></a>`rate_capped` | 429 | The request reached a limit on the count for its window\. The limit can be on an application's logging batches per minute or on a source address's client registrations per hour\. The control plane and the router's admission limits count requests in the current UTC minute\. A page view of the site counts in a page window of its own, six hundred a minute\. A call to read\_library on the actions route counts in a library window of its own, four thousand a minute\. A call to search\_documentation presenting no credential counts in a documentation search window of its own, one hundred and twenty a minute\. Where no separate window or exemption applies on the control plane, the source window counts six hundred requests a minute\. A signed\-in approval or dashboard arrival spends no source window\. Across the six gateway routes for storage, egress, logging, push, email, and job start, requests that resolve to the same credential share a limit of six hundred requests per UTC minute, even when they come from different source addresses\. For admission, each of these requests counts only toward the credential's limit\. A presented value there that resolves to no credential counts in a window of its own for the source, six hundred a minute, apart from the source window\. On those routes, a request through the edge whose source is at that bound is refused before its credential is looked up, unless the gateway already has that credential\. On the deploy command's progress read, a read under its upload's started grant counts in a window keyed on that grant's identity\. A read there that presents anything else counts in the source window, which once full refuses the source before any lookup\. At the control plane, the admission window's refusal includes Retry\-After, the seconds to the next minute\. The serving router counts requests to one application on each router replica in the current UTC minute\. Anonymous requests count against their source address\. Signed\-in requests count against both the user and a separate limit for the source address's signed\-in requests\. The refusal comes before the request reaches the application\. `Retry-After` gives the seconds to the next UTC minute\. A `request_route` or `write_route` call counts in one window of their own for the acting account, sixty a minute\. A `check_app_sign_in` call counts in a window of its own for the acting account, ten a minute, and the accounts service counts the checks of each realm in a window of its own, ten a minute\.<br><br>For the dashboard picture route, an arrival without a verified dashboard cookie and current session uses the source window; an admitted arrival counts in its account's own window, sixty reads a minute\. | If the response gives `Retry-After`, wait that many seconds and retry below the limit\. For a request or logging limit without that header, retry below the limit when the next UTC minute starts\. For client registrations, wait until the earliest registration in the hour leaves that window\. |
| <a id="request_too_large-storage"></a>`request_too_large` | 413 | The request is over the surface's request bound, or over the bound a transfer grant accepts\. On the builder sign\-in, a client registration's declared body is over 16 KiB\. On every surface, the serving router among them, a body over the bound the surface's parser reads is refused the same way, the detail giving that bound\. | Reduce the request body to the byte bound the refusal detail gives, then send it again\. Keep a storage upload within the size its transfer grant accepts, and keep a client registration at sign\-in at or under 16 KiB\. |
| <a id="retired_host-storage"></a>`retired_host` | 421 | The hostname you sent the request to is one the platform retired\. The request is refused before any route runs, and the detail gives the current address\. A client that still uses the old name fails with a clear reason instead of working on it unnoticed\. | Change the address your client uses to the current address the detail gives, then send the request again\. |
| <a id="secret_grant_not_admitted-storage"></a>`secret_grant_not_admitted` | not fixed | The secret grant a `store_secret` call with no value mints serves the one write it records: the same action on the HTTP action route, with the grant's own name, application, and environment\. The grant a `submit_manifest` call with `local_run` mints serves two requests: `store_secret` with `replace: true` on that route, with no value, for the application's database credential and its platform credential at the development scope, each once\. Under either grant, every other surface, management action, and request is refused with this name \(403; a 401 challenge at the MCP server\) and uses nothing\. The exception is an action another rule refuses first\. The browser\-only action reads no credential, and an action that is switched off reads the grant and refuses with its switch's name; neither accepts the grant\. A provision grant claimed by its verifier is no grant anywhere else\. Every action but `store_secret` with `replace: true` over the wire, and every other surface, reads the verifier as a bearer that resolves to nothing, refused `authentication_required`\. The deploy command's progress read refuses it under that read's own name, `transfer_grant_not_admitted`\. | Run the command the preparing call returned once, as given: it makes the one write the grant allows\. For any other act, present the credential that surface accepts, for example a signed\-in session or a minted token on the management surface\. To write another name or at another scope, call `store_secret` with no value for that name and scope, and run the command it returns\. For the local run's grant, run the line the `submit_manifest` call returned, as given\. For a fresh one, run `turnzero provision --origin https://dev.turnzero.ai --application <application id>` with nothing piped and make any call it prints\. |
| <a id="storage_error"></a>`storage_error` | 500 | A storage route failed unexpectedly\. The platform records the failure under a reference that the detail gives, and the detail never includes the error's own message\. | Retry a read\. After a failed write or deletion, read the file and its current version to check whether the change took effect\. If a replacement is still needed, use a condition that protects the current version\. If it keeps failing, report the refusal with its reference\. |
| <a id="store_unavailable-storage"></a>`store_unavailable` | 503 | The plane's database did not respond to the credential lookup the guard runs, so the request was not processed; retry it\. On the storage, egress, and logging wires, the same refusal comes where the gateway had no entry within its stale ceiling\. On submit\_manifest, the control store failed while the manifest's upstreams were written after its record\. A write the failure followed is taken back where it can be, the manifest stays recorded, and the detail lists the upstreams declared, those not, and any left over\. A failure while the realm member or the push entry's providers are recorded, after the upstreams, takes nothing back\. What was recorded remains, and the detail lists the realms, or the push configurations, done and those not\. On the start\-line route, the line was not stored, and the workflow posts it again\. | For a transient refusal before processing, retry after a short wait\. If `submit_manifest` was processed in part, resubmit the same manifest to finish declarations, realms and push configuration before the next deploy or promote\. If the detail says no status record is bound, report it to the platform operator so the binding can be restored\. |
| <a id="token_scope_refused-storage"></a>`token_scope_refused` | 403 | An application\-bounded minted token was used on a subject of another application\. This also refuses `mint_token` when the caller presents an application\-bounded token\. The same refusal applies to such a token on the application\-less builder\-realm form of invitation, list\_invitations, or configure\_app\_sign\_in\. It also applies on every form of the four feedback actions, which take no application, and on declare\_storage\_area with remove true for an area outside its reach\. On declare\_outbound\_api with remove true, it refuses every application\-bounded token, since only the account's own credential ends an upstream\. | For a request scoped to an application, check that the action and its subject match the intended application\. Use a credential already authorized for that task\. An account image saved outside an application needs the account owner's access\. If the current credential cannot perform the intended task, ask the owner to act or approve the minimum access needed\. |
| <a id="transfer_grant_expired-storage"></a>`transfer_grant_expired` | 403 | The transfer grant passed its expiry, and its minter must mint another\. A deploy upload's grant allows its start only before its expiry\. | For an ordinary transfer, get a new grant for the same area, file and direction\. For an export download, request its download again and run the returned line, which skips local files already present\. For a deploy, first read `read_status` for the deployment and its `pending_upload`\. If the same upload has a `retry`, use it\. If no deploy started and the existing upload cannot start, call `deploy_command` with the application, naming no environment, and run the line it returns from the application folder\. If you hold only the command, ask the person monitoring it to check\. |
| <a id="transfer_grant_not_admitted-storage"></a>`transfer_grant_not_admitted` | not fixed | The transfer grant object storage mints serves its one file act and is refused by name everywhere else \(403; a 401 challenge at the MCP server\)\. An export's download grant serves only `GET` of a file by its name: its export's own files, and its application's stored files created by the time its export listed them\. A stored file created later is refused with `no_such_file` under it, as an absent name is, and not with this refusal\. An older grant with no recorded time for its export's file list gives this refusal for a stored file outside the export's own folder\. Ask for a fresh grant\. A deploy upload's grant also serves its upload's one start on `deploy`, giving its own application, the environment its preparing call recorded, and upload\. After that start, it serves the deploy command's progress reads of its own deploy inside their window, and the progress read refuses by this name every other credential and that grant before its start\. | Present the grant only on the one file route it covers, PUT or GET /storage/v0/areas/\{area\}/files/\{name\}, in the direction it was minted for\. Under an export's download grant, read a file by its name, never a listing, the deploy area, or another application's area\. Where a stored file the export's manifest lists is refused by this name, call `request_export` with `download: true` again and run the line it returns\. For any other act, present the credential that surface accepts, for example a signed\-in session or a minted token on the management surface\. A deploy upload's grant starts only its own upload and then reads only that deploy's progress, as the turnzero command does under the grant its preparing `deploy` call returns\. To read a deploy under your own credential, call `read_status`\. |
| <a id="transfer_grant_spent-storage"></a>`transfer_grant_spent` | 403 | The upload grant was spent by a write that landed, or, rarely, by a refused write whose hand\-back of the spend failed, which wrote nothing\. An upload grant serves one write\. A deploy upload's grant is also spent by a later preparing call of `deploy` for the application, which replaces the upload\. Its one start on `deploy` spends it too, a start the platform refused included\. A deploy upload's grant returns 200 for its zip sent again after its write landed, writing nothing, until it expires and unless a later deploy call replaced the upload, and refuses other bytes\. | For a file grant, check the existing write\. Mint a new grant only for a new write\. For a deploy grant, use `read_status` to read the existing deploy if it started\. If the same upload appears in `pending_upload` with a `retry`, make that call\. If the previous upload was replaced or never landed and no deploy started, call `deploy_command` with the application, naming no environment, and run the line it returns\. If you hold only the command, ask the person monitoring it to check\. |
| <a id="undeclared_area-storage"></a>`undeclared_area` | 404 | No area by that name is declared for your account, on a file route, the grant mint route, or mint\_upload\_grant\. Declare it with PUT /storage/v0/areas/\{area\} or declare\_storage\_area, or list it under areas in the manifest's object\_storage entry\. `list_storage_files` and `read_storage_file` also refuse an undeclared area\. | Declare the area first with declare\_storage\_area or PUT /storage/v0/areas/\{area\}, or list it under areas in the manifest's object\_storage entry and submit the manifest, then repeat the file request or the mint\. Check the name against list\_storage\_areas, which lists the areas the account has declared\. A name beginning `export-` or `deploy-` is the platform's and is never declared: choose another name\. |
| <a id="unknown_route"></a>`unknown_route` | 404 | The path is not one of the storage routes\. | Use the route for the content you need\. For a file or list, use the area's file or files route\. PUT declares an area and POST /storage/v0/grants mints a transfer grant\. For an account picture, use the image address the service returned under /storage/v0/account\-images/\. |
| <a id="upload_hash_mismatch-storage"></a>`upload_hash_mismatch` | 409 | The bytes a write sends under a deploy upload's grant, or the stored file the upload's start reads, are not the zip whose SHA\-256 the turnzero command's preparing `deploy` call gave as `zip_sha256`\. A refused write writes nothing and leaves the grant unspent, and a refused start deploys nothing\. | If the write refused the bytes, a live unspent grant can still send the exact bytes it was issued for\. If the archive changed or the stored upload's start refused its hash, prepare a new upload for the correct ZIP\. Call `deploy_command` with the application, naming no environment, and run the line it returns from the application folder\. |
| <a id="usage_over_quota-storage"></a>`usage_over_quota` | 429 | The application is over its stored\-data ceiling, or a push send would pass its month's push quantity\. No size meets this refusal for backend actions or data transfer\. A file put to an area bound to an application whose stored\-data state is over is refused\. So is deploy\_files with a file, keeping nothing\. A generate\_image call with that application is refused before counting or sending anything to the provider, saving nothing\. Gets, lists and deletes continue\. Stored data clears at the next successful daily check that reads it within the ceiling, or at a raised quantity\. On the push surface, a send past the size's push\-messages\-capacity cell accepts nothing\. | If you are using the application, report the refusal to its owner\. For stored data, identify the quantity in the detail and preserve needed data before removing anything\. Wait for the next daily check\. For push, wait until the next UTC month starts\. A larger size raises neither quantity\. For other limits, follow the detail\. |
| <a id="version_keeping_unsupported-storage"></a>`version_keeping_unsupported` | 400 | version\_keeping true refuses at v0: the surface retains no prior versions\. | Send the declaration again with version keeping declared false \(version\_keeping: false in declare\_storage\_area\)\. No setting of yours turns version keeping on at this version\. |
| <a id="version_mismatch"></a>`version_mismatch` | 412 | The conditional put gave a version that is no longer current\. The refusal body gives current\_version, the version now stored\. | Read current\_version from the refusal body\. If the write still applies over the stored content, send the put again with If\-Match set to that version\. |

## Egress

The egress gateway under /egress/v0 \(and the contract for the day limit\)\.

| Refusal | Status | Cause | Remedy |
|---|---|---|---|
| <a id="account_paused-egress"></a>`account_paused` | not fixed | The owning account used up its Free Allowance and has no live credit\. Unlimited applications are exempt\. The router returns 429 on every request to either hostname, including shell files and realm paths; scheduled runs are refused by the same name\. Storage reads, lists, puts, deletes and grant mints, and egress calls before an upstream is reached, answer 429\. Management acts that deploy, promote, roll back, restart or resume return 409 before writing a row\. `run_job` also returns 409 without starting a run\. `set_database_size` and `restore_database` also return 409 before a row is written\. A generate\_image call past the month's free images is refused 409 before the provider is called, counting and charging nothing\. New WebSocket upgrades are refused; open sockets close with code 1008 and reason `account paused`\. On the router, `Retry-After` gives seconds until the scheduled reset at the start of the next UTC month\. The router gives a request preferring HTML the pause page instead of JSON\.<br><br>On the email surface, sending is refused 429 with `Retry-After` in seconds and `resets_at`, the scheduled monthly reset\. Nothing is queued or counted\. | A paused account resumes when it has Free Allowance available again or credit it can use\. Check the current pause state before retrying\. To move a paused account's database back to shared, ask support for the operator\. `set_database_size` and `restore_database` are refused while paused\. |
| <a id="account_suspended-egress"></a>`account_suspended` | not fixed | The account is suspended\. On the management surface it is the account you act as \(403\), including for `run_job`\. On the router it is the account the served hostname belongs to \(503\)\. At the tunnel seat it is the calling application's account \(403\)\. On the builder sign\-in surface, a suspended account's sign\-in completion is refused with this name \(403\), whether it comes from a provider or a passkey\. That refusal creates no session, sets no cookie, and issues no code\. A grant is refused with this name \(403\) while the account recorded as its owner is suspended\. This covers a transfer grant on the storage surface, an upload grant on the deploy command's progress read, and a secret grant on its one write\. The grant works again once the account is reinstated, if it has not expired\. On the egress surface, an egress key is refused with this name \(403\) while its owning account is suspended\. The platform operator restores the account\. On the support read surface, a consent and a read for a suspended account are refused with this name \(403\)\. The tzMesh site token route also refuses a suspended account with this name \(403\), and mints no token\.<br><br>On the dashboard picture surface, a current dashboard session for a suspended account is refused \(403\)\. | Ask the platform operator about reinstatement\. After reinstatement, sign in again if the prior session ended, or reconnect your tool, then retry\. A still\-live grant can work again within its scope after reinstatement\. |
| <a id="allowance_application_required"></a>`allowance_application_required` | 403 | The platform upstream ai\-allowance accepts only an application's platform credential or a minted token bounded to one application\. The allowance belongs to the application, and interactive work never draws on it\. An account\-wide session or token is refused with this name\. | Make the call under the application's own platform credential, or under a token that mint\_token bounds to that one application\. For a local run, use the development environment's platform credential instead of your own sign\-in\. |
| <a id="allowance_busy"></a>`allowance_busy` | 429 | Your application already has as many allowance calls in flight on this gateway replica as the platform allows at once, the AI\_ALLOWANCE\_MAX\_CONCURRENT setting\. The call is refused, and your application can retry after one of them ends\. | Wait for one of the application's allowance calls already in flight to finish, then repeat the request\. |
| <a id="allowance_default_unavailable"></a>`allowance_default_unavailable` | 503 | The allowance request uses default, but this gateway has no default model set or read\. Nothing reached the provider\. | Name a model beginning gemini\- in the path, or ask the operator to set ai\_default\_model, then wait about sixty seconds and retry\. A failed settings read keeps the last successful reading\. |
| <a id="allowance_exhausted"></a>`allowance_exhausted` | 429 | The company's application on the unlimited plan has drawn its month's AI allowance\. No customer application with a size meets this refusal\. To continue, use the application's own stored key on its own declared upstream\. The body gives used, quota, and resets\_at, the first instant of the next UTC month\. | Wait until `resets_at`, the first instant of the next UTC month, and repeat the request\. To continue before then, store your own key with `store_secret`, declare its upstream, and call through it\. The provider bills those calls to your provider account\. |
| <a id="allowance_feature_refused"></a>`allowance_feature_refused` | 400 | The allowance call's body is not a JSON object, or it asks for a feature the included allowance does not cover: tools, cached content, or an audio or video output modality\. The call is refused before any key is read\. | Send a JSON body that asks for text or image generation alone: no tools, no cached content, and no audio or video output modality\. For one of those features, declare an upstream on your own stored key and call it there\. |
| <a id="allowance_path_refused"></a>`allowance_path_refused` | 403 | The platform upstream ai\-allowance accepts one request shape: a POST to the generateContent or streamGenerateContent method of a model whose name opens with gemini\-\. Any other path, method, or model name is refused with this name, so the platform key pays for Gemini models and nothing else\. Whether the platform's key reaches a given Gemini model is the provider's own response, passed through\. | Send POST to `/v1beta/models/<model>:generateContent` or `:streamGenerateContent`\. Use `default` or a model name starting with `gemini-` followed by at least one character\. For another model family, method or path, use a declared upstream on your own stored key\. |
| <a id="allowance_unavailable"></a>`allowance_unavailable` | 503 | The platform has no key for the included AI allowance, or its price table has no row in effect, so no allowance call goes through\. The detail says which\. The key is missing where the gateway setting gives no vault secret, or the core vault has no version under that name \(the credential register's ai\_allowance\_key row\)\. The price table is empty until the operator adds a row\. | Nothing you do corrects this, because only the platform's operator stores the allowance key or adds the price row\. Until then, call a declared upstream on your own stored key\. |
| <a id="authentication_required-egress"></a>`authentication_required` | 401 | No credential resolved to an account\. The refusal is the usual challenge giving the protected\-resource metadata, at the internal resolve endpoint gate, or at the audience gate the router applies\. On the management and MCP surfaces, the detail says whether the connection presented no credential or presented one that resolved to no account\. Where the credential you presented has the form of a short\-lived grant and the platform has no grant of that value, the detail says the grant was not accepted\. On the support read surface, a consent or its end without a signed\-in support cookie, and a read without a live support read token, are refused with this name \(401\)\.<br><br>A page\-only action is refused with this name, without a `WWW-Authenticate` challenge, where no API cookie call is admitted\. No bearer can call that row\.<br><br>The sign\-in removal is also refused with this where Sign out everywhere ended the acting session's generation before the removal's transaction\. | For the support read, ask the visitor to sign in on the website and share their account in that support chat\. The website gives the support agent a live read token for the chat\. If the consent or stop\-sharing action was refused, sign in on the website and repeat the action there\.<br><br>Where no credential was presented, nothing was done\. Ask the person to sign in to Turn Zero: in Claude Code they type /mcp and choose the server, in Codex they finish the page the add line opened or run codex mcp login, and the Claude app offers it at the connector\. Then make the call again\.<br><br>The turnzero command has its own sign\-in, which a tool's sign\-in does not make\. A signed\-in tool chooses its deploy route with read\_documentation, page /cloud/getting\-started/ways\-to\-deploy/\. It authorizes the computer where the command is selected; where the command is unavailable, the tool uses deploy\_files within its caps and the upload route past them\. The person runs turnzero login only where no in\-tool route works, or to renew their own login\. A job presents a minted token or the credential the surface takes\.<br><br>Where the credential you presented resolved to no account, sign in again and make the call again\. On an application's routes, have the end user sign in again\.<br><br>Where a grant was not accepted, it expired and was removed, or its value was changed\. If the command or line a tool call returned had the grant, make that call again and run the fresh command it returns\. If your application requested the grant, request another\. On an application's routes, the serving router refused the request before it reached the application\. Test the application's own authentication branches in its offline tests or in a local run\.<br><br>For a page\-only act, sign in on this site and use its page\. A bearer credential does not admit the call\. |
| <a id="credential_lookup_busy-egress"></a>`credential_lookup_busy` | 503 | The gateway could not start checking the credential for a storage, egress, logging, push, email, or job start request\. Its wait bound passed, two seconds by default, or its places for waiting lookups were full\. Each replica limits the lookups its credential cache cannot serve\. The request was not processed and counts toward no rate window\. | Repeat the same request unchanged after one second, the time the Retry\-After header gives\. It was not processed, so a repeat causes no duplicate effect\. A credential the gateway looked up within its cache interval, 30 seconds by default, is not looked up again\. |
| <a id="credential_not_in_custody-egress"></a>`credential_not_in_custody` | 409 | The declared credential name is missing from custody at the scope reached\. Use store\_secret to add it\. A declaration can use a value stored for one environment\. A gateway call reads its own environment's scope and the account scope\. A value stored only for the other environment cannot admit that call\. On declare\_outbound\_api, where the entry ended while the declaration was being written and the write cannot be taken back, the declaration remains as written and the detail says so\. | Store a value under the declared credential name with store\_secret, for the account or for the application's environment, then repeat the request\. Where the detail gives the other environment, store this environment's own value under the same name at this environment's scope of the application\. Each environment reads its own scope, so development can have a test key and production a live one\. A key both environments share can instead be stored once at the account scope under a new name\. Every upstream of the account that declares that name reads it, so declare the upstream again with that name\. Include the upstream's `sdk_settings` in that call, or omit the member, which keeps them; `sdk_settings` null removes them and ends the upstream's egress keys\. Where the detail says the declaration remains, declare the upstream again with a stored credential name, or store the credential again\. |
| <a id="credential_unreadable"></a>`credential_unreadable` | 502 | The upstream's stored secret exists, but the egress gateway could not read its value\. | The gateway stopped before sending the request upstream\. Retry the call\. If the refusal persists, ask the app owner to check the secret's name and scope and report the read failure\. If the value needs replacement, the owner can use `store_secret` with a private local file or enter it in their own terminal\. Keep the value out of chat, command output and reports\. |
| <a id="egress_daily_bytes_capped"></a>`egress_daily_bytes_capped` | 429 | Your application has moved more bytes today, in UTC, through outbound connections and calls to its own upstreams than its size's quantity allows\. Both sizes have the same quantity\. The tunnel proxy refuses new connections and cuts open ones at their next byte, recording the cut as refused\_bounds\. The gateway refuses calls to the application's own declared upstreams\. The body gives the day's bytes as count, the limit, and resets\_at, the first instant of the next UTC day\. | Wait for the instant resets\_at gives, the start of the next UTC day, then try again\. Read today's bytes and the limit in read\_usage's egress\_limits member\. A larger size does not raise it\. |
| <a id="egress_key_not_admitted-egress"></a>`egress_key_not_admitted` | not fixed | The egress key the platform mints for one upstream of one deployed compute works only on that upstream's keyed route\. Everywhere else it is refused with this name \(403\): another upstream, a management action, the storage and logging routes, a gated documentation tree's machine files, the push and email send routes, the job start route, and the realm surface\. The MCP server refuses it with a 401 challenge, and the tunnel seat with 407\. | Present the egress key only as the bearer of calls under the base URL in its setting, which the deploy set for that upstream\. To call another upstream the same way, declare it with its own `sdk_settings` and read that upstream's key setting\. For any other act, present the credential that surface accepts, such as the application's platform credential on the storage and logging routes\. |
| <a id="egress_link_local_address"></a>`egress_link_local_address` | 403 | At the tunnel proxy, the target is, or its name resolved to, a link\-local address when the connection is set up, the instance metadata address among them\. At the egress gateway, at each call, the declared upstream's host resolved to a link\-local address\. | Use a hostname that resolves only to public unicast addresses\. Make sure each redirect target meets the same rule\. If the manifest lists your upstream, update its base URL in the manifest's `upstreams` entry\. Run `submit_manifest` to record the change, then deploy\. Otherwise, run `declare_outbound_api` again under the same upstream name with the new base URL\. In `declare_outbound_api`, omit `sdk_settings` to keep them\. Set `sdk_settings` to null to remove them and end the upstream's egress keys\. For a platform\-managed upstream, report the refusal to the platform operator\. |
| <a id="egress_loopback_address"></a>`egress_loopback_address` | 403 | At the tunnel proxy, the target is, or its name resolved to, a loopback address when the connection is set up\. At the egress gateway, at each call, the declared upstream's host resolved to a loopback address\. | Use a hostname that resolves only to public unicast addresses\. Make sure each redirect target meets the same rule\. If the manifest lists your upstream, update its base URL in the manifest's `upstreams` entry\. Run `submit_manifest` to record the change, then deploy\. Otherwise, run `declare_outbound_api` again under the same upstream name with the new base URL\. In `declare_outbound_api`, omit `sdk_settings` to keep them\. Set `sdk_settings` to null to remove them and end the upstream's egress keys\. For a platform\-managed upstream, report the refusal to the platform operator\. |
| <a id="egress_platform_address"></a>`egress_platform_address` | 403 | At the tunnel proxy, the target is a platform endpoint by name, or is, or its name resolved to, an address in the platform's own range; no tunnel reaches it\. At the egress gateway, at each call, the declared upstream's host resolved to an address in the platform's own range\. | For a declared platform service, call its endpoint directly without a proxy\. If the manifest omits the service, add it under `services` with `submit_manifest` and deploy\. For an upstream, use a base URL on a host outside the platform range that resolves only to public unicast addresses\. If the manifest lists your upstream, update its base URL in the manifest's `upstreams` entry\. Run `submit_manifest` to record the change, then deploy\. Otherwise, run `declare_outbound_api` again under the same upstream name with the new base URL\. In `declare_outbound_api`, omit `sdk_settings` to keep them\. Set `sdk_settings` to null to remove them and end the upstream's egress keys\. For a platform\-managed upstream, report the refusal to the platform operator\. |
| <a id="egress_private_address"></a>`egress_private_address` | 403 | At the tunnel proxy, the target is, or its name resolved to, a private address when the connection is set up\. At the egress gateway, at each call, the declared upstream's host resolved to a private address\. | Use a hostname that resolves only to public unicast addresses\. Make sure each redirect target meets the same rule\. If the manifest lists your upstream, update its base URL in the manifest's `upstreams` entry\. Run `submit_manifest` to record the change, then deploy\. Otherwise, run `declare_outbound_api` again under the same upstream name with the new base URL\. In `declare_outbound_api`, omit `sdk_settings` to keep them\. Set `sdk_settings` to null to remove them and end the upstream's egress keys\. For a platform\-managed upstream, report the refusal to the platform operator\. |
| <a id="egress_reserved_address"></a>`egress_reserved_address` | 403 | At the tunnel proxy, the target is, or its name resolved to, a reserved, unspecified, documentation, benchmarking, or multicast address when the connection is set up\. At the egress gateway, at each call, the declared upstream's host resolved to an address in a reserved range\. | Use a hostname that resolves only to public unicast addresses\. Make sure each redirect target meets the same rule\. If the manifest lists your upstream, update its base URL in the manifest's `upstreams` entry\. Run `submit_manifest` to record the change, then deploy\. Otherwise, run `declare_outbound_api` again under the same upstream name with the new base URL\. In `declare_outbound_api`, omit `sdk_settings` to keep them\. Set `sdk_settings` to null to remove them and end the upstream's egress keys\. For a platform\-managed upstream, report the refusal to the platform operator\. |
| <a id="end_user_credential_not_admitted-egress"></a>`end_user_credential_not_admitted` | not fixed | The end\-user credential the accounts service issues is refused with this name on every surface except its own realm \(403; a 401 challenge at the MCP server\)\. | Use an end\-user credential for its realm's account routes\. On verification, send the platform credential as bearer and the end\-user session value in the body\. Storage, logging, egress, push and email use the application's admitted platform credential\. The account image route takes the account's own sign\-in or an account\-wide token\. For management or MCP, sign in to the account or use a minted token admitted by the action\. |
| <a id="environment_mismatch-egress"></a>`environment_mismatch` | 403 | The credential fixes the request's environment, and the request gave another one\. A platform credential fixes its bound environment, a transfer grant the one it was minted in, and an egress key its own on the keyed route\. The other environment came in the x\-turnzero\-cloud\-environment header, or in the body member environment on a log batch or the verification route\. Under any other credential, the header and that body member gave different environments\. | Make the `x-turnzero-cloud-environment` header and the body's `environment` agree when you send both\. Each must also match any environment the credential binds\. To reach another environment, use its platform credential\. Where the route admits an unbound minted token, give the intended environment in the header, or in the body's `environment` where the route accepts it\. |
| <a id="environment_required-egress"></a>`environment_required` | 400 | A session or a minted token, account\-wide or bounded to the application, gave no environment, or a value other than development or production\. On a file route, the file list, the grant mint, or a keyed egress call, the environment goes in the x\-turnzero\-cloud\-environment header\. On the verification route, it goes in that header or in the body member environment\. | Give development or production in the x\-turnzero\-cloud\-environment header on a route that accepts an unbound credential\. The verification route also accepts the body's environment member\. The application’s platform credential already supplies its environment\. |
| <a id="insufficient_scope-egress"></a>`insufficient_scope` | 403 | The OAuth access credential is valid for this service but lacks the scope required by the protected call; the challenge states the required scope\. | Start the OAuth authorization again from your tool and request the scope the challenge gives\. Renewing the existing token does not add a scope\. |
| <a id="internal-egress"></a>`internal` | 500 | An unexpected error while responding\. Where the detail gives a reference, the error is recorded on the platform side under that reference\. The detail is a fixed sentence and never the error's own message\.<br><br>For sign\-in identity removal, failure ending the exchange's tokens before the removal removes no identity\. If ending them again fails after the transaction, the refusal is internal and the identities have been removed\. | For removal of a sign\-in method, read the detail first\. If no method was removed, request the removal again\. If the method was removed, sign in with a remaining method and use Sign out everywhere as directed\. The removal is complete\. If that control fails, report the failure and quote any reference the detail gives\.<br><br>For other calls, check what the detail says about the outcome\. Retry when the request is safe to repeat\. If the refusal repeats, report it and quote the reference its detail gives\. |
| <a id="invalid_request-egress"></a>`invalid_request` | not fixed | The input is malformed or missing, and the detail gives the member\. Or the input has a NUL \(U\+0000\) or an unpaired UTF\-16 surrogate, and the detail gives the character\. This is the generic validation refusal of every surface\. On a management action, it also refuses a call that gives a member the action does not declare\. The detail lists that member, a nested one by its path, and every member declared at that place\. Where that list would pass the detail's budget, the detail gives each place's member count instead and points to the action's reference page, which lists them\. It also refuses a body the surface could not read, or a path segment whose escape does not decode, in the surface's own form, repeating nothing from the request\. On `create_space`, it also refuses a `space` deleted within the last 35 days, while its deletion marker remains, and nothing is created\. At a request for the `tzmesh` resource, and at the completion of its sign\-in, it also refuses a browser's prefetch, which holds no confirmation\. On `deploy_files`, a list entry with `content` under a path segment the zip leaves out is refused with `kept` and `refused`\. Its `kept` lists the content entries kept and each entry by `sha256` alone whose file the platform holds and could read as the refusal was built; `refused` lists the entries refused\.<br><br>Over HTTP, a value outside a bound an action's reference states is refused `invalid_request`\. Over MCP, your client's or the SDK's argument check runs first\. A rule checked only by the handler draws `invalid_request` on either route\. On the payment event route, a missing, malformed, invalid or stale signature, an unreadable event, or an event in the other mode receives the same refusal and changes nothing\. The detail discloses no class or request content\.<br><br>On `set_database_size`, the size is not one of its four values, production already has the requested size, or a dedicated size was requested for a serverless application\. A serverless application's database stays `database-shared`\. Nothing changes\.<br><br>The usual validation status is \(400\)\. On the builder's Allow page, a confirmation posted from outside the sign\-in page's origin or without a recent sign\-in receives \(403\)\. Browser checks can also return \(403\) when you confirm or cancel an approval, open or sign in to a test account, or cancel a builder connection\. A provider callback that uses a method the route does not accept receives \(405\)\. | Correct the member the detail gives, or send a member the action declares in place of one it does not; the detail or the action's reference page lists them\. Or remove the character the detail identifies\. Then send the request again\. For a deleted space's identifier, pass another `space`, or leave it out and the platform chooses one\. A refused prefetch needs nothing: the request is served when the person opens it\.<br><br>For payment events, the payment provider sends this request\. The platform operator checks the provider's delivery record and the platform's refusal record\. The response gives the same detail for every payment\-event validation failure\.<br><br>For a 403 on a browser confirmation, return to your tool and sign in again\. Use the confirmation page in the same browser with a recent sign\-in\. For a 405 on a provider callback, use the method its detail gives\. The provider sends that callback\. |
| <a id="invalid_token-egress"></a>`invalid_token` | 401 | A protected call presents a credential that cannot authenticate to this service, and the WWW\-Authenticate header gives the standard OAuth error\. A missing credential gets no OAuth error parameter\. | For tool sign\-in, refresh the access token where available or sign in again\. For push or email, use the platform credential from the intended application's backend\. On a route that accepts an application\-bounded minted token, use one admitted by that route\. |
| <a id="issue_tracking_application_required"></a>`issue_tracking_application_required` | 403 | The platform upstream issue\-tracking accepts only an application's platform credential or a minted token bounded to one application, because the space belongs to one application\. An account\-wide session or token is refused with this name\. | Make the call under the application's own platform credential, or under a token that mint\_token bounds to that one application\. To read an application's reports yourself, call read\_feedback with the application's space\. Settle its issues with settle\_feedback and the space, or through relay\_issue\_act under an issues token\. |
| <a id="issue_tracking_call_refused"></a>`issue_tracking_call_refused` | 403 | The platform upstream issue\-tracking accepts only the calls that the issue tracking package's permission\-level table marks as allowed through the gateway\. For an application using its own space or a space of its account, it accepts only the calls of the level it reaches that space at\. The `report` level, the level of an application's own space in both environments, can file and read reports, and cannot update or settle anything\. Every other call path is refused with this name before any token is read\. Among them are delete\_space, the stored\-bytes read, and every 0\.3\.0 call except submit, read, list, and search\. At the `report` level, a list call that filters by proposed is refused before any token is read, on either wire, while its other filters are accepted\. A binding with a `components` list can make only the 0\.3\.0 submit, read, list, and search calls\. Every other call is refused for it, the whole 0\.2\.0 wire included\. | Make only the calls the issue tracking package's client makes on the gateway, within the level your application reaches its space at\. You update, settle, and export the space through the management actions under an issues token\. The platform deletes a space with its application, and no call of the application deletes it\. At the `report` level, leave proposed out of a list call: its other filters are accepted, and a binding at the contribute level can filter by it\. Under a binding with a `components` list, make only those four calls, on the 0\.3\.0 wire\. |
| <a id="issue_tracking_not_provisioned"></a>`issue_tracking_not_provisioned` | 409 | The platform upstream issue\-tracking found no issue\-tracking space for your application's calling environment: no space is bound to it, and no space token is stored for it\. The detail gives the manifest kind issue\_tracking, whose declaration provisions a space\. | Add \{"kind": "issue\_tracking"\} to the manifest's services and submit it with submit\_manifest, which provisions one space for both environments\. Where that provisioning was refused, or the application has a space for each environment, production's space is provisioned at the first promote, or at a one\-environment application's first production deploy\. Then repeat the request\. |
| <a id="issue_tracking_unavailable"></a>`issue_tracking_unavailable` | 503 | The platform upstream issue\-tracking cannot pass the call on\. Either this platform serves no issue service, so its gateways have no service origin, or the environment's space token is stored but its value could not be read\. The detail says which, and the call reaches no service\. | Repeat the request after a short wait, because a failed read of the stored token may succeed on the next call\. Where the detail says no issue service is served, nothing you do corrects it, so report it with its reference\. |
| <a id="misdirected_origin-egress"></a>`misdirected_origin` | 421 | Your request reached a public service without going through the platform's edge\. Behind the edge, every request must include the edge's profile identifier in its identifier header, and a forwarded host and scheme equal to the configured origin\. A request that does not is refused before any route runs\. The detail gives the forwarded host and scheme the service saw\. A request from an address of a hosting cell is refused the same way even when it has the identifier, and its detail gives that address\. The health reads, and the sign\-in requests the platform's serving router forwards for an application's end\-user realm, are exempt\. The check is off where no edge profile identifier is configured\. Where an estate sets a REST host, that host serves its own API path and nothing else, and that path is refused under any other host, the public origin among them; this holds with or without an edge profile identifier\. | Send the request through the platform's edge to the public origin the detail gives, <https://turnzero.ai> on production, and not to a service's own hostname\. The detail also gives the host and scheme the service saw\. Where the detail gives a REST host's address, call that address\. |
| <a id="plan_quantity_unset-egress"></a>`plan_quantity_unset` | 409 | The size's served quantity, or the unlimited plan's quantity, is Unset\. An Unset quantity is no row, or a row with no quantity, in the served quota table\. It is never read as zero, unlimited, or a default\. The refusal gives the quota key and measure\. It can refuse create\_application with that size, set\_app\_size onto it, database provisioning, and submit\_manifest declaring a schedule\. It also refuses deploy, promote, roll\_back and restart\_application before adding a version where the application's environment has a database\.<br><br>Push sends and email sends refuse for an unset quantity; for a size, email reads the hour and day cells\. An allowance call on the egress surface can refuse for an application on the unlimited plan, never for a size\.<br><br>The operator's placement on the unlimited plan refuses where a row for any entry Pro sets is absent or Unset, a served value's among them\. A served value's own reader reads an absent row as its default or as no bound\. The operator sets the quantity and records the pricing\-registry cell\. | Nothing you do sets the quantity\. Ask the platform operator to set the quantity for the quota key and measure the refusal gives, then repeat the request\. |
| <a id="platform_minted_name-egress"></a>`platform_minted_name` | 409 | A call used the name of a credential the platform minted for one of your account's applications\. The refusing calls are store\_secret, delete\_secret, configure\_app\_sign\_in, configure\_push, declare\_outbound\_api, and a `settings` binding at submit\_manifest, deploy, or promote\. The platform mints three: the database credential `database-<application id>`, the platform credential `credential-<application id>`, and the issue\-tracking token `issue-tracking-<application id>`\. The call was refused before any write\. On the egress surface, a call through a declaration that uses one is refused before any custody read, so no declared upstream presents a value the platform minted\. A platform\-minted name stays the platform's to rotate\. A realm's client secret or Apple signing key is a name you stored\. On the development scope alone, store\_secret with replace: true re\-mints the first two, never under a store or a rotate grant, and it refuses the issue\-tracking token at every scope\. The delete\_secret action refuses all three at every scope, since each ends with its environment, application, or account\. | Pass store\_secret a name of your own, and use that name in configure\_app\_sign\_in, configure\_push, declare\_outbound\_api, or a manifest binding\. To re\-mint a development credential, run `turnzero provision --origin https://dev.turnzero.ai --application <application id>` with nothing piped, adding `--origin` where your other lines include one, and make any call it prints\. Its line calls store\_secret with replace: true on the development scope\. To rotate a production credential, call promote, with rotate\_database\_credential true for the database credential\. A call refused at the gateway succeeds once the upstream is declared again under a name of your own\. Include the upstream's `sdk_settings` in that call, or omit the member, which keeps them; `sdk_settings` null removes them and ends the upstream's egress keys\. |
| <a id="rate_capped-egress"></a>`rate_capped` | 429 | The request reached a limit on the count for its window\. The limit can be on an application's logging batches per minute or on a source address's client registrations per hour\. The control plane and the router's admission limits count requests in the current UTC minute\. A page view of the site counts in a page window of its own, six hundred a minute\. A call to read\_library on the actions route counts in a library window of its own, four thousand a minute\. A call to search\_documentation presenting no credential counts in a documentation search window of its own, one hundred and twenty a minute\. Where no separate window or exemption applies on the control plane, the source window counts six hundred requests a minute\. A signed\-in approval or dashboard arrival spends no source window\. Across the six gateway routes for storage, egress, logging, push, email, and job start, requests that resolve to the same credential share a limit of six hundred requests per UTC minute, even when they come from different source addresses\. For admission, each of these requests counts only toward the credential's limit\. A presented value there that resolves to no credential counts in a window of its own for the source, six hundred a minute, apart from the source window\. On those routes, a request through the edge whose source is at that bound is refused before its credential is looked up, unless the gateway already has that credential\. On the deploy command's progress read, a read under its upload's started grant counts in a window keyed on that grant's identity\. A read there that presents anything else counts in the source window, which once full refuses the source before any lookup\. At the control plane, the admission window's refusal includes Retry\-After, the seconds to the next minute\. The serving router counts requests to one application on each router replica in the current UTC minute\. Anonymous requests count against their source address\. Signed\-in requests count against both the user and a separate limit for the source address's signed\-in requests\. The refusal comes before the request reaches the application\. `Retry-After` gives the seconds to the next UTC minute\. A `request_route` or `write_route` call counts in one window of their own for the acting account, sixty a minute\. A `check_app_sign_in` call counts in a window of its own for the acting account, ten a minute, and the accounts service counts the checks of each realm in a window of its own, ten a minute\.<br><br>For the dashboard picture route, an arrival without a verified dashboard cookie and current session uses the source window; an admitted arrival counts in its account's own window, sixty reads a minute\. | If the response gives `Retry-After`, wait that many seconds and retry below the limit\. For a request or logging limit without that header, retry below the limit when the next UTC minute starts\. For client registrations, wait until the earliest registration in the hour leaves that window\. |
| <a id="refused_base_url"></a>`refused_base_url` | 400 | The declared upstream's base URL is refused at the call\. It is not https, contains a user name or password, or uses an outbound mail port\. Or its host is a loopback, metadata, or internal name, or an address outside public unicast\. Declare the upstream again\. | Correct the base URL to an https address on a public host, then run declare\_outbound\_api again under the same upstream name\. Include the upstream's `sdk_settings` in that call, or omit the member, which keeps them; `sdk_settings` null removes them and ends the upstream's egress keys\. A base URL on an outbound mail port \(25, 465, 587, or 2525\) is refused as well\. Send mail through a mail provider's HTTPS API, declared as an upstream\. Where the upstream is ai\-allowance or issue\-tracking, its base URL is a platform setting, so report the refusal with its detail\. |
| <a id="refused_platform_host-egress"></a>`refused_platform_host` | 400 | declare\_outbound\_api, and the egress gateway at each call: the base URL's host is one of the platform's own, which no declared upstream can reach\. The platform's own hosts are its vaults, its storage accounts, its container registries, its own service hostnames, and the management and sign\-in endpoints of the provider the platform runs on\. The detail gives the host\. The refusal is by hostname and never by a provider's domain, so your own vault, storage account, or registry at the same provider is accepted\. | Choose a base URL on a host you control\. If the manifest lists your upstream, update its base URL in the manifest's `upstreams` entry\. Run `submit_manifest` to record the change, then deploy\. Otherwise, resubmit `declare_outbound_api` with the same upstream name and the new base URL\. In `declare_outbound_api`, omit `sdk_settings` to keep them\. Set `sdk_settings` to null to remove them and end the upstream's egress keys\. For a platform\-managed upstream, report the refusal to the platform operator\. |
| <a id="request_too_large-egress"></a>`request_too_large` | 413 | The request is over the surface's request bound, or over the bound a transfer grant accepts\. On the builder sign\-in, a client registration's declared body is over 16 KiB\. On every surface, the serving router among them, a body over the bound the surface's parser reads is refused the same way, the detail giving that bound\. | Reduce the request body to the byte bound the refusal detail gives, then send it again\. Keep a storage upload within the size its transfer grant accepts, and keep a client registration at sign\-in at or under 16 KiB\. |
| <a id="response_too_large"></a>`response_too_large` | 502 | The upstream's response is larger than the gateway's response limit\. A streamed response is cut before the chunk that crosses the limit, and ends with this refusal as its final event\. | Request a smaller response, using paging where the upstream offers it\. If a stream sent some content before its final `egress_error`, treat that content as an incomplete response\. |
| <a id="retired_host-egress"></a>`retired_host` | 421 | The hostname you sent the request to is one the platform retired\. The request is refused before any route runs, and the detail gives the current address\. A client that still uses the old name fails with a clear reason instead of working on it unnoticed\. | Change the address your client uses to the current address the detail gives, then send the request again\. |
| <a id="secret_grant_not_admitted-egress"></a>`secret_grant_not_admitted` | not fixed | The secret grant a `store_secret` call with no value mints serves the one write it records: the same action on the HTTP action route, with the grant's own name, application, and environment\. The grant a `submit_manifest` call with `local_run` mints serves two requests: `store_secret` with `replace: true` on that route, with no value, for the application's database credential and its platform credential at the development scope, each once\. Under either grant, every other surface, management action, and request is refused with this name \(403; a 401 challenge at the MCP server\) and uses nothing\. The exception is an action another rule refuses first\. The browser\-only action reads no credential, and an action that is switched off reads the grant and refuses with its switch's name; neither accepts the grant\. A provision grant claimed by its verifier is no grant anywhere else\. Every action but `store_secret` with `replace: true` over the wire, and every other surface, reads the verifier as a bearer that resolves to nothing, refused `authentication_required`\. The deploy command's progress read refuses it under that read's own name, `transfer_grant_not_admitted`\. | Run the command the preparing call returned once, as given: it makes the one write the grant allows\. For any other act, present the credential that surface accepts, for example a signed\-in session or a minted token on the management surface\. To write another name or at another scope, call `store_secret` with no value for that name and scope, and run the command it returns\. For the local run's grant, run the line the `submit_manifest` call returned, as given\. For a fresh one, run `turnzero provision --origin https://dev.turnzero.ai --application <application id>` with nothing piped and make any call it prints\. |
| <a id="store_unavailable-egress"></a>`store_unavailable` | 503 | The plane's database did not respond to the credential lookup the guard runs, so the request was not processed; retry it\. On the storage, egress, and logging wires, the same refusal comes where the gateway had no entry within its stale ceiling\. On submit\_manifest, the control store failed while the manifest's upstreams were written after its record\. A write the failure followed is taken back where it can be, the manifest stays recorded, and the detail lists the upstreams declared, those not, and any left over\. A failure while the realm member or the push entry's providers are recorded, after the upstreams, takes nothing back\. What was recorded remains, and the detail lists the realms, or the push configurations, done and those not\. On the start\-line route, the line was not stored, and the workflow posts it again\. | For a transient refusal before processing, retry after a short wait\. If `submit_manifest` was processed in part, resubmit the same manifest to finish declarations, realms and push configuration before the next deploy or promote\. If the detail says no status record is bound, report it to the platform operator so the binding can be restored\. |
| <a id="transfer_grant_not_admitted-egress"></a>`transfer_grant_not_admitted` | not fixed | The transfer grant object storage mints serves its one file act and is refused by name everywhere else \(403; a 401 challenge at the MCP server\)\. An export's download grant serves only `GET` of a file by its name: its export's own files, and its application's stored files created by the time its export listed them\. A stored file created later is refused with `no_such_file` under it, as an absent name is, and not with this refusal\. An older grant with no recorded time for its export's file list gives this refusal for a stored file outside the export's own folder\. Ask for a fresh grant\. A deploy upload's grant also serves its upload's one start on `deploy`, giving its own application, the environment its preparing call recorded, and upload\. After that start, it serves the deploy command's progress reads of its own deploy inside their window, and the progress read refuses by this name every other credential and that grant before its start\. | Present the grant only on the one file route it covers, PUT or GET /storage/v0/areas/\{area\}/files/\{name\}, in the direction it was minted for\. Under an export's download grant, read a file by its name, never a listing, the deploy area, or another application's area\. Where a stored file the export's manifest lists is refused by this name, call `request_export` with `download: true` again and run the line it returns\. For any other act, present the credential that surface accepts, for example a signed\-in session or a minted token on the management surface\. A deploy upload's grant starts only its own upload and then reads only that deploy's progress, as the turnzero command does under the grant its preparing `deploy` call returns\. To read a deploy under your own credential, call `read_status`\. |
| <a id="tztrack_required-egress"></a>`tztrack_required` | 403 | The account does not hold the tzTrack product profile, `tztrack`, which opens its issue spaces; every account holds it by the product rule\. On create\_space, share\_space, list\_space\_members, rename\_space, and relay\_issue\_act it refuses every call after the dispatcher's text check and ahead of the request's form, the space's owner, and the token's level, nothing created or relayed\. A connected tool lists none of the five to the account\.<br><br>With enable\_reviews true, set\_ai\_passes checks this licence before any charge or option change\. A connected tool still lists set\_ai\_passes\.<br><br>On mint\_token it refuses a token asking for the issues grant\. It refuses a token asking for the tztrack grant the same way, at the mint and at the code's exchange\. On the egress gateway it refuses a hosted application's call through its binding to a space of its account\. | Every account holds tzTrack by the product rule, so no act adds it\. Repeat the request; read\_account lists the products the account holds\. |
| <a id="undeclared_upstream"></a>`undeclared_upstream` | 404 | No upstream with that name is declared for your account\. Declare it with declare\_outbound\_api\. | If the detail rejects the upstream name itself, correct the name in your request\. Then check it with `list_outbound_apis`\. If the corrected name is absent, declare it with `declare_outbound_api` before sending the request again\. |
| <a id="unknown_upstream"></a>`unknown_upstream` | 404 | The path has no upstream segment, or its upstream segment contains a NUL character \(U\+0000\) or an unpaired surrogate\. | Send the call to /egress/v0/&lt;upstream&gt;/&lt;path&gt;, the declared upstream's name in place of &lt;upstream&gt;\. |
| <a id="upstream_scope_refused"></a>`upstream_scope_refused` | 403 | Your credential does not reach the upstream declaration\. An upstream accepts its own application's credentials and an account\-wide credential that no bounding grant bounds\. A credential bounded by any of the bounding grants the contract lists, `tztrack`, `tzmesh`, and `device_sign_in` among them, reaches no upstream of the account\. | Check that the upstream belongs to the intended application\. Use a credential already authorized for that upstream\. A token with the synthetic\_seed\_purge, synthetic\_estate, publication, feedback\_queue, or issues grant stays within that grant\. If the task needs other access, ask the owner to act or approve the minimum access needed\. |
| <a id="upstream_timeout"></a>`upstream_timeout` | 504 | The upstream took longer than the gateway's time limit, which covers a streamed response's whole life\. A streamed response ends with this refusal as its final event\. | Retry a read if needed\. For a write, retry only if it did not take effect or the upstream supports reusing the same idempotency key\. Treat a cut\-off stream as incomplete\. If the refusal repeats, report its detail\. |
| <a id="upstream_unreachable"></a>`upstream_unreachable` | 502 | The connection to the upstream failed, its host resolved to no address, or the transport failed mid\-stream\. At the `report` level, the `issue-tracking` upstream also refuses with this name a successful response it cannot read as the wire's JSON object\. | If resolution fails, correct the destination you manage or report a platform\-managed origin\. For other transport errors, retry a read if needed\. For a write, retry only if it did not take effect or the upstream supports reusing the same idempotency key\. Treat a cut\-off stream as incomplete\. |

## Realm surface

The accounts service: the end\-user sign\-in, passkey, session, and deletion routes on the application hostname, the platform\-origin callback pages, and the verification route /accounts/v0/verify\.

| Refusal | Status | Cause | Remedy |
|---|---|---|---|
| <a id="account_picture_not_yet_served-realm_surface"></a>`account_picture_not_yet_served` | 403 | The estate's `account_picture` setting reads `off`\. The accounts service mints no token and spends no ticket\. The dashboard picture route and the three page\-only picture actions stop before any ticket, token request or tzMesh call\. | Nothing you do enables account pictures\. The platform operator enables the setting when the estate serves them\. |
| <a id="account_suspended-realm_surface"></a>`account_suspended` | not fixed | The account is suspended\. On the management surface it is the account you act as \(403\), including for `run_job`\. On the router it is the account the served hostname belongs to \(503\)\. At the tunnel seat it is the calling application's account \(403\)\. On the builder sign\-in surface, a suspended account's sign\-in completion is refused with this name \(403\), whether it comes from a provider or a passkey\. That refusal creates no session, sets no cookie, and issues no code\. A grant is refused with this name \(403\) while the account recorded as its owner is suspended\. This covers a transfer grant on the storage surface, an upload grant on the deploy command's progress read, and a secret grant on its one write\. The grant works again once the account is reinstated, if it has not expired\. On the egress surface, an egress key is refused with this name \(403\) while its owning account is suspended\. The platform operator restores the account\. On the support read surface, a consent and a read for a suspended account are refused with this name \(403\)\. The tzMesh site token route also refuses a suspended account with this name \(403\), and mints no token\.<br><br>On the dashboard picture surface, a current dashboard session for a suspended account is refused \(403\)\. | Ask the platform operator about reinstatement\. After reinstatement, sign in again if the prior session ended, or reconnect your tool, then retry\. A still\-live grant can work again within its scope after reinstatement\. |
| <a id="address_held_by_another_account"></a>`address_held_by_another_account` | 409 | You tried to link a sign\-in to an account, and the address its provider verified already belongs to a different account of the same realm\. One verified address belongs to one account\. Nothing is linked and nothing is merged\. You meet this refusal on the page that completes a link\_identity link, and at the link the platform offers when a sign\-in's address matches an existing account\. On an application's end\-user realm, an emailed\-code sign\-in that joins an existing account can meet it too\. It applies on the builder realm and on an end\-user realm alike\. | If you used a link to add a sign\-in method, return to it and choose a different method or address\. If the app refused an emailed\-code sign\-in, start a new sign\-in with a different address\. To use the account that already holds this address, sign in with one of its existing methods\. Both accounts stay unchanged\. |
| <a id="audience_mismatch"></a>`audience_mismatch` | 403 | The provider's ID token does not name the client declared for this realm as an audience\. | If you are signing in, report the refusal to the application's author\. As the author, compare `entra.client_id` with the tenant registration's client ID for Entra, or `apple.services_id` with the Services ID for Apple\. For OpenID Connect, compare `oidc.client_id` with the provider's registration for this environment\. Correct a field the manifest sets in `realm` and call `submit_manifest`\. Otherwise use `configure_app_sign_in`\. Then ask the end user to sign in again\. |
| <a id="authentication_required-realm_surface"></a>`authentication_required` | 401 | No credential resolved to an account\. The refusal is the usual challenge giving the protected\-resource metadata, at the internal resolve endpoint gate, or at the audience gate the router applies\. On the management and MCP surfaces, the detail says whether the connection presented no credential or presented one that resolved to no account\. Where the credential you presented has the form of a short\-lived grant and the platform has no grant of that value, the detail says the grant was not accepted\. On the support read surface, a consent or its end without a signed\-in support cookie, and a read without a live support read token, are refused with this name \(401\)\.<br><br>A page\-only action is refused with this name, without a `WWW-Authenticate` challenge, where no API cookie call is admitted\. No bearer can call that row\.<br><br>The sign\-in removal is also refused with this where Sign out everywhere ended the acting session's generation before the removal's transaction\. | For the support read, ask the visitor to sign in on the website and share their account in that support chat\. The website gives the support agent a live read token for the chat\. If the consent or stop\-sharing action was refused, sign in on the website and repeat the action there\.<br><br>Where no credential was presented, nothing was done\. Ask the person to sign in to Turn Zero: in Claude Code they type /mcp and choose the server, in Codex they finish the page the add line opened or run codex mcp login, and the Claude app offers it at the connector\. Then make the call again\.<br><br>The turnzero command has its own sign\-in, which a tool's sign\-in does not make\. A signed\-in tool chooses its deploy route with read\_documentation, page /cloud/getting\-started/ways\-to\-deploy/\. It authorizes the computer where the command is selected; where the command is unavailable, the tool uses deploy\_files within its caps and the upload route past them\. The person runs turnzero login only where no in\-tool route works, or to renew their own login\. A job presents a minted token or the credential the surface takes\.<br><br>Where the credential you presented resolved to no account, sign in again and make the call again\. On an application's routes, have the end user sign in again\.<br><br>Where a grant was not accepted, it expired and was removed, or its value was changed\. If the command or line a tool call returned had the grant, make that call again and run the fresh command it returns\. If your application requested the grant, request another\. On an application's routes, the serving router refused the request before it reached the application\. Test the application's own authentication branches in its offline tests or in a local run\.<br><br>For a page\-only act, sign in on this site and use its page\. A bearer credential does not admit the call\. |
| <a id="client_secret_unreadable"></a>`client_secret_unreadable` | 403 | The platform could not read the client secret during the token exchange\. For Sign in with Apple, the signing key could not be read or could not sign the client secret\. | If you are signing in, report the refusal to the app owner\. As the owner, check the configured name and environment\. If the value needs replacement, use `store_secret` for this application and realm environment under `entra.client_secret_name`, `apple.key_secret_name` or `oidc.client_secret_name`\. Supply the value from a private local file or enter it in your own terminal\. Keep it out of chat, command output and reports\. For Sign in with Apple, the key uses ES256 and PKCS\#8 text\. For OpenID Connect, check that `oidc.client_secret_name` matches the stored secret's name\. If the recorded manifest sets the secret's name, submit it again with `submit_manifest` to move the secret into the realm vault\. Ask the end user to sign in again\. If the refusal repeats, report its name and reference to platform support\. |
| <a id="continue_new_removed"></a>`continue_new_removed` | 410 | The continue\-new route is retired\. The platform no longer creates a separate account under an address that an existing account already has\. The only way on is to link the sign\-in to that account\. | Link the sign\-in method to the account that already holds the verified address\. Sign in with a method that account already has\. If the page offers it, request a code to that address and enter it\. If the linking page closed, start sign\-in again\. |
| <a id="development_realm_full"></a>`development_realm_full` | 403 | A sign\-in would create a new end\-user account in a development realm that already has the served `development-realm-account-limit` for its size, ten\. Nothing is created, and an existing account still signs in\. The production realm has no such cap\. | Sign in with your existing development account, or ask the application owner about the limit\. If you own the application, remove a development user only after deciding their data can be deleted\. Use delete\_end\_user for development and approve it in the browser\. Ask the platform operator about raising the limit\. |
| <a id="egress_key_not_admitted-realm_surface"></a>`egress_key_not_admitted` | not fixed | The egress key the platform mints for one upstream of one deployed compute works only on that upstream's keyed route\. Everywhere else it is refused with this name \(403\): another upstream, a management action, the storage and logging routes, a gated documentation tree's machine files, the push and email send routes, the job start route, and the realm surface\. The MCP server refuses it with a 401 challenge, and the tunnel seat with 407\. | Present the egress key only as the bearer of calls under the base URL in its setting, which the deploy set for that upstream\. To call another upstream the same way, declare it with its own `sdk_settings` and read that upstream's key setting\. For any other act, present the credential that surface accepts, such as the application's platform credential on the storage and logging routes\. |
| <a id="email_domain_undeliverable-realm_surface"></a>`email_domain_undeliverable` | 400 | The address's domain has no mail server: it does not exist, it publishes a null MX, or it publishes no MX and no A or AAAA record with a public address\. The platform checks before an emailed\-code start outside the fixture domain, and before the application\-less form of invitation's issue act, the one form that sends\. Nothing was sent, no code is pending, and no invitation was issued\. | Check the address for a typo and try again with the corrected address\. On a sign\-in page, another sign\-in method also works\. For a builder invitation, issue it to an address whose domain accepts mail\. |
| <a id="end_user_credential_not_admitted-realm_surface"></a>`end_user_credential_not_admitted` | not fixed | The end\-user credential the accounts service issues is refused with this name on every surface except its own realm \(403; a 401 challenge at the MCP server\)\. | Use an end\-user credential for its realm's account routes\. On verification, send the platform credential as bearer and the end\-user session value in the body\. Storage, logging, egress, push and email use the application's admitted platform credential\. The account image route takes the account's own sign\-in or an account\-wide token\. For management or MCP, sign in to the account or use a minted token admitted by the action\. |
| <a id="environment_mismatch-realm_surface"></a>`environment_mismatch` | 403 | The credential fixes the request's environment, and the request gave another one\. A platform credential fixes its bound environment, a transfer grant the one it was minted in, and an egress key its own on the keyed route\. The other environment came in the x\-turnzero\-cloud\-environment header, or in the body member environment on a log batch or the verification route\. Under any other credential, the header and that body member gave different environments\. | Make the `x-turnzero-cloud-environment` header and the body's `environment` agree when you send both\. Each must also match any environment the credential binds\. To reach another environment, use its platform credential\. Where the route admits an unbound minted token, give the intended environment in the header, or in the body's `environment` where the route accepts it\. |
| <a id="environment_not_created-realm_surface"></a>`environment_not_created` | 409 | The call gives an environment the application does not have\. A new application has one environment, production, so an act on development is refused\. So is `promote`, which needs a development environment to promote from\. The exception is `delete_environment`, which is accepted and removes what is left\. That applies where a development database setup exists, whole or stopped partway, or a deletion of it stopped, or where an earlier revision left a development realm or hosted placement\. For an app with only production, `read_logs` gives this refusal for development\. Use `local` to read logs from local runs\. `read_counters` can return retained development totals\. An empty development counter read gives this refusal\. | For a call that accepts an environment, use production if it is the intended target\. On an app with production alone, a deploy reaches production and `roll_back` can restore an earlier eligible production version\. An account connection can add development when needed\. For session verification, use the app's production realm or ask its owner to add development\. |
| <a id="environment_required-realm_surface"></a>`environment_required` | 400 | A session or a minted token, account\-wide or bounded to the application, gave no environment, or a value other than development or production\. On a file route, the file list, the grant mint, or a keyed egress call, the environment goes in the x\-turnzero\-cloud\-environment header\. On the verification route, it goes in that header or in the body member environment\. | Give development or production in the x\-turnzero\-cloud\-environment header on a route that accepts an unbound credential\. The verification route also accepts the body's environment member\. The application’s platform credential already supplies its environment\. |
| <a id="erasure_ticket_refused"></a>`erasure_ticket_refused` | 403 | The accounts service's erase\-token route received no live erasure ticket for the account: the ticket is missing, spent, expired, or for another account\. | Nothing you call corrects this\. Only the account's erasure walk presents a ticket, and the walk retries\. |
| <a id="fixture_address_reserved"></a>`fixture_address_reserved` | 403 | A provider sign\-in reached a customer's realm with an address at the reserved fixture domain synthetic\.turnzero\.ai, verified or not, and no unexpired test end user has that address\. The domain is reserved for test fixtures, so nothing is created or joined\. The refusal is a page at the provider's callback and JSON at the native ID\-token exchange\. | Sign in with an address outside the fixture domain\. For a test, the application's author or an admitted test operator creates the test end user with `add_test_end_users` and a label\. Use the realm's test sign\-in page and emailed code for that test user\. |
| <a id="fresh_authentication_required-realm_surface"></a>`fresh_authentication_required` | 403 | On the realm surface, an act arrived without the fresh authentication it needs\. Removing a passkey needs an assertion made for that removal\. Removing a passkey its device no longer has, reverting a passkey change, registering a passkey outside the sign\-in's offer, and deleting the account each need a fresh authentication within the last five minutes\. Under a native session, the deletion's fresh authentication is an authorization with prompt=login, its code exchanged at the token endpoint with the session's token as the bearer\. On a management action, a state\-changing action under the browser session arrived more than the freshness window after the sign\-in that created the session\. A page then shows a sign\-in link\. | To remove a passkey, send the removal with an assertion made for that removal\. For a passkey its device no longer has, a passkey change to revert, or a registration outside the sign\-in's offer, reauthenticate first, then repeat within five minutes\. Reauthenticate by start/&lt;provider&gt;?intent=reauth&amp;return=app, by email/start with intent=reauth, or by another passkey at passkeys/reauth\. To delete the account, request the deletion again right after a provider sign\-in, an emailed code, or a passkey assertion made for it\. On a native session, run an authorization with prompt=login, exchange its code at the token endpoint with the session's token as the bearer, then post the deletion again within five minutes\. Under the browser session, follow the sign\-in link the page shows, then repeat the action\. The read\_account action returns signed\_in\_at, the sign\-in instant the window runs from\. |
| <a id="handoff_invalid"></a>`handoff_invalid` | 400 | The handoff code is unknown, spent, expired, or belongs to another realm\. | Start the sign\-in again from the application's sign\-in page and let the browser follow the return to the application immediately\. Do not reload or reuse a completion address\. |
| <a id="id_token_invalid"></a>`id_token_invalid` | 400 | The token endpoint's token exchange received an ID token that fails verification against its issuer's published keys\. Its signature, its issuer, its expiry, or its audience failed, or the client declares no audience for that issuer\. A subject token that is not an Apple or Google ID token is refused the same way\. | Sign in again to get a fresh ID token from the app's SDK\. If the refusal repeats, ask the application's author to check `ios.bundle_id` for Apple or `google_client_ids` for Google\. Declare the audience with `configure_app_sign_in` where the manifest lists no clients for this environment\. Otherwise update the manifest's `realm` clients list for that environment and call `submit_manifest`\. |
| <a id="identity_already_bound"></a>`identity_already_bound` | 409 | The sign\-in you tried to link, a provider and its subject, already reaches a different account of the same realm\. Nothing is linked\. You meet this refusal on the page that completes a link\_identity link, and at the link the platform offers when a sign\-in's address matches an existing account\. On an application's end\-user realm, an emailed\-code sign\-in that joins an existing account can meet it too\. It applies on the builder realm and on an end\-user realm alike\. | Sign in with that provider identity to reach the account it already belongs to\. To add a method to your current builder account, use `link_identity` with a different identity\. For app sign\-in, use a method already linked to the account you want\. |
| <a id="identity_collision"></a>`identity_collision` | 409 | The token exchange's ID token has a provider\-verified address that another user of the realm already has under another route\. Nothing was created and no session opened\. | Sign in through the browser flow with the existing account's own route, and link the two routes there\. Either route then reaches the one account\. |
| <a id="installation_held_by_another_user"></a>`installation_held_by_another_user` | 409 | The installation identifier is already registered to another user in this sign\-in realm with a different platform or device token\. | Create a new installation identifier on this device, save it, register again with it, and give your backend the new identifier in place of the old one\. |
| <a id="insufficient_scope-realm_surface"></a>`insufficient_scope` | 403 | The OAuth access credential is valid for this service but lacks the scope required by the protected call; the challenge states the required scope\. | Start the OAuth authorization again from your tool and request the scope the challenge gives\. Renewing the existing token does not add a scope\. |
| <a id="internal-realm_surface"></a>`internal` | 500 | An unexpected error while responding\. Where the detail gives a reference, the error is recorded on the platform side under that reference\. The detail is a fixed sentence and never the error's own message\.<br><br>For sign\-in identity removal, failure ending the exchange's tokens before the removal removes no identity\. If ending them again fails after the transaction, the refusal is internal and the identities have been removed\. | For removal of a sign\-in method, read the detail first\. If no method was removed, request the removal again\. If the method was removed, sign in with a remaining method and use Sign out everywhere as directed\. The removal is complete\. If that control fails, report the failure and quote any reference the detail gives\.<br><br>For other calls, check what the detail says about the outcome\. Retry when the request is safe to repeat\. If the refusal repeats, report it and quote the reference its detail gives\. |
| <a id="invalid_client"></a>`invalid_client` | not fixed | On the realm surface, the client\_id is missing or is not a native client the end\-user realm declares \(400\)\. This applies at the realm's authorization, token, and revocation endpoints and to a device registration\. On the builder sign\-in, the token endpoint and the device authorization endpoint refuse with 401 a client\_id that no registration has; the revocation endpoint refuses it with 400 before reading the token\. The authorize route shows the browser a page saying to connect your tool again \(400\)\. | Use a client ID declared for this realm and environment\. Check declared clients with `read_app_sign_in`\. Declare a client with one to twenty redirect URIs\. If the manifest's `realm` lists this environment's clients, change that list and run `submit_manifest`\. Otherwise use `configure_app_sign_in`\. For builder sign\-in, remove this server's connection from your tool and reconnect\. For a device\-code script, register the client again before starting sign\-in\. |
| <a id="invalid_grant"></a>`invalid_grant` | 400 | The token endpoint refused a code or a refresh token\. It is unknown, expired, unbound, or mismatched, its sign\-in has since ended, or its account no longer exists\. A refresh token replayed outside its grace period is refused too, and an authentic replay still ends its token family when the token it replaced has expired\. An unknown or already used device code is refused the same way\. A passkey offer, or a registration from the offer or the passkey page, is refused with this name when a sign\-out ended its sign\-in during its window\. The offer's ticket is then spent and no passkey is written\. On an end\-user realm, the token endpoint refuses a native client with this name\. It refuses a code that is spent, expired, or unknown, was issued to another client, or was issued for another redirect URI\. It also refuses a verifier that fails the challenge, and a refresh token that is neither the current nor the previous one of a live session\. It refuses an ID token that the token exchange already accepted, presented again within its life\. At an exchange, it also refuses a code whose account has since lost, by the operator's revocation, the access the sign\-in was for\. The response gives no product, and a new invitation is the way back\. | Start the sign\-in again from your tool, so that a new authorization code and refresh token are issued\. Do not send the refused code or refresh token again\. Where a sign\-out ended a passkey offer, sign in again and add the passkey from the site's passkey page\. In a native app, start the sign\-in again from the app, and do not present the refused code, refresh token, or ID token again\. Where the account's access was turned off, a new invitation is the way back\. |
| <a id="invalid_redirect_uri-realm_surface"></a>`invalid_redirect_uri` | 400 | A redirect URI is outside the three accepted forms: a reverse\-domain custom scheme, https on one of the application's own hostnames, or loopback http\. At the authorization endpoint, the URI is not one declared for the client the request gives, or it is an https URI on the application's custom domain outside the identifier's span\. A presented URI must match a declared one exactly, character for character, except for a loopback URI's port\. | Use the redirect URI declared for this client\. Match the whole URI exactly, except the port on a loopback URI\. When declaring a URI, use a supported form without user information or a fragment\. If the manifest's `realm` lists this environment's clients, change the list and run `submit_manifest`\. Otherwise use `configure_app_sign_in`\. |
| <a id="invalid_request-realm_surface"></a>`invalid_request` | not fixed | The input is malformed or missing, and the detail gives the member\. Or the input has a NUL \(U\+0000\) or an unpaired UTF\-16 surrogate, and the detail gives the character\. This is the generic validation refusal of every surface\. On a management action, it also refuses a call that gives a member the action does not declare\. The detail lists that member, a nested one by its path, and every member declared at that place\. Where that list would pass the detail's budget, the detail gives each place's member count instead and points to the action's reference page, which lists them\. It also refuses a body the surface could not read, or a path segment whose escape does not decode, in the surface's own form, repeating nothing from the request\. On `create_space`, it also refuses a `space` deleted within the last 35 days, while its deletion marker remains, and nothing is created\. At a request for the `tzmesh` resource, and at the completion of its sign\-in, it also refuses a browser's prefetch, which holds no confirmation\. On `deploy_files`, a list entry with `content` under a path segment the zip leaves out is refused with `kept` and `refused`\. Its `kept` lists the content entries kept and each entry by `sha256` alone whose file the platform holds and could read as the refusal was built; `refused` lists the entries refused\.<br><br>Over HTTP, a value outside a bound an action's reference states is refused `invalid_request`\. Over MCP, your client's or the SDK's argument check runs first\. A rule checked only by the handler draws `invalid_request` on either route\. On the payment event route, a missing, malformed, invalid or stale signature, an unreadable event, or an event in the other mode receives the same refusal and changes nothing\. The detail discloses no class or request content\.<br><br>On `set_database_size`, the size is not one of its four values, production already has the requested size, or a dedicated size was requested for a serverless application\. A serverless application's database stays `database-shared`\. Nothing changes\.<br><br>The usual validation status is \(400\)\. On the builder's Allow page, a confirmation posted from outside the sign\-in page's origin or without a recent sign\-in receives \(403\)\. Browser checks can also return \(403\) when you confirm or cancel an approval, open or sign in to a test account, or cancel a builder connection\. A provider callback that uses a method the route does not accept receives \(405\)\. | Correct the member the detail gives, or send a member the action declares in place of one it does not; the detail or the action's reference page lists them\. Or remove the character the detail identifies\. Then send the request again\. For a deleted space's identifier, pass another `space`, or leave it out and the platform chooses one\. A refused prefetch needs nothing: the request is served when the person opens it\.<br><br>For payment events, the payment provider sends this request\. The platform operator checks the provider's delivery record and the platform's refusal record\. The response gives the same detail for every payment\-event validation failure\.<br><br>For a 403 on a browser confirmation, return to your tool and sign in again\. Use the confirmation page in the same browser with a recent sign\-in\. For a 405 on a provider callback, use the method its detail gives\. The provider sends that callback\. |
| <a id="invalid_token-realm_surface"></a>`invalid_token` | 401 | A protected call presents a credential that cannot authenticate to this service, and the WWW\-Authenticate header gives the standard OAuth error\. A missing credential gets no OAuth error parameter\. | For tool sign\-in, refresh the access token where available or sign in again\. For push or email, use the platform credential from the intended application's backend\. On a route that accepts an application\-bounded minted token, use one admitted by that route\. |
| <a id="issuer_mismatch"></a>`issuer_mismatch` | 403 | The provider's ID token gives an issuer other than the one pinned for this realm\. | If you are signing in, report the refusal to the application's author\. As the author, use `read_app_sign_in` to compare `entra.tenant` with the app registration's Directory \(tenant\) ID for Entra\. For OpenID Connect, compare `oidc.issuer` with the provider's issuer\. Correct a differing field the manifest sets in `realm` and call `submit_manifest`\. Otherwise use `configure_app_sign_in` for the differing field\. Ask the end user to sign in again\. If the Entra refusal repeats, ask the tenant administrator to check the registration that issues the token\. For Sign in with Apple, ask the end user to sign in again\. |
| <a id="key_revoked"></a>`key_revoked` | 401 | On the session re\-issue route, the realm key that signed the presented session token was revoked with revoke\_app\_sign\_in\_keys\. The session ends, and the end user signs in again\. | Have the end user sign in again from the application\. Repeating the re\-issue request never restores a session whose token a revoked key signed\. |
| <a id="misdirected_origin-realm_surface"></a>`misdirected_origin` | 421 | Your request reached a public service without going through the platform's edge\. Behind the edge, every request must include the edge's profile identifier in its identifier header, and a forwarded host and scheme equal to the configured origin\. A request that does not is refused before any route runs\. The detail gives the forwarded host and scheme the service saw\. A request from an address of a hosting cell is refused the same way even when it has the identifier, and its detail gives that address\. The health reads, and the sign\-in requests the platform's serving router forwards for an application's end\-user realm, are exempt\. The check is off where no edge profile identifier is configured\. Where an estate sets a REST host, that host serves its own API path and nothing else, and that path is refused under any other host, the public origin among them; this holds with or without an edge profile identifier\. | Send the request through the platform's edge to the public origin the detail gives, <https://turnzero.ai> on production, and not to a service's own hostname\. The detail also gives the host and scheme the service saw\. Where the detail gives a REST host's address, call that address\. |
| <a id="nonce_mismatch"></a>`nonce_mismatch` | 403 | The provider's ID token carries a nonce different from the one issued for this sign\-in attempt\. | Ask the end user to start the sign\-in again from the beginning\. The new attempt issues its own nonce\. |
| <a id="not_found-realm_surface"></a>`not_found` | 404 | You gave a pending action, secret, operated account, token, connection, realm action's invitation, synthetic purge, or export that does not exist or is not yours \(the contract for the invitation; the contract for the connection\)\. For clear\_development\_database, the application you gave has no development database\. For query\_database, the environment you gave has no database\. For request\_export with download: true, the export's files are no longer in its export area\. For the four feedback actions, the `space` you gave is no issue space your account has, refused before any token is read\. On the realm surface, the session a revocation from the session list gives is no live session of the signed\-in end user\. On the device routes, the installation identifier matches no registration of the signed\-in user\. On the push surface, the request uses a path or a method under /push/v0 other than POST /push/v0/messages\. On the realm surface, the request uses a path or a method under /\_\_account/ that no realm route serves, the OpenID Connect discovery path among them\. For a staff read of a synthetic account's state, the `account` you gave is an id that belongs to no account, under `super_admin`\.<br><br>The dashboard picture route is unconfigured, the dashboard session does not verify, or the account has no tzMesh profile, person or picture\.<br><br>On the serving router, the serving serverless version has no file or function for the requested path and method\. A pool response can also report that its loaded version has no function for the path\. Nothing was run\.<br><br>On `set_database_size` or `restore_database`, the application has no production database: no database kind is declared, or no version has been promoted to production\. Nothing changes\. | Check the identifier against the listing for its kind: list\_secrets, list\_tokens, or list\_invitations\. For a pending action, a purge, an export, or a seeded or first\-sign\-in account, check it against the id an earlier response returned\. Then repeat the request with an identifier that belongs to your account\. For the feedback actions, pass a space that list\_issue\_spaces or submit\_manifest's receipt returns, or leave `space` out for the platform's own space\. On the realm surface, read the session list at GET /\_\_account/sessions and pass an id it returns\. For clear\_development\_database there is nothing to clear: a development database exists once a submitted manifest declares the database kind\. For query\_database there is nothing to read: an environment's database exists once a submitted manifest declares the database kind\. For a path no realm route serves, read the realm's endpoints at /\.well\-known/oauth\-authorization\-server on the hostname, which is served where the realm declares a client\.<br><br>For a support deployed\-files read, check whether the requested serving or previous version exists\. If the response says its image is no longer kept, tell the person that version's deployed files are unavailable\. If only the path is missing, list that version's deployed files and choose a path it returns\. For a support issue\-space read, choose a space the shared account holds and the support read covers\.<br><br>On the push surface, check the documented request method and path\.<br><br>The dashboard picture route takes no identifier\. Sign in if needed; without a picture, use initials\.<br><br>For a serverless route, check the path and method against the serving version's client files and functions\. Deploy missing code or files, or use a path that version serves\. |
| <a id="passkey_already_registered"></a>`passkey_already_registered` | 409 | The passkey's credential identifier is already registered in this realm\. | Sign in with the passkey that is already registered, or register again with a different authenticator\. |
| <a id="passkey_assertion_refused"></a>`passkey_assertion_refused` | not fixed | The passkey response did not verify: 400 where it cannot be decoded, and 401 where the signature or the user handle fails\. | Start the passkey prompt again from the page that offered it\. If a sign\-in or a confirmation is refused again, use another sign\-in method that page offers\. |
| <a id="passkey_challenge_unknown"></a>`passkey_challenge_unknown` | 400 | The passkey challenge is unknown, already used, or expired, or it was issued for another realm, kind, purpose, or user\. A challenge lasts sixty seconds\. | Start the passkey steps again from their options step to get a fresh challenge\. Complete them within sixty seconds, on the same realm and for the same user and purpose\. |
| <a id="passkey_change_closed"></a>`passkey_change_closed` | 409 | The 72\-hour window for reverting this passkey change closed, or the change was already reverted\. This call did not revert the passkey change\. A builder\-account request may have revoked tokens issued through a sign\-in exchange before it returned this refusal\. | Where the change added a passkey that is not yours, remove it on the passkey page, or through the remove routes on an end\-user realm, and sign out everywhere\. Where the change removed a passkey you want back, register a passkey again\. A change is reverted only once\. |
| <a id="passkey_change_unknown"></a>`passkey_change_unknown` | 404 | You asked to revert a passkey change that matches no change of your signed\-in account or user\. | Read the open changes and pass one of them: on the builder realm, the passkey page lists them; on an end\-user realm, the revertible member of GET /\_\_account/passkeys does\. |
| <a id="passkey_counter_regressed"></a>`passkey_counter_regressed` | 403 | The authenticator's sign count did not go above the stored counter, which can mean a copied authenticator\. A counter that stays at zero is accepted\. | For a sign\-in or a confirmation, use another sign\-in method the page offers\. For a removal, confirm it with a different passkey you have\. |
| <a id="passkey_not_stranded"></a>`passkey_not_stranded` | 409 | This passkey still works on the realm's sign\-in host\. Use ordinary removal and confirm with a usable passkey on the same account\. | Remove this passkey through the ordinary removal: the passkey page on the builder realm, or the remove route on an end\-user realm\. Then complete the passkey confirmation that removal asks for\. |
| <a id="passkey_origin_mismatch"></a>`passkey_origin_mismatch` | 400 | The passkey steps ran, or a page asked for their options, on an origin other than the realm's own sign\-in origin\. | For browser sign\-in, start a new passkey attempt on the realm's sign\-in host\. Use the environment's managed hostname, or its custom domain while production sign\-in uses it\. For the builder realm, use the platform's public sign\-in host\. For an Android build, the application's author declares every signing fingerprint the build uses in the realm's native client settings, then retries\. |
| <a id="passkey_registration_refused"></a>`passkey_registration_refused` | 400 | The passkey registration did not verify, or its attestation object could not be decoded\. | Start the registration again from your signed\-in session and complete the authenticator's user verification when it prompts you\. If your authenticator cannot verify you, register with one that can\. |
| <a id="passkey_requires_email"></a>`passkey_requires_email` | 409 | A passkey registration was asked for an account that has no emailed\-code sign\-in, at the options route or the register route\. A passkey is a shortcut for the emailed code, so only an account that signs in by code can have one\. | Sign in by the emailed code once at the address a provider sign\-in of this account verified; that adds the code to the account\. A code sent to another address makes a new account\. Then register the passkey at that sign\-in's offer, or later from the platform's passkey page or an application's register route under a fresh authentication\. |
| <a id="passkey_rp_id_mismatch"></a>`passkey_rp_id_mismatch` | 400 | The authenticator reports a relying\-party identifier other than the realm's: its rpIdHash does not match the realm's relying\-party identifier hash\. | On the realm's sign\-in host, start a new passkey attempt and use the relying\-party identifier it gives you\. If the passkey is for an earlier host, sign in by another method the page offers and register a new passkey\. |
| <a id="passkey_unknown"></a>`passkey_unknown` | 404 | No passkey of this realm matches the credential identifier, or, for an act of a signed\-in user, none of that user's does\. The passkey's account or user may no longer exist\. A passkey whose account has no emailed\-code sign\-in is refused this way at sign\-in too: the platform removes it and opens no session\. | Reload the passkey list before renaming or removing a passkey, and choose one your account still holds\. For sign\-in, use a passkey registered on the current sign\-in host or another method the page offers\. To register a replacement, sign in by emailed code and accept the passkey offer\. |
| <a id="picture_ticket_refused"></a>`picture_ticket_refused` | 403 | The accounts service received no live picture ticket for this account and session generation\. The ticket is missing, spent, expired, for another account or not at the user's current generation\. | Only the account picture's relay presents this ticket\. Sign in again, then repeat the picture action\. |
| <a id="product_ticket_refused"></a>`product_ticket_refused` | 403 | The accounts service's product\-token signing route received no live product\_token ticket for the account and product: the ticket is missing, spent, expired, or for another account or product\. | Nothing you call corrects this\. Only the token code's exchange presents a ticket, so mint the token again\. |
| <a id="provider_not_enabled"></a>`provider_not_enabled` | 400 | The token exchange's ID token is Apple's or Google's, and the realm does not enable that issuer's route: apple for Apple, google for Google\. | Sign in through a route this application serves\. If you are the application's author, `read_app_sign_in` shows the configured methods\. A workforce audience serves neither Apple nor Google\. Where the audience admits the method, add it to `sign_in_methods` using `configure_app_sign_in`, or change the manifest's `realm` and call `submit_manifest` where the manifest owns the methods\. Include the `apple` settings with the Apple route\. |
| <a id="rate_capped-realm_surface"></a>`rate_capped` | 429 | The request reached a limit on the count for its window\. The limit can be on an application's logging batches per minute or on a source address's client registrations per hour\. The control plane and the router's admission limits count requests in the current UTC minute\. A page view of the site counts in a page window of its own, six hundred a minute\. A call to read\_library on the actions route counts in a library window of its own, four thousand a minute\. A call to search\_documentation presenting no credential counts in a documentation search window of its own, one hundred and twenty a minute\. Where no separate window or exemption applies on the control plane, the source window counts six hundred requests a minute\. A signed\-in approval or dashboard arrival spends no source window\. Across the six gateway routes for storage, egress, logging, push, email, and job start, requests that resolve to the same credential share a limit of six hundred requests per UTC minute, even when they come from different source addresses\. For admission, each of these requests counts only toward the credential's limit\. A presented value there that resolves to no credential counts in a window of its own for the source, six hundred a minute, apart from the source window\. On those routes, a request through the edge whose source is at that bound is refused before its credential is looked up, unless the gateway already has that credential\. On the deploy command's progress read, a read under its upload's started grant counts in a window keyed on that grant's identity\. A read there that presents anything else counts in the source window, which once full refuses the source before any lookup\. At the control plane, the admission window's refusal includes Retry\-After, the seconds to the next minute\. The serving router counts requests to one application on each router replica in the current UTC minute\. Anonymous requests count against their source address\. Signed\-in requests count against both the user and a separate limit for the source address's signed\-in requests\. The refusal comes before the request reaches the application\. `Retry-After` gives the seconds to the next UTC minute\. A `request_route` or `write_route` call counts in one window of their own for the acting account, sixty a minute\. A `check_app_sign_in` call counts in a window of its own for the acting account, ten a minute, and the accounts service counts the checks of each realm in a window of its own, ten a minute\.<br><br>For the dashboard picture route, an arrival without a verified dashboard cookie and current session uses the source window; an admitted arrival counts in its account's own window, sixty reads a minute\. | If the response gives `Retry-After`, wait that many seconds and retry below the limit\. For a request or logging limit without that header, retry below the limit when the next UTC minute starts\. For client registrations, wait until the earliest registration in the hour leaves that window\. |
| <a id="realm_check_unmarked"></a>`realm_check_unmarked` | 404 | The accounts service's realm check route serves only the management service's own marked call from inside the plane\. This request carried no mark or a wrong one, or came through the edge\. | Nothing you send marks the request\. Check a realm with check\_app\_sign\_in, and the platform runs the check for you\. |
| <a id="realm_creation_ceiling"></a>`realm_creation_ceiling` | 403 | On a creation, the realm accepts no further accounts: the creation ceiling is reached\. On the platform's own builder sign\-in, the name is recorded on the operator's side, and your page shows the operator's paused panel and no name\. | On an end\-user realm's creation, nothing the person signing up does corrects this: you, the application's author, raise the ceiling with configure\_app\_sign\_in \(limits\.creation\_ceiling\)\. On the platform's own builder sign\-in, the operator raises or clears it the same way, and an invitation's link still creates an account\. |
| <a id="realm_keys_unready-realm_surface"></a>`realm_keys_unready` | 503 | The accounts instance has not yet unwrapped the realm's key\-encryption key\. The re\-issue route refuses with it, and so does the token code's exchange, whose product token could not be signed for the same reason\. | If session renewal failed, try renewing the session again\. If token exchange failed, call `mint_token` again to start a fresh challenge, then run the line it returns once\. If the refusal repeats, report it with its reference\. |
| <a id="realm_not_declared-realm_surface"></a>`realm_not_declared` | 404 | The application declares no accounts kind, or no application that declares one has the forwarded host\. On the builder form of a realm action, the builder realm row is absent from the store, on an estate that has not yet run migration 0022\. On submit\_manifest, a realm ended between the submission's check and its record, so it was not configured\. The manifest stays recorded, and the detail lists the realms done and those not\. On create\_environment, development's realm ended while the act recorded the realm member\. | If the manifest lacks the accounts service, add it with `submit_manifest` and retry\. If the realm ended while the manifest was recorded, submit the manifest again\. If it ended during `create_environment` or `configure_app_sign_in`, repeat that call\. Use the production hostname until `create_environment` adds a development realm\. Report a missing builder realm to the platform operator\. |
| <a id="realm_state_required"></a>`realm_state_required` | 400 | The browser tried to finish sign\-in without the cookie that matches this attempt\. The cookie was missing or came from a different sign\-in attempt\. | Start the sign\-in again from the application's sign\-in page and complete it in that same browser without delay\. |
| <a id="realm_surface_unmarked"></a>`realm_surface_unmarked` | 404 | The realm surface serves only the requests the serving router forwards with its mark\. | Send the request to the application's own hostname under `/__account/` so the router forwards it\. A header you add cannot supply the router's mark\. |
| <a id="reauthentication_not_fresh"></a>`reauthentication_not_fresh` | 403 | The provider reports that the end user last signed in more than five minutes ago\. The OpenID Connect route also refuses an ID token with no auth\_time\. Neither response proves a fresh authentication, and no session was opened\. | Ask the end user to authenticate with the provider again, then restart reauthentication\. An emailed code or a passkey can also provide fresh authentication where the realm offers it\. |
| <a id="reauthentication_other_account"></a>`reauthentication_other_account` | 403 | A reauthentication completed for an identity that resolves to a user other than the starting session's user, or to no user\. Nothing was signed in and no user was created\. | Start the reauthentication again under the end user's own session, and choose the same account at the provider as the one signed in to the application\. |
| <a id="refresh_reused"></a>`refresh_reused` | 400 | An earlier refresh credential for this native session was presented again\. The service ends the session and records its revocation in the same transaction to protect against a stolen copy\. | Sign in again from the app\. Keep one refresh credential per installed app, replace it with the one each response gives, and never copy it between devices or processes\. |
| <a id="request_too_large-realm_surface"></a>`request_too_large` | 413 | The request is over the surface's request bound, or over the bound a transfer grant accepts\. On the builder sign\-in, a client registration's declared body is over 16 KiB\. On every surface, the serving router among them, a body over the bound the surface's parser reads is refused the same way, the detail giving that bound\. | Reduce the request body to the byte bound the refusal detail gives, then send it again\. Keep a storage upload within the size its transfer grant accepts, and keep a client registration at sign\-in at or under 16 KiB\. |
| <a id="retired_host-realm_surface"></a>`retired_host` | 421 | The hostname you sent the request to is one the platform retired\. The request is refused before any route runs, and the detail gives the current address\. A client that still uses the old name fails with a clear reason instead of working on it unnoticed\. | Change the address your client uses to the current address the detail gives, then send the request again\. |
| <a id="route_not_enabled-realm_surface"></a>`route_not_enabled` | 400 | The requested route is not in the realm's effective set, or its provider is not configured on this server\. The `sign_in_test_end_user` action returns it where the realm's effective set is empty, which allows no sign\-in, not even a test end user's, and nothing is signed in\. | Sign in through a route this application serves\. If you are the application's author, `read_app_sign_in` shows the configured methods\. Add a route using `configure_app_sign_in`, or change the manifest's `realm` and call `submit_manifest` where the manifest owns the methods\. For a workforce audience, use `entra` for the declared tenant ID or `oidc` for the exact declared issuer\. If the platform lacks a provider it needs, report that to the platform operator\. |
| <a id="secret_grant_not_admitted-realm_surface"></a>`secret_grant_not_admitted` | not fixed | The secret grant a `store_secret` call with no value mints serves the one write it records: the same action on the HTTP action route, with the grant's own name, application, and environment\. The grant a `submit_manifest` call with `local_run` mints serves two requests: `store_secret` with `replace: true` on that route, with no value, for the application's database credential and its platform credential at the development scope, each once\. Under either grant, every other surface, management action, and request is refused with this name \(403; a 401 challenge at the MCP server\) and uses nothing\. The exception is an action another rule refuses first\. The browser\-only action reads no credential, and an action that is switched off reads the grant and refuses with its switch's name; neither accepts the grant\. A provision grant claimed by its verifier is no grant anywhere else\. Every action but `store_secret` with `replace: true` over the wire, and every other surface, reads the verifier as a bearer that resolves to nothing, refused `authentication_required`\. The deploy command's progress read refuses it under that read's own name, `transfer_grant_not_admitted`\. | Run the command the preparing call returned once, as given: it makes the one write the grant allows\. For any other act, present the credential that surface accepts, for example a signed\-in session or a minted token on the management surface\. To write another name or at another scope, call `store_secret` with no value for that name and scope, and run the command it returns\. For the local run's grant, run the line the `submit_manifest` call returned, as given\. For a fresh one, run `turnzero provision --origin https://dev.turnzero.ai --application <application id>` with nothing piped and make any call it prints\. |
| <a id="session_ended"></a>`session_ended` | 401 | No session exists for the presented value, its user or realm no longer exists, or the session token fails verification under the realm's keys\. | Have the end user sign in again to open a new session\. A backend that caches verification results keeps this refusal for at most ten seconds\. |
| <a id="session_expired"></a>`session_expired` | 401 | The session is past its expiry\. | Have the end user sign in again; a new sign\-in opens a new session\. Where your backend caches verdicts, keep this refusal for no more than ten seconds\. |
| <a id="session_other_account"></a>`session_other_account` | 403 | On the verification route, the realm belongs to an account other than the credential's account\. | Verify with a credential of the account the realm's application belongs to: its account\-wide credential or a token minted for that application, with the realm's environment in the request\. The application's own platform credential also works\. |
| <a id="session_other_realm"></a>`session_other_realm` | 403 | On the verification route, the session belongs to another realm: another application's realm, or the other environment's realm of the same application\. | Verify the session through the application environment whose realm has it: present that environment's platform credential, or, from a script of the owning account, give that environment in the request\. Otherwise have the end user sign in to this application\. |
| <a id="session_required"></a>`session_required` | 401 | A route that needs an end\-user session received none: no session cookie, and no session token as the bearer\. | Sign in to this application's realm and send the end user's session cookie\. The application's backend may send the cookie's value as the bearer credential\. On a native route that takes a bearer, use the session token returned by native sign\-in for this realm\. |
| <a id="session_revoked"></a>`session_revoked` | 401 | The session was signed out, every session of the user ended, or, on the verification route, revoke\_app\_sign\_in\_keys revoked the realm key that signed the session token\. | Have the end user sign in again; a new sign\-in opens a new session\. Where your backend caches verdicts, keep this refusal for no more than ten seconds\. |
| <a id="sign_in_failed"></a>`sign_in_failed` | not fixed | The provider sign\-in could not be verified\. The builder sign\-in returns 400, and an end\-user realm returns 403\. | For the builder sign\-in, start again from your tool\. For an end\-user realm, restart from the application's sign\-in page\. |
| <a id="signin_code_invalid-realm_surface"></a>`signin_code_invalid` | 400 | The sign\-in code is wrong, expired, superseded, or unbound, and the refusal does not say which\. The attempt is spent, and the sixth attempt ends the code\. The `sign_in_test_end_user` action returns it on its command route where the stored code did not confirm, or no code was stored, and nothing is signed in\. | Enter the code again in the browser that requested it while attempts remain\. If the code expired or its attempts ran out, start sign\-in again in that browser\. For tool\-based test sign\-in, repeat the test sign\-in call to request a fresh code\. If the test end user expired, create a new one with `add_test_end_users` before retrying\. |
| <a id="signin_code_rate_limited-realm_surface"></a>`signin_code_rate_limited` | 429 | An emailed\-code sign\-in start went past the per\-address send rate, the address's failure count for the hour, or the per\-realm or estate\-wide send ceiling\. The start that `sign_in_test_end_user` makes on its command route is refused the same way where the test end user's address reached the per\-address rate, and nothing is signed in\. | Wait for the hour to pass, then start the sign\-in again, because requesting another code sooner does not reset the count\. If only the per\-address send limit is too low, the app author can raise that limit with `configure_app_sign_in`\. The failure count and the realm and estate send limits still apply\. |
| <a id="signin_rate_limited-realm_surface"></a>`signin_rate_limited` | 429 | A sign\-in start went past a per\-source rate\. The rate is an end\-user realm's for its provider and emailed\-code starts, or the builder realm's per\-source window on emailed\-code starts\. Or it is one network source's share of emailed\-code starts an hour across every realm\. That share is a sixth of the estate\-wide ceiling as computed from the estate's sender quota, and the detail gives its number\. The start that `sign_in_test_end_user`'s command route, or the `test_end_user` of `request_route` or `write_route`, makes counts in the end\-user realm's rate under the caller's source address, beside the browser's starts, and is refused the same way past it\. | Wait for the applicable hourly window to admit another sign\-in attempt\. If you are on a shared network, you can also start again from your usual trusted network\. One network source's share of emailed\-code starts an hour across all realms is a sixth of the estate\-wide ceiling\. The refusal's detail gives the number when that share applies\. The application's author can raise that realm's configurable per\-source rate with `configure_app_sign_in` and `limits.signin_starts_per_hour`\. The passkey autofill window, the builder realm's rate and the estate\-wide share are fixed for callers\. |
| <a id="store_unavailable-realm_surface"></a>`store_unavailable` | 503 | The plane's database did not respond to the credential lookup the guard runs, so the request was not processed; retry it\. On the storage, egress, and logging wires, the same refusal comes where the gateway had no entry within its stale ceiling\. On submit\_manifest, the control store failed while the manifest's upstreams were written after its record\. A write the failure followed is taken back where it can be, the manifest stays recorded, and the detail lists the upstreams declared, those not, and any left over\. A failure while the realm member or the push entry's providers are recorded, after the upstreams, takes nothing back\. What was recorded remains, and the detail lists the realms, or the push configurations, done and those not\. On the start\-line route, the line was not stored, and the workflow posts it again\. | For a transient refusal before processing, retry after a short wait\. If `submit_manifest` was processed in part, resubmit the same manifest to finish declarations, realms and push configuration before the next deploy or promote\. If the detail says no status record is bound, report it to the platform operator so the binding can be restored\. |
| <a id="subject_missing"></a>`subject_missing` | 403 | The provider's ID token gives no usable subject\. The OpenID Connect route also refuses a subject over 255 UTF\-16 code units or one with a null character \(U\+0000\) or an unpaired UTF\-16 surrogate\. | Ask the end user to sign in again\. For Entra, ask the tenant administrator to check the app registration that issues the token\. For OpenID Connect, ask the provider administrator to check the subject claim\. This cannot be corrected in the realm's settings\. |
| <a id="tally_ticket_refused"></a>`tally_ticket_refused` | 403 | The accounts service's tally\-token route received no live tally ticket for the request's account: the ticket is missing, spent, expired, or for another account\. | Only the operator's activity read presents a ticket\. Repeat that read to request a fresh one\. Its tzMesh totals read null if the tally cannot be read\. |
| <a id="tenant_mismatch"></a>`tenant_mismatch` | 403 | The work\-account id\_token has an Entra tenant other than the configured one\. | Ask the end user to sign in with an account in the configured tenant\. If the tenant is wrong, correct `entra.tenant` in the manifest or with `configure_app_sign_in`, as configured\. For a `workforce` audience, correct the manifest's `audience.tenant` and make `entra.tenant` match it\. Ask the end user to sign in again\. |
| <a id="test_end_user_fixed"></a>`test_end_user_fixed` | 403 | An identity or a passkey would join a test end user\. A test end user has exactly the one fixture\-domain email identity its creation bound, and signs in only through the emailed\-code route\. Linking a sign\-in route, the same\-address prompt, and passkey registration each refuse with this\. | A test end user keeps its fixture email identity and signs in by emailed code\. Use that sign\-in route again\. An admitted test operator can read the code with `read_test_signin_code`\. |
| <a id="test_sign_in_unmarked"></a>`test_sign_in_unmarked` | 404 | The accounts service's two test sign\-in routes serve only the management service's own marked call from inside the plane\. This request carried no mark or a wrong one, or came through the edge\. | Nothing you send marks the request\. Sign a test end user in with sign\_in\_test\_end\_user, or name it in request\_route's test\_end\_user, and the platform signs it in for you\. |
| <a id="token_exchange_failed"></a>`token_exchange_failed` | 403 | The provider's token endpoint refused the exchange, returned no ID token, or did not answer within the allowed time\. For OpenID Connect, the exchange can also fail on a redirect, an oversized response, or an endpoint address the platform cannot use\. | Start a fresh sign\-in after a temporary provider timeout\. If the refusal repeats, give the application owner or identity provider the refusal details\. The owner checks the provider response and the app's registration before replacing any credential\. For Entra, use read\_app\_sign\_in to compare entra\.client\_id with the registration\. Correct a manifest\-set field in the manifest and submit it again\. For other fields, use configure\_app\_sign\_in\. If the client secret needs replacing, use store\_secret under the configured name for this application and environment\. For Sign in with Apple, check the Services ID, team, key ID and signing key\. If the key needs replacing, use store\_secret under apple\.key\_secret\_name for this application and environment\. For OpenID Connect, check oidc\.client\_id, the stored client secret and the exact callbacks\.oidc address in the provider's registration\. If an endpoint moved, call configure\_app\_sign\_in again with the same oidc member to read discovery and save the new addresses\. Ask the end user to sign in again after a correction\. If the provider is unavailable, try again later\. |
| <a id="token_scope_refused-realm_surface"></a>`token_scope_refused` | 403 | An application\-bounded minted token was used on a subject of another application\. This also refuses `mint_token` when the caller presents an application\-bounded token\. The same refusal applies to such a token on the application\-less builder\-realm form of invitation, list\_invitations, or configure\_app\_sign\_in\. It also applies on every form of the four feedback actions, which take no application, and on declare\_storage\_area with remove true for an area outside its reach\. On declare\_outbound\_api with remove true, it refuses every application\-bounded token, since only the account's own credential ends an upstream\. | For a request scoped to an application, check that the action and its subject match the intended application\. Use a credential already authorized for that task\. An account image saved outside an application needs the account owner's access\. If the current credential cannot perform the intended task, ask the owner to act or approve the minimum access needed\. |
| <a id="transfer_grant_not_admitted-realm_surface"></a>`transfer_grant_not_admitted` | not fixed | The transfer grant object storage mints serves its one file act and is refused by name everywhere else \(403; a 401 challenge at the MCP server\)\. An export's download grant serves only `GET` of a file by its name: its export's own files, and its application's stored files created by the time its export listed them\. A stored file created later is refused with `no_such_file` under it, as an absent name is, and not with this refusal\. An older grant with no recorded time for its export's file list gives this refusal for a stored file outside the export's own folder\. Ask for a fresh grant\. A deploy upload's grant also serves its upload's one start on `deploy`, giving its own application, the environment its preparing call recorded, and upload\. After that start, it serves the deploy command's progress reads of its own deploy inside their window, and the progress read refuses by this name every other credential and that grant before its start\. | Present the grant only on the one file route it covers, PUT or GET /storage/v0/areas/\{area\}/files/\{name\}, in the direction it was minted for\. Under an export's download grant, read a file by its name, never a listing, the deploy area, or another application's area\. Where a stored file the export's manifest lists is refused by this name, call `request_export` with `download: true` again and run the line it returns\. For any other act, present the credential that surface accepts, for example a signed\-in session or a minted token on the management surface\. A deploy upload's grant starts only its own upload and then reads only that deploy's progress, as the turnzero command does under the grant its preparing `deploy` call returns\. To read a deploy under your own credential, call `read_status`\. |
| <a id="unrecognized_invitation"></a>`unrecognized_invitation` | 403 | The realm accepts new accounts only by invitation, and the creation had no valid one\. It had no invitation, one for another address, or one that is spent, expired, or revoked\. The same name covers every case, on an end\-user realm's surface and on the builder realm's sign\-in page\. | For a native app, accept the invitation in the browser before trying native sign\-in again\. Sign in through the URL of a valid invitation, using the address it gives, or ask the realm's author for a fresh one, the platform's operator for the builder realm\. To check an app invitation's state, use `list_invitations`\. To issue a fresh link, call `invite_end_user` with `email` for the same realm\. |
| <a id="user_suspended-realm_surface"></a>`user_suspended` | 403 | The end user is suspended in this realm until reinstatement\. The `sign_in_test_end_user` action returns it for a suspended test end user, and nothing is signed in\. | Nothing the end user does lifts the suspension\. If you are the application's author, restore the user's standing with set\_end\_user\_standing and standing active; the user can then sign in again\. |

## Builder sign in

The builder realm on the control plane: the OAuth authorization\-server routes, the builder passkey routes, the linking and interrupt routes, and the invitation redemption route\. It also includes the tzMesh site token route /accounts/v0/tzmesh/site\-token\.

| Refusal | Status | Cause | Remedy |
|---|---|---|---|
| <a id="access_denied-builder_sign_in"></a>`access_denied` | not fixed | You declined at the identity provider or cancelled on the page that asks to allow a tool, the builder's line, or the device verification page\. No token was minted\.<br><br>A sign\-in for a product or resource your account cannot access also receives this refusal, with no description\. The authorization\-code flow returns it on the client redirect as error=access\_denied \(302\), and the device\-code grant at the token endpoint \(400\)\. A product site's token route also refuses such an account with this name \(403\), and mints no token\.<br><br>A page\-only account picture action is also refused with 403 where the account cannot access the product that holds the picture\. The relay makes no call to that product under the refused mint\. | Start the sign\-in again from your tool, and accept at the identity provider or allow on the page\. For a product or resource that restricts access, use an account with access\. For an account picture, use an account that has access to the product that holds the picture\. |
| <a id="account_suspended-builder_sign_in"></a>`account_suspended` | not fixed | The account is suspended\. On the management surface it is the account you act as \(403\), including for `run_job`\. On the router it is the account the served hostname belongs to \(503\)\. At the tunnel seat it is the calling application's account \(403\)\. On the builder sign\-in surface, a suspended account's sign\-in completion is refused with this name \(403\), whether it comes from a provider or a passkey\. That refusal creates no session, sets no cookie, and issues no code\. A grant is refused with this name \(403\) while the account recorded as its owner is suspended\. This covers a transfer grant on the storage surface, an upload grant on the deploy command's progress read, and a secret grant on its one write\. The grant works again once the account is reinstated, if it has not expired\. On the egress surface, an egress key is refused with this name \(403\) while its owning account is suspended\. The platform operator restores the account\. On the support read surface, a consent and a read for a suspended account are refused with this name \(403\)\. The tzMesh site token route also refuses a suspended account with this name \(403\), and mints no token\.<br><br>On the dashboard picture surface, a current dashboard session for a suspended account is refused \(403\)\. | Ask the platform operator about reinstatement\. After reinstatement, sign in again if the prior session ended, or reconnect your tool, then retry\. A still\-live grant can work again within its scope after reinstatement\. |
| <a id="address_held_by_another_account-builder_sign_in"></a>`address_held_by_another_account` | 409 | You tried to link a sign\-in to an account, and the address its provider verified already belongs to a different account of the same realm\. One verified address belongs to one account\. Nothing is linked and nothing is merged\. You meet this refusal on the page that completes a link\_identity link, and at the link the platform offers when a sign\-in's address matches an existing account\. On an application's end\-user realm, an emailed\-code sign\-in that joins an existing account can meet it too\. It applies on the builder realm and on an end\-user realm alike\. | If you used a link to add a sign\-in method, return to it and choose a different method or address\. If the app refused an emailed\-code sign\-in, start a new sign\-in with a different address\. To use the account that already holds this address, sign in with one of its existing methods\. Both accounts stay unchanged\. |
| <a id="authorization_pending-builder_sign_in"></a>`authorization_pending` | 400 | No one has approved the sign\-in yet, so no token is issued\. Your program polled the token endpoint under the device\-code grant before you allowed the request on the verification page \(RFC 8628\), or the turnzero command polled mint\_token for its device sign\-in before you approved it on the computer login page\. | Keep polling: the answer changes once the sign\-in is approved\. At the token endpoint, open the verification link your program printed, sign in, allow the request, and poll at the interval the device authorization response gave\. For mint\_token, the turnzero command polls every five seconds until its request's expires\_at, and the person approves on the page its link opens\. |
| <a id="continue_new_removed-builder_sign_in"></a>`continue_new_removed` | 410 | The continue\-new route is retired\. The platform no longer creates a separate account under an address that an existing account already has\. The only way on is to link the sign\-in to that account\. | Link the sign\-in method to the account that already holds the verified address\. Sign in with a method that account already has\. If the page offers it, request a code to that address and enter it\. If the linking page closed, start sign\-in again\. |
| <a id="email_domain_undeliverable-builder_sign_in"></a>`email_domain_undeliverable` | 400 | The address's domain has no mail server: it does not exist, it publishes a null MX, or it publishes no MX and no A or AAAA record with a public address\. The platform checks before an emailed\-code start outside the fixture domain, and before the application\-less form of invitation's issue act, the one form that sends\. Nothing was sent, no code is pending, and no invitation was issued\. | Check the address for a typo and try again with the corrected address\. On a sign\-in page, another sign\-in method also works\. For a builder invitation, issue it to an address whose domain accepts mail\. |
| <a id="expired_token"></a>`expired_token` | 400 | The device code's ten minutes passed, whether or not you allowed the request \(RFC 8628\)\. The request is deleted and no token is issued\. | Start the sign\-in again with a new device authorization request\. |
| <a id="identity_already_bound-builder_sign_in"></a>`identity_already_bound` | 409 | The sign\-in you tried to link, a provider and its subject, already reaches a different account of the same realm\. Nothing is linked\. You meet this refusal on the page that completes a link\_identity link, and at the link the platform offers when a sign\-in's address matches an existing account\. On an application's end\-user realm, an emailed\-code sign\-in that joins an existing account can meet it too\. It applies on the builder realm and on an end\-user realm alike\. | Sign in with that provider identity to reach the account it already belongs to\. To add a method to your current builder account, use `link_identity` with a different identity\. For app sign\-in, use a method already linked to the account you want\. |
| <a id="internal-builder_sign_in"></a>`internal` | 500 | An unexpected error while responding\. Where the detail gives a reference, the error is recorded on the platform side under that reference\. The detail is a fixed sentence and never the error's own message\.<br><br>For sign\-in identity removal, failure ending the exchange's tokens before the removal removes no identity\. If ending them again fails after the transaction, the refusal is internal and the identities have been removed\. | For removal of a sign\-in method, read the detail first\. If no method was removed, request the removal again\. If the method was removed, sign in with a remaining method and use Sign out everywhere as directed\. The removal is complete\. If that control fails, report the failure and quote any reference the detail gives\.<br><br>For other calls, check what the detail says about the outcome\. Retry when the request is safe to repeat\. If the refusal repeats, report it and quote the reference its detail gives\. |
| <a id="invalid_client-builder_sign_in"></a>`invalid_client` | not fixed | On the realm surface, the client\_id is missing or is not a native client the end\-user realm declares \(400\)\. This applies at the realm's authorization, token, and revocation endpoints and to a device registration\. On the builder sign\-in, the token endpoint and the device authorization endpoint refuse with 401 a client\_id that no registration has; the revocation endpoint refuses it with 400 before reading the token\. The authorize route shows the browser a page saying to connect your tool again \(400\)\. | Use a client ID declared for this realm and environment\. Check declared clients with `read_app_sign_in`\. Declare a client with one to twenty redirect URIs\. If the manifest's `realm` lists this environment's clients, change that list and run `submit_manifest`\. Otherwise use `configure_app_sign_in`\. For builder sign\-in, remove this server's connection from your tool and reconnect\. For a device\-code script, register the client again before starting sign\-in\. |
| <a id="invalid_client_metadata"></a>`invalid_client_metadata` | 400 | Your dynamic client registration was refused\. Its redirect\_uris is not a list, lists more than ten URIs, or contains a URI that cannot be used, or it gives no redirect URI while `grant_types` is not the device\-code grant alone\. Or its token\_endpoint\_auth\_method is not none\. | Register again with one to ten redirect URIs\. Each is an absolute HTTPS URL, or an HTTP loopback URL at any port, with no user name, password, fragment, or wildcard in it, and none on a host this service serves\. Send token\_endpoint\_auth\_method as none, or leave it out\. A script that signs in by the device\-code grant alone may instead send `grant_types` containing only `urn:ietf:params:oauth:grant-type:device_code`, and no redirect URI\. |
| <a id="invalid_grant-builder_sign_in"></a>`invalid_grant` | 400 | The token endpoint refused a code or a refresh token\. It is unknown, expired, unbound, or mismatched, its sign\-in has since ended, or its account no longer exists\. A refresh token replayed outside its grace period is refused too, and an authentic replay still ends its token family when the token it replaced has expired\. An unknown or already used device code is refused the same way\. A passkey offer, or a registration from the offer or the passkey page, is refused with this name when a sign\-out ended its sign\-in during its window\. The offer's ticket is then spent and no passkey is written\. On an end\-user realm, the token endpoint refuses a native client with this name\. It refuses a code that is spent, expired, or unknown, was issued to another client, or was issued for another redirect URI\. It also refuses a verifier that fails the challenge, and a refresh token that is neither the current nor the previous one of a live session\. It refuses an ID token that the token exchange already accepted, presented again within its life\. At an exchange, it also refuses a code whose account has since lost, by the operator's revocation, the access the sign\-in was for\. The response gives no product, and a new invitation is the way back\. | Start the sign\-in again from your tool, so that a new authorization code and refresh token are issued\. Do not send the refused code or refresh token again\. Where a sign\-out ended a passkey offer, sign in again and add the passkey from the site's passkey page\. In a native app, start the sign\-in again from the app, and do not present the refused code, refresh token, or ID token again\. Where the account's access was turned off, a new invitation is the way back\. |
| <a id="invalid_request-builder_sign_in"></a>`invalid_request` | not fixed | The input is malformed or missing, and the detail gives the member\. Or the input has a NUL \(U\+0000\) or an unpaired UTF\-16 surrogate, and the detail gives the character\. This is the generic validation refusal of every surface\. On a management action, it also refuses a call that gives a member the action does not declare\. The detail lists that member, a nested one by its path, and every member declared at that place\. Where that list would pass the detail's budget, the detail gives each place's member count instead and points to the action's reference page, which lists them\. It also refuses a body the surface could not read, or a path segment whose escape does not decode, in the surface's own form, repeating nothing from the request\. On `create_space`, it also refuses a `space` deleted within the last 35 days, while its deletion marker remains, and nothing is created\. At a request for the `tzmesh` resource, and at the completion of its sign\-in, it also refuses a browser's prefetch, which holds no confirmation\. On `deploy_files`, a list entry with `content` under a path segment the zip leaves out is refused with `kept` and `refused`\. Its `kept` lists the content entries kept and each entry by `sha256` alone whose file the platform holds and could read as the refusal was built; `refused` lists the entries refused\.<br><br>Over HTTP, a value outside a bound an action's reference states is refused `invalid_request`\. Over MCP, your client's or the SDK's argument check runs first\. A rule checked only by the handler draws `invalid_request` on either route\. On the payment event route, a missing, malformed, invalid or stale signature, an unreadable event, or an event in the other mode receives the same refusal and changes nothing\. The detail discloses no class or request content\.<br><br>On `set_database_size`, the size is not one of its four values, production already has the requested size, or a dedicated size was requested for a serverless application\. A serverless application's database stays `database-shared`\. Nothing changes\.<br><br>The usual validation status is \(400\)\. On the builder's Allow page, a confirmation posted from outside the sign\-in page's origin or without a recent sign\-in receives \(403\)\. Browser checks can also return \(403\) when you confirm or cancel an approval, open or sign in to a test account, or cancel a builder connection\. A provider callback that uses a method the route does not accept receives \(405\)\. | Correct the member the detail gives, or send a member the action declares in place of one it does not; the detail or the action's reference page lists them\. Or remove the character the detail identifies\. Then send the request again\. For a deleted space's identifier, pass another `space`, or leave it out and the platform chooses one\. A refused prefetch needs nothing: the request is served when the person opens it\.<br><br>For payment events, the payment provider sends this request\. The platform operator checks the provider's delivery record and the platform's refusal record\. The response gives the same detail for every payment\-event validation failure\.<br><br>For a 403 on a browser confirmation, return to your tool and sign in again\. Use the confirmation page in the same browser with a recent sign\-in\. For a 405 on a provider callback, use the method its detail gives\. The provider sends that callback\. |
| <a id="invalid_scope"></a>`invalid_scope` | 400 | The OAuth scope you requested is unknown, malformed, or broader than the recorded grant\. | Request scopes in the authorization server's metadata, or omit `scope` for the default\. If a code exchange was refused for scope, start a fresh authorization with the intended scopes\. For a refresh, use already granted scopes\. Start a fresh authorization to request more\. |
| <a id="invalid_target"></a>`invalid_target` | 400 | The OAuth resource you sent differs from this service's configured resource, or from the resource recorded at authorization\. | At authorization, use the exact resource from protected\-resource metadata or omit `resource` to use the configured default\. At code exchange or refresh, omit `resource` or pass the exact resource recorded at authorization\. To use a different resource, start a fresh authorization\. If this deployment has no tzMesh origin, ask the platform operator where tzMesh is available\. |
| <a id="misdirected_origin-builder_sign_in"></a>`misdirected_origin` | 421 | Your request reached a public service without going through the platform's edge\. Behind the edge, every request must include the edge's profile identifier in its identifier header, and a forwarded host and scheme equal to the configured origin\. A request that does not is refused before any route runs\. The detail gives the forwarded host and scheme the service saw\. A request from an address of a hosting cell is refused the same way even when it has the identifier, and its detail gives that address\. The health reads, and the sign\-in requests the platform's serving router forwards for an application's end\-user realm, are exempt\. The check is off where no edge profile identifier is configured\. Where an estate sets a REST host, that host serves its own API path and nothing else, and that path is refused under any other host, the public origin among them; this holds with or without an edge profile identifier\. | Send the request through the platform's edge to the public origin the detail gives, <https://turnzero.ai> on production, and not to a service's own hostname\. The detail also gives the host and scheme the service saw\. Where the detail gives a REST host's address, call that address\. |
| <a id="offer_cookie_required"></a>`offer_cookie_required` | 400 | You reached a passkey offer route without the offer cookie the offer page set, or with another value\. Signing out in that browser clears the cookie\. | Respond to the offer from the browser that showed the offer page, while the offer is still open\. If that browser is closed, sign in again and respond to the new offer there, or add the passkey later from the site's passkey page\. |
| <a id="origin_not_admitted"></a>`origin_not_admitted` | 403 | The serving router refuses a WebSocket upgrade whose `Origin` header is neither the origin of the hostname it arrived on nor one that the application's `websockets` declaration lists\. The check runs after `standing_stale` and before the visitor's session is read, so a page on another site opens no connection under the visitor's cookie\. A handshake with no `Origin` header passes, since every browser sends one\. Nothing was forwarded to the application\. On the builder sign\-in surface, /accounts/v0/tzmesh/site\-token refuses an absent Origin or one outside the configured tzMesh site origins, before reading its cookie\. | Open the connection from a page on the application's own hostname, or list the page's origin in the manifest's `websockets.origins` and submit the manifest with submit\_manifest\. The router reads the declaration within about 30 seconds, with no redeploy\. For the tzMesh site token, return to the tzMesh site and sign in there\. For the command's local sign\-in relay, open the page at the address printed by the current command\. |
| <a id="passkey_already_registered-builder_sign_in"></a>`passkey_already_registered` | 409 | The passkey's credential identifier is already registered in this realm\. | Sign in with the passkey that is already registered, or register again with a different authenticator\. |
| <a id="passkey_assertion_refused-builder_sign_in"></a>`passkey_assertion_refused` | not fixed | The passkey response did not verify: 400 where it cannot be decoded, and 401 where the signature or the user handle fails\. | Start the passkey prompt again from the page that offered it\. If a sign\-in or a confirmation is refused again, use another sign\-in method that page offers\. |
| <a id="passkey_challenge_unknown-builder_sign_in"></a>`passkey_challenge_unknown` | 400 | The passkey challenge is unknown, already used, or expired, or it was issued for another realm, kind, purpose, or user\. A challenge lasts sixty seconds\. | Start the passkey steps again from their options step to get a fresh challenge\. Complete them within sixty seconds, on the same realm and for the same user and purpose\. |
| <a id="passkey_change_closed-builder_sign_in"></a>`passkey_change_closed` | 409 | The 72\-hour window for reverting this passkey change closed, or the change was already reverted\. This call did not revert the passkey change\. A builder\-account request may have revoked tokens issued through a sign\-in exchange before it returned this refusal\. | Where the change added a passkey that is not yours, remove it on the passkey page, or through the remove routes on an end\-user realm, and sign out everywhere\. Where the change removed a passkey you want back, register a passkey again\. A change is reverted only once\. |
| <a id="passkey_change_unknown-builder_sign_in"></a>`passkey_change_unknown` | 404 | You asked to revert a passkey change that matches no change of your signed\-in account or user\. | Read the open changes and pass one of them: on the builder realm, the passkey page lists them; on an end\-user realm, the revertible member of GET /\_\_account/passkeys does\. |
| <a id="passkey_counter_regressed-builder_sign_in"></a>`passkey_counter_regressed` | 403 | The authenticator's sign count did not go above the stored counter, which can mean a copied authenticator\. A counter that stays at zero is accepted\. | For a sign\-in or a confirmation, use another sign\-in method the page offers\. For a removal, confirm it with a different passkey you have\. |
| <a id="passkey_not_stranded-builder_sign_in"></a>`passkey_not_stranded` | 409 | This passkey still works on the realm's sign\-in host\. Use ordinary removal and confirm with a usable passkey on the same account\. | Remove this passkey through the ordinary removal: the passkey page on the builder realm, or the remove route on an end\-user realm\. Then complete the passkey confirmation that removal asks for\. |
| <a id="passkey_origin_mismatch-builder_sign_in"></a>`passkey_origin_mismatch` | 400 | The passkey steps ran, or a page asked for their options, on an origin other than the realm's own sign\-in origin\. | For browser sign\-in, start a new passkey attempt on the realm's sign\-in host\. Use the environment's managed hostname, or its custom domain while production sign\-in uses it\. For the builder realm, use the platform's public sign\-in host\. For an Android build, the application's author declares every signing fingerprint the build uses in the realm's native client settings, then retries\. |
| <a id="passkey_registration_refused-builder_sign_in"></a>`passkey_registration_refused` | 400 | The passkey registration did not verify, or its attestation object could not be decoded\. | Start the registration again from your signed\-in session and complete the authenticator's user verification when it prompts you\. If your authenticator cannot verify you, register with one that can\. |
| <a id="passkey_requires_email-builder_sign_in"></a>`passkey_requires_email` | 409 | A passkey registration was asked for an account that has no emailed\-code sign\-in, at the options route or the register route\. A passkey is a shortcut for the emailed code, so only an account that signs in by code can have one\. | Sign in by the emailed code once at the address a provider sign\-in of this account verified; that adds the code to the account\. A code sent to another address makes a new account\. Then register the passkey at that sign\-in's offer, or later from the platform's passkey page or an application's register route under a fresh authentication\. |
| <a id="passkey_rp_id_mismatch-builder_sign_in"></a>`passkey_rp_id_mismatch` | 400 | The authenticator reports a relying\-party identifier other than the realm's: its rpIdHash does not match the realm's relying\-party identifier hash\. | On the realm's sign\-in host, start a new passkey attempt and use the relying\-party identifier it gives you\. If the passkey is for an earlier host, sign in by another method the page offers and register a new passkey\. |
| <a id="passkey_unknown-builder_sign_in"></a>`passkey_unknown` | 404 | No passkey of this realm matches the credential identifier, or, for an act of a signed\-in user, none of that user's does\. The passkey's account or user may no longer exist\. A passkey whose account has no emailed\-code sign\-in is refused this way at sign\-in too: the platform removes it and opens no session\. | Reload the passkey list before renaming or removing a passkey, and choose one your account still holds\. For sign\-in, use a passkey registered on the current sign\-in host or another method the page offers\. To register a replacement, sign in by emailed code and accept the passkey offer\. |
| <a id="passkeys_not_configured"></a>`passkeys_not_configured` | 404 | The builder realm's passkey routes are off because the control plane serves no passkey route\. Either no relying\-party identifier is configured, or no email sender is set up, and a passkey is a shortcut for the emailed code\. | Nothing you do corrects this\. Sign in with another method meanwhile\. The platform operator configures the relying\-party host and the managed sender, and the routes work again once both are set up\. |
| <a id="rate_capped-builder_sign_in"></a>`rate_capped` | 429 | The request reached a limit on the count for its window\. The limit can be on an application's logging batches per minute or on a source address's client registrations per hour\. The control plane and the router's admission limits count requests in the current UTC minute\. A page view of the site counts in a page window of its own, six hundred a minute\. A call to read\_library on the actions route counts in a library window of its own, four thousand a minute\. A call to search\_documentation presenting no credential counts in a documentation search window of its own, one hundred and twenty a minute\. Where no separate window or exemption applies on the control plane, the source window counts six hundred requests a minute\. A signed\-in approval or dashboard arrival spends no source window\. Across the six gateway routes for storage, egress, logging, push, email, and job start, requests that resolve to the same credential share a limit of six hundred requests per UTC minute, even when they come from different source addresses\. For admission, each of these requests counts only toward the credential's limit\. A presented value there that resolves to no credential counts in a window of its own for the source, six hundred a minute, apart from the source window\. On those routes, a request through the edge whose source is at that bound is refused before its credential is looked up, unless the gateway already has that credential\. On the deploy command's progress read, a read under its upload's started grant counts in a window keyed on that grant's identity\. A read there that presents anything else counts in the source window, which once full refuses the source before any lookup\. At the control plane, the admission window's refusal includes Retry\-After, the seconds to the next minute\. The serving router counts requests to one application on each router replica in the current UTC minute\. Anonymous requests count against their source address\. Signed\-in requests count against both the user and a separate limit for the source address's signed\-in requests\. The refusal comes before the request reaches the application\. `Retry-After` gives the seconds to the next UTC minute\. A `request_route` or `write_route` call counts in one window of their own for the acting account, sixty a minute\. A `check_app_sign_in` call counts in a window of its own for the acting account, ten a minute, and the accounts service counts the checks of each realm in a window of its own, ten a minute\.<br><br>For the dashboard picture route, an arrival without a verified dashboard cookie and current session uses the source window; an admitted arrival counts in its account's own window, sixty reads a minute\. | If the response gives `Retry-After`, wait that many seconds and retry below the limit\. For a request or logging limit without that header, retry below the limit when the next UTC minute starts\. For client registrations, wait until the earliest registration in the hour leaves that window\. |
| <a id="realm_creation_ceiling-builder_sign_in"></a>`realm_creation_ceiling` | 403 | On a creation, the realm accepts no further accounts: the creation ceiling is reached\. On the platform's own builder sign\-in, the name is recorded on the operator's side, and your page shows the operator's paused panel and no name\. | On an end\-user realm's creation, nothing the person signing up does corrects this: you, the application's author, raise the ceiling with configure\_app\_sign\_in \(limits\.creation\_ceiling\)\. On the platform's own builder sign\-in, the operator raises or clears it the same way, and an invitation's link still creates an account\. |
| <a id="request_too_large-builder_sign_in"></a>`request_too_large` | 413 | The request is over the surface's request bound, or over the bound a transfer grant accepts\. On the builder sign\-in, a client registration's declared body is over 16 KiB\. On every surface, the serving router among them, a body over the bound the surface's parser reads is refused the same way, the detail giving that bound\. | Reduce the request body to the byte bound the refusal detail gives, then send it again\. Keep a storage upload within the size its transfer grant accepts, and keep a client registration at sign\-in at or under 16 KiB\. |
| <a id="retired_host-builder_sign_in"></a>`retired_host` | 421 | The hostname you sent the request to is one the platform retired\. The request is refused before any route runs, and the detail gives the current address\. A client that still uses the old name fails with a clear reason instead of working on it unnoticed\. | Change the address your client uses to the current address the detail gives, then send the request again\. |
| <a id="sign_in_failed-builder_sign_in"></a>`sign_in_failed` | not fixed | The provider sign\-in could not be verified\. The builder sign\-in returns 400, and an end\-user realm returns 403\. | For the builder sign\-in, start again from your tool\. For an end\-user realm, restart from the application's sign\-in page\. |
| <a id="sign_in_required"></a>`sign_in_required` | 401 | No provider sign\-in is configured for the authorization, or a passkey management route was reached without a signed\-in browser session\. Or a sign\-in whose code goes to a host other than a loopback address completed on a server keeping no browser sign\-in, which cannot show the page that asks to allow the tool; nothing minted\. | For a passkey route, sign in again in the browser, then return to the passkey page\. Where no provider sign\-in is configured on the server, or the server keeps no browser sign\-in, nothing you do corrects this until the platform configures one\. |
| <a id="signin_code_invalid-builder_sign_in"></a>`signin_code_invalid` | 400 | The sign\-in code is wrong, expired, superseded, or unbound, and the refusal does not say which\. The attempt is spent, and the sixth attempt ends the code\. The `sign_in_test_end_user` action returns it on its command route where the stored code did not confirm, or no code was stored, and nothing is signed in\. | Enter the code again in the browser that requested it while attempts remain\. If the code expired or its attempts ran out, start sign\-in again in that browser\. For tool\-based test sign\-in, repeat the test sign\-in call to request a fresh code\. If the test end user expired, create a new one with `add_test_end_users` before retrying\. |
| <a id="signin_code_rate_limited-builder_sign_in"></a>`signin_code_rate_limited` | 429 | An emailed\-code sign\-in start went past the per\-address send rate, the address's failure count for the hour, or the per\-realm or estate\-wide send ceiling\. The start that `sign_in_test_end_user` makes on its command route is refused the same way where the test end user's address reached the per\-address rate, and nothing is signed in\. | Wait for the hour to pass, then start the sign\-in again, because requesting another code sooner does not reset the count\. If only the per\-address send limit is too low, the app author can raise that limit with `configure_app_sign_in`\. The failure count and the realm and estate send limits still apply\. |
| <a id="signin_rate_limited-builder_sign_in"></a>`signin_rate_limited` | 429 | A sign\-in start went past a per\-source rate\. The rate is an end\-user realm's for its provider and emailed\-code starts, or the builder realm's per\-source window on emailed\-code starts\. Or it is one network source's share of emailed\-code starts an hour across every realm\. That share is a sixth of the estate\-wide ceiling as computed from the estate's sender quota, and the detail gives its number\. The start that `sign_in_test_end_user`'s command route, or the `test_end_user` of `request_route` or `write_route`, makes counts in the end\-user realm's rate under the caller's source address, beside the browser's starts, and is refused the same way past it\. | Wait for the applicable hourly window to admit another sign\-in attempt\. If you are on a shared network, you can also start again from your usual trusted network\. One network source's share of emailed\-code starts an hour across all realms is a sixth of the estate\-wide ceiling\. The refusal's detail gives the number when that share applies\. The application's author can raise that realm's configurable per\-source rate with `configure_app_sign_in` and `limits.signin_starts_per_hour`\. The passkey autofill window, the builder realm's rate and the estate\-wide share are fixed for callers\. |
| <a id="slow_down"></a>`slow_down` | 400 | Your program polled the token endpoint under the device\-code grant sooner than the interval allows after its last poll \(RFC 8628\)\. The request is still pending and no token is issued\. | Poll at most once every five seconds\. |
| <a id="store_unavailable-builder_sign_in"></a>`store_unavailable` | 503 | The plane's database did not respond to the credential lookup the guard runs, so the request was not processed; retry it\. On the storage, egress, and logging wires, the same refusal comes where the gateway had no entry within its stale ceiling\. On submit\_manifest, the control store failed while the manifest's upstreams were written after its record\. A write the failure followed is taken back where it can be, the manifest stays recorded, and the detail lists the upstreams declared, those not, and any left over\. A failure while the realm member or the push entry's providers are recorded, after the upstreams, takes nothing back\. What was recorded remains, and the detail lists the realms, or the push configurations, done and those not\. On the start\-line route, the line was not stored, and the workflow posts it again\. | For a transient refusal before processing, retry after a short wait\. If `submit_manifest` was processed in part, resubmit the same manifest to finish declarations, realms and push configuration before the next deploy or promote\. If the detail says no status record is bound, report it to the platform operator so the binding can be restored\. |
| <a id="synthetic_account_fixed-builder_sign_in"></a>`synthetic_account_fixed` | 403 | An identity or a passkey tried to join a synthetic account, or an identity tried to leave it, and was refused\. A synthetic account has exactly the identities its seed bound and signs in through the emailed\-code route alone; an access\-link account signs in through its link alone\. The refusing sites are the route for removing an identity, the route for linking an identity, the link ticket, the add\-a\-route start and its callback, the same\-address interrupt ahead of its choice and its code and link exits, and the passkey registration routes\. | Nothing corrects this: a synthetic account gains no identity and no passkey\. Sign in on the emailed\-code route with the fixture address the seed bound, its code read through the staff read of a synthetic sign\-in code\. An access\-link account signs in by its link alone\. Its seeded identities cannot be removed\. |
| <a id="temporarily_unavailable"></a>`temporarily_unavailable` | 503 | The device authorization request could not draw a user code that no live request already uses, after three tries \(RFC 8628\)\. Nothing was written\. | Send the device authorization request again\. |
| <a id="unrecognized_invitation-builder_sign_in"></a>`unrecognized_invitation` | 403 | The realm accepts new accounts only by invitation, and the creation had no valid one\. It had no invitation, one for another address, or one that is spent, expired, or revoked\. The same name covers every case, on an end\-user realm's surface and on the builder realm's sign\-in page\. | For a native app, accept the invitation in the browser before trying native sign\-in again\. Sign in through the URL of a valid invitation, using the address it gives, or ask the realm's author for a fresh one, the platform's operator for the builder realm\. To check an app invitation's state, use `list_invitations`\. To issue a fresh link, call `invite_end_user` with `email` for the same realm\. |
| <a id="unsupported_token_type"></a>`unsupported_token_type` | 400 | The builder sign\-in's revocation endpoint, POST /oauth/revoke, received a token carrying a platform credential's prefix\. This token form is not supported here; the prefix alone decides, without checking validity\. Nothing is ended\. | End an OAuth connection here with its refresh or access token\. End a minted or product token with revoke\_token or on the dashboard\. End an end\-user session at its realm's revocation endpoint or by signing out\. For another token form, use its issuing surface\. |

## Router

The serving router on the application hostnames and their custom domains and the two platform\-internal resolve endpoints it reads, resolve and resolve\_host\.

| Refusal | Status | Cause | Remedy |
|---|---|---|---|
| <a id="account_paused-router"></a>`account_paused` | not fixed | The owning account used up its Free Allowance and has no live credit\. Unlimited applications are exempt\. The router returns 429 on every request to either hostname, including shell files and realm paths; scheduled runs are refused by the same name\. Storage reads, lists, puts, deletes and grant mints, and egress calls before an upstream is reached, answer 429\. Management acts that deploy, promote, roll back, restart or resume return 409 before writing a row\. `run_job` also returns 409 without starting a run\. `set_database_size` and `restore_database` also return 409 before a row is written\. A generate\_image call past the month's free images is refused 409 before the provider is called, counting and charging nothing\. New WebSocket upgrades are refused; open sockets close with code 1008 and reason `account paused`\. On the router, `Retry-After` gives seconds until the scheduled reset at the start of the next UTC month\. The router gives a request preferring HTML the pause page instead of JSON\.<br><br>On the email surface, sending is refused 429 with `Retry-After` in seconds and `resets_at`, the scheduled monthly reset\. Nothing is queued or counted\. | A paused account resumes when it has Free Allowance available again or credit it can use\. Check the current pause state before retrying\. To move a paused account's database back to shared, ask support for the operator\. `set_database_size` and `restore_database` are refused while paused\. |
| <a id="account_suspended-router"></a>`account_suspended` | not fixed | The account is suspended\. On the management surface it is the account you act as \(403\), including for `run_job`\. On the router it is the account the served hostname belongs to \(503\)\. At the tunnel seat it is the calling application's account \(403\)\. On the builder sign\-in surface, a suspended account's sign\-in completion is refused with this name \(403\), whether it comes from a provider or a passkey\. That refusal creates no session, sets no cookie, and issues no code\. A grant is refused with this name \(403\) while the account recorded as its owner is suspended\. This covers a transfer grant on the storage surface, an upload grant on the deploy command's progress read, and a secret grant on its one write\. The grant works again once the account is reinstated, if it has not expired\. On the egress surface, an egress key is refused with this name \(403\) while its owning account is suspended\. The platform operator restores the account\. On the support read surface, a consent and a read for a suspended account are refused with this name \(403\)\. The tzMesh site token route also refuses a suspended account with this name \(403\), and mints no token\.<br><br>On the dashboard picture surface, a current dashboard session for a suspended account is refused \(403\)\. | Ask the platform operator about reinstatement\. After reinstatement, sign in again if the prior session ended, or reconnect your tool, then retry\. A still\-live grant can work again within its scope after reinstatement\. |
| <a id="authentication_required-router"></a>`authentication_required` | 401 | No credential resolved to an account\. The refusal is the usual challenge giving the protected\-resource metadata, at the internal resolve endpoint gate, or at the audience gate the router applies\. On the management and MCP surfaces, the detail says whether the connection presented no credential or presented one that resolved to no account\. Where the credential you presented has the form of a short\-lived grant and the platform has no grant of that value, the detail says the grant was not accepted\. On the support read surface, a consent or its end without a signed\-in support cookie, and a read without a live support read token, are refused with this name \(401\)\.<br><br>A page\-only action is refused with this name, without a `WWW-Authenticate` challenge, where no API cookie call is admitted\. No bearer can call that row\.<br><br>The sign\-in removal is also refused with this where Sign out everywhere ended the acting session's generation before the removal's transaction\. | For the support read, ask the visitor to sign in on the website and share their account in that support chat\. The website gives the support agent a live read token for the chat\. If the consent or stop\-sharing action was refused, sign in on the website and repeat the action there\.<br><br>Where no credential was presented, nothing was done\. Ask the person to sign in to Turn Zero: in Claude Code they type /mcp and choose the server, in Codex they finish the page the add line opened or run codex mcp login, and the Claude app offers it at the connector\. Then make the call again\.<br><br>The turnzero command has its own sign\-in, which a tool's sign\-in does not make\. A signed\-in tool chooses its deploy route with read\_documentation, page /cloud/getting\-started/ways\-to\-deploy/\. It authorizes the computer where the command is selected; where the command is unavailable, the tool uses deploy\_files within its caps and the upload route past them\. The person runs turnzero login only where no in\-tool route works, or to renew their own login\. A job presents a minted token or the credential the surface takes\.<br><br>Where the credential you presented resolved to no account, sign in again and make the call again\. On an application's routes, have the end user sign in again\.<br><br>Where a grant was not accepted, it expired and was removed, or its value was changed\. If the command or line a tool call returned had the grant, make that call again and run the fresh command it returns\. If your application requested the grant, request another\. On an application's routes, the serving router refused the request before it reached the application\. Test the application's own authentication branches in its offline tests or in a local run\.<br><br>For a page\-only act, sign in on this site and use its page\. A bearer credential does not admit the call\. |
| <a id="client_upgrade_required"></a>`client_upgrade_required` | 426 | The serving router refuses with this on an application request whose `x-turnzero-cloud-client` header gives a native client declared on the realm, at a version below that client's minimum version\. The body includes `minimum_version`, the oldest version accepted, and `update_url`, the store link declared for the client, null where none is declared\. The request reaches no application code and counts toward no request limit\. | An end user installs the app's current version from the update URL and opens it again\. If the response gives no URL, use the app's normal update channel\. If the setting seems wrong, ask the app owner to verify the minimum version on that realm\. Change `minimum_version` with `configure_app_sign_in` only at the owner's direction\. |
| <a id="environment_halted"></a>`environment_halted` | 503 | The serving router refuses with this on every path of a halted environment's hostname, the reserved prefix included\. You or the platform halted the environment\. Calling `halt_environment` with `resume: true` on the management surface ends the halt\. | Call halt\_environment with resume: true for the application and the environment, or deploy a version to the development environment, which ends its halt\. An end user asks the application's author to do so\. The refusal ends within the router's bounded interval after the resume\. |
| <a id="function_busy"></a>`function_busy` | 429 | A function call was refused at an application or account limit on the pool replica it reached\. The environment reached its limit on calls in flight or live workers, or the account reached its live\-worker or daily CPU limit\. The function did not run\. detail identifies the limit\. No retry time is supplied\. | For calls in flight, retry after a call ends\. For a worker limit, retry after a worker ends\. A refusal on one replica does not establish that every replica is full\. For a daily CPU limit, try again on the next UTC day\. |
| <a id="function_unavailable"></a>`function_unavailable` | 503 | The platform's function pool could not run the function on the replica reached\. Its settings were absent or unreadable, its installed code could not load, its worker network was not ready, or the replica reached its own worker limit\. The function did not run\. This is a platform failure, separate from the application's function\_busy limits\. | Retry the request\. The function did not run\. If the refusal repeats, give the application owner the response detail and any reference it includes\. If you have a management connection that admits `submit_feedback`, you can report it there\. |
| <a id="invalid_request-router"></a>`invalid_request` | not fixed | The input is malformed or missing, and the detail gives the member\. Or the input has a NUL \(U\+0000\) or an unpaired UTF\-16 surrogate, and the detail gives the character\. This is the generic validation refusal of every surface\. On a management action, it also refuses a call that gives a member the action does not declare\. The detail lists that member, a nested one by its path, and every member declared at that place\. Where that list would pass the detail's budget, the detail gives each place's member count instead and points to the action's reference page, which lists them\. It also refuses a body the surface could not read, or a path segment whose escape does not decode, in the surface's own form, repeating nothing from the request\. On `create_space`, it also refuses a `space` deleted within the last 35 days, while its deletion marker remains, and nothing is created\. At a request for the `tzmesh` resource, and at the completion of its sign\-in, it also refuses a browser's prefetch, which holds no confirmation\. On `deploy_files`, a list entry with `content` under a path segment the zip leaves out is refused with `kept` and `refused`\. Its `kept` lists the content entries kept and each entry by `sha256` alone whose file the platform holds and could read as the refusal was built; `refused` lists the entries refused\.<br><br>Over HTTP, a value outside a bound an action's reference states is refused `invalid_request`\. Over MCP, your client's or the SDK's argument check runs first\. A rule checked only by the handler draws `invalid_request` on either route\. On the payment event route, a missing, malformed, invalid or stale signature, an unreadable event, or an event in the other mode receives the same refusal and changes nothing\. The detail discloses no class or request content\.<br><br>On `set_database_size`, the size is not one of its four values, production already has the requested size, or a dedicated size was requested for a serverless application\. A serverless application's database stays `database-shared`\. Nothing changes\.<br><br>The usual validation status is \(400\)\. On the builder's Allow page, a confirmation posted from outside the sign\-in page's origin or without a recent sign\-in receives \(403\)\. Browser checks can also return \(403\) when you confirm or cancel an approval, open or sign in to a test account, or cancel a builder connection\. A provider callback that uses a method the route does not accept receives \(405\)\. | Correct the member the detail gives, or send a member the action declares in place of one it does not; the detail or the action's reference page lists them\. Or remove the character the detail identifies\. Then send the request again\. For a deleted space's identifier, pass another `space`, or leave it out and the platform chooses one\. A refused prefetch needs nothing: the request is served when the person opens it\.<br><br>For payment events, the payment provider sends this request\. The platform operator checks the provider's delivery record and the platform's refusal record\. The response gives the same detail for every payment\-event validation failure\.<br><br>For a 403 on a browser confirmation, return to your tool and sign in again\. Use the confirmation page in the same browser with a recent sign\-in\. For a 405 on a provider callback, use the method its detail gives\. The provider sends that callback\. |
| <a id="method_not_allowed-router"></a>`method_not_allowed` | 405 | A mutating action was reached with GET, or a storage route with a method it does not serve\. Or the serving domain's apex or its www name was reached with anything but GET or HEAD of /\. | Use the method the refusal gives for that route\. Send a mutating management action with POST\. For storage, PUT declares an area, POST mints a transfer grant, and GET lists files\. GET or HEAD reads an account picture\. A file route accepts PUT, GET or DELETE\. On the service apex or its www host, use the application's own hostname\. |
| <a id="not_configured"></a>`not_configured` | 503 | The platform\-internal resolve endpoint has no router resolve secret configured, or the serving router's invoke endpoint has no invoke secret configured\. On the start\-line route, a plane whose setting gives no repository, or that has no status record to write to, refuses every line with this before reading the token\. On the payment event route, the estate's provider settings are absent, incomplete or in different modes, so the route accepts no event\. | Nothing you do corrects this\. The platform's operator sets the missing secret or setting and restarts the services that read it\. |
| <a id="not_deployed"></a>`not_deployed` | 404 | The environment the hostname reaches has no deployed version yet, so nothing is served there, the shell included\. | Deploy a version, or on an application with two environments promote one to production, then request the hostname again\. An end user asks the application's author to do so\. |
| <a id="not_found-router"></a>`not_found` | 404 | You gave a pending action, secret, operated account, token, connection, realm action's invitation, synthetic purge, or export that does not exist or is not yours \(the contract for the invitation; the contract for the connection\)\. For clear\_development\_database, the application you gave has no development database\. For query\_database, the environment you gave has no database\. For request\_export with download: true, the export's files are no longer in its export area\. For the four feedback actions, the `space` you gave is no issue space your account has, refused before any token is read\. On the realm surface, the session a revocation from the session list gives is no live session of the signed\-in end user\. On the device routes, the installation identifier matches no registration of the signed\-in user\. On the push surface, the request uses a path or a method under /push/v0 other than POST /push/v0/messages\. On the realm surface, the request uses a path or a method under /\_\_account/ that no realm route serves, the OpenID Connect discovery path among them\. For a staff read of a synthetic account's state, the `account` you gave is an id that belongs to no account, under `super_admin`\.<br><br>The dashboard picture route is unconfigured, the dashboard session does not verify, or the account has no tzMesh profile, person or picture\.<br><br>On the serving router, the serving serverless version has no file or function for the requested path and method\. A pool response can also report that its loaded version has no function for the path\. Nothing was run\.<br><br>On `set_database_size` or `restore_database`, the application has no production database: no database kind is declared, or no version has been promoted to production\. Nothing changes\. | Check the identifier against the listing for its kind: list\_secrets, list\_tokens, or list\_invitations\. For a pending action, a purge, an export, or a seeded or first\-sign\-in account, check it against the id an earlier response returned\. Then repeat the request with an identifier that belongs to your account\. For the feedback actions, pass a space that list\_issue\_spaces or submit\_manifest's receipt returns, or leave `space` out for the platform's own space\. On the realm surface, read the session list at GET /\_\_account/sessions and pass an id it returns\. For clear\_development\_database there is nothing to clear: a development database exists once a submitted manifest declares the database kind\. For query\_database there is nothing to read: an environment's database exists once a submitted manifest declares the database kind\. For a path no realm route serves, read the realm's endpoints at /\.well\-known/oauth\-authorization\-server on the hostname, which is served where the realm declares a client\.<br><br>For a support deployed\-files read, check whether the requested serving or previous version exists\. If the response says its image is no longer kept, tell the person that version's deployed files are unavailable\. If only the path is missing, list that version's deployed files and choose a path it returns\. For a support issue\-space read, choose a space the shared account holds and the support read covers\.<br><br>On the push surface, check the documented request method and path\.<br><br>The dashboard picture route takes no identifier\. Sign in if needed; without a picture, use initials\.<br><br>For a serverless route, check the path and method against the serving version's client files and functions\. Deploy missing code or files, or use a path that version serves\. |
| <a id="origin_not_admitted-router"></a>`origin_not_admitted` | 403 | The serving router refuses a WebSocket upgrade whose `Origin` header is neither the origin of the hostname it arrived on nor one that the application's `websockets` declaration lists\. The check runs after `standing_stale` and before the visitor's session is read, so a page on another site opens no connection under the visitor's cookie\. A handshake with no `Origin` header passes, since every browser sends one\. Nothing was forwarded to the application\. On the builder sign\-in surface, /accounts/v0/tzmesh/site\-token refuses an absent Origin or one outside the configured tzMesh site origins, before reading its cookie\. | Open the connection from a page on the application's own hostname, or list the page's origin in the manifest's `websockets.origins` and submit the manifest with submit\_manifest\. The router reads the declaration within about 30 seconds, with no redeploy\. For the tzMesh site token, return to the tzMesh site and sign in there\. For the command's local sign\-in relay, open the page at the address printed by the current command\. |
| <a id="rate_capped-router"></a>`rate_capped` | 429 | The request reached a limit on the count for its window\. The limit can be on an application's logging batches per minute or on a source address's client registrations per hour\. The control plane and the router's admission limits count requests in the current UTC minute\. A page view of the site counts in a page window of its own, six hundred a minute\. A call to read\_library on the actions route counts in a library window of its own, four thousand a minute\. A call to search\_documentation presenting no credential counts in a documentation search window of its own, one hundred and twenty a minute\. Where no separate window or exemption applies on the control plane, the source window counts six hundred requests a minute\. A signed\-in approval or dashboard arrival spends no source window\. Across the six gateway routes for storage, egress, logging, push, email, and job start, requests that resolve to the same credential share a limit of six hundred requests per UTC minute, even when they come from different source addresses\. For admission, each of these requests counts only toward the credential's limit\. A presented value there that resolves to no credential counts in a window of its own for the source, six hundred a minute, apart from the source window\. On those routes, a request through the edge whose source is at that bound is refused before its credential is looked up, unless the gateway already has that credential\. On the deploy command's progress read, a read under its upload's started grant counts in a window keyed on that grant's identity\. A read there that presents anything else counts in the source window, which once full refuses the source before any lookup\. At the control plane, the admission window's refusal includes Retry\-After, the seconds to the next minute\. The serving router counts requests to one application on each router replica in the current UTC minute\. Anonymous requests count against their source address\. Signed\-in requests count against both the user and a separate limit for the source address's signed\-in requests\. The refusal comes before the request reaches the application\. `Retry-After` gives the seconds to the next UTC minute\. A `request_route` or `write_route` call counts in one window of their own for the acting account, sixty a minute\. A `check_app_sign_in` call counts in a window of its own for the acting account, ten a minute, and the accounts service counts the checks of each realm in a window of its own, ten a minute\.<br><br>For the dashboard picture route, an arrival without a verified dashboard cookie and current session uses the source window; an admitted arrival counts in its account's own window, sixty reads a minute\. | If the response gives `Retry-After`, wait that many seconds and retry below the limit\. For a request or logging limit without that header, retry below the limit when the next UTC minute starts\. For client registrations, wait until the earliest registration in the hour leaves that window\. |
| <a id="request_too_large-router"></a>`request_too_large` | 413 | The request is over the surface's request bound, or over the bound a transfer grant accepts\. On the builder sign\-in, a client registration's declared body is over 16 KiB\. On every surface, the serving router among them, a body over the bound the surface's parser reads is refused the same way, the detail giving that bound\. | Reduce the request body to the byte bound the refusal detail gives, then send it again\. Keep a storage upload within the size its transfer grant accepts, and keep a client registration at sign\-in at or under 16 KiB\. |
| <a id="scheduled_handler_only"></a>`scheduled_handler_only` | 404 | This declared schedule path accepts only the platform's scheduled runs\. The harness or function pool refuses other requests before your application's code runs\. The harness records a harness\_refusal line\. | Use a public path if you meant to make an HTTP request\. To start this scheduled job, ask the application owner or use `run_schedule` if your management connection admits it\. To make the path public, the owner can remove the schedule from the manifest, submit it with `submit_manifest`, then deploy or promote the environment again\. |
| <a id="serverless_no_websocket-router"></a>`serverless_no_websocket` | 400 | A serverless application cannot keep a WebSocket connection open\. The router refuses an upgrade and forwards nothing\. Manifest submission and checking refuse `websockets`; the recorded manifest stays unchanged\. | Use HTTP requests and remove `websockets` from the serverless manifest\. If the connection must stay open, ask the owner before choosing a server, then create a separate server application\. |
| <a id="socket_limit_reached"></a>`socket_limit_reached` | 429 | The serving router replica has reached one of its counts of upgraded connections, or is within its margin of its open\-file limit\. The detail gives the bound reached\. On a pod\-grain leg, the cell's front refuses an upgrade past its own bound with a marked response\. The router refuses with this name on that mark, its detail citing the front's bound or the environment's share of it\. A stopping replica refuses with it too, with `Retry-After: 1`\. Nothing was forwarded to the application\. | Close a connection before opening another, or retry with a growing wait\. Where the detail reports a stopping replica, open the connection again, and another replica takes it\. Where the environment's own connections\-per\-replica bound is reached, move a shared\-0\.5gb application to shared\-1gb with set\_app\_size only at the account owner's request\. Ask for a size they have not chosen; if nobody can answer, report the refusal and change no size\. The move changes production to the larger size's rate key\. A size\-only move keeps production's sleep setting\. Read that setting as `production_sleep` through `read_status`\. Turning sleep off requires the owner's choice\. |
| <a id="standing_stale"></a>`standing_stale` | 503 | The serving router refuses with this on every path of the application's hostname, the shell and the reserved prefix included\. The operator has set how long a router may keep serving from the control plane's last response \(`ROUTER_STANDING_MAX_AGE_S`, no limit by default\)\. The control plane has not responded to that router replica for longer than that\. So the router cannot tell whether the owning account is still in good standing, and serves nothing from its saved copy\. With no limit set, the router serves from its saved copy through any outage and never refuses with this, and a recorded suspension or halt keeps its own refusal\. | Nothing you do corrects this\. The refusal ends when the control plane responds to the router again; the platform operator restores the control plane, and the platform status reports the outage\. An end user retries once the application responds again\. |
| <a id="unknown_application"></a>`unknown_application` | 404 | No live application has the label, or the application's owner record is missing\. | For a public request, use the current hostname, which its author can find with `list_applications`\. Allow the router time to update after a rename\. The hostname of a deleted app stays unavailable\. For an internal outbound credential that resolves to no live app, report the failure to the application's operator\. The public route also stays unavailable while the owner's account is being deleted\. |
| <a id="unknown_host"></a>`unknown_host` | 404 | The Host line is not under the serving suffix, and the request does not have the apps edge's identifier\. Or it has the identifier for a host that no custom\-domain row with a route association has, or the plane has no apps\-edge identifier\. On the serving router's invoke endpoint, the Host line is a label under the suffix, or the request came through the edge\. That endpoint serves requests only on the router's own hostname\. | Send the request to one of the application's two managed hostnames, the production hostname or the development hostname whose first label ends in \-dev, as list\_applications returns them\. Its custom domain serves requests too once read\_status shows the domain serving\. On the invoke endpoint nothing you do corrects this, because the platform's scheduled runs alone use that path\. |
| <a id="upgrade_not_served"></a>`upgrade_not_served` | 400 | A WebSocket upgrade arrived under `/__account/`, `/__router/`, or `/.well-known/`, the platform's own paths on an application hostname, which serve only ordinary requests\. Nothing was forwarded to the application\. | Open the connection on a path of the application's own\. |
| <a id="upstream_ended"></a>`upstream_ended` | 502 | The application's process ended while the request was in flight\. The intermediary in front of the process responded for it before any response header reached the client: the cluster's interceptor's 502 on the pod grain, or the cell ingress's 503 on the container grain\. The serving router reports the ending only where the leg's response is that grain's fixed shape whole, and refuses with 502 and the elapsed duration\. A response of any other shape, an application's own 502 or 503 among them, passes through untouched\. The router's record gives the application, the host, the path, the grain, the intermediary's status, and the duration, and on a scheduled run the schedule and the run\. The invoke envelope reports the ending as upstream\_failed, with upstream\_ended in its detail\.<br><br>On a function leg, the function runtime ended the worker before a response header reached the client\. The router recognizes the runtime's fixed empty 503 response and returns upstream\_ended with the elapsed duration\. A worker can end at a limit or at its own failure; this response does not distinguish them\. | Retry only if the request is safe to repeat\. It may have changed application state before the process or worker ended\. If the outcome is uncertain, check the application before sending the request again\. A retry of a function call uses a fresh worker\.<br><br>If you manage the application, use `read_logs` with source `router` for the ending\. If the harness stopped the process, look for `process_ended` in the container logs\. Report repeated endings with the returned detail\. |
| <a id="upstream_failed"></a>`upstream_failed` | 502 | For a server application, the router's proxy failed before any status reached the client\. On a serverless hostname, the serving version's file index or a file it lists could not be read\. A function leg can also fail because the pool refused the router's request, its refusal format is unreadable to the router, or the resolve response supplies a function with no usable pool target\. The function did not run in these cases\. | If the detail says the function did not run, or an asset could not be read, retry the request\. If the proxy failed before you received a response, check whether the operation took effect\. Repeat it only if it is safe to repeat\. For a scheduled run, check its recorded outcome before starting another run\.<br><br>If the refusal repeats, give its detail to the application owner or report it through an admitted management connection\. |
| <a id="usage_over_quota-router"></a>`usage_over_quota` | 429 | The application is over its stored\-data ceiling, or a push send would pass its month's push quantity\. No size meets this refusal for backend actions or data transfer\. A file put to an area bound to an application whose stored\-data state is over is refused\. So is deploy\_files with a file, keeping nothing\. A generate\_image call with that application is refused before counting or sending anything to the provider, saving nothing\. Gets, lists and deletes continue\. Stored data clears at the next successful daily check that reads it within the ceiling, or at a raised quantity\. On the push surface, a send past the size's push\-messages\-capacity cell accepts nothing\. | If you are using the application, report the refusal to its owner\. For stored data, identify the quantity in the detail and preserve needed data before removing anything\. Wait for the next daily check\. For push, wait until the next UTC month starts\. A larger size raises neither quantity\. For other limits, follow the detail\. |
| <a id="websockets_disabled"></a>`websockets_disabled` | 503 | The serving router's WebSocket switch, its setting `ROUTER_WEBSOCKETS`, does not read `on`\. The operator stopped upgrades, or the router serves the path before its estate's setting is applied\. Every upgrade on every application hostname is refused after the suspension and halt refusals, and the application's requests are served as before\. The router's stop closes every open connection with code 1012\. | Nothing you do corrects this\. Open the connection again later\. |
| <a id="websockets_not_declared"></a>`websockets_not_declared` | 400 | The application's manifest declares no `websockets` member, so it accepts no WebSocket upgrade\. The router refuses with this after `not_deployed` and the audience gate, so a gated application's declaration is never revealed before its 401\. Nothing was forwarded to the application\. | Declare `websockets` in the manifest, the empty object for pages on the application's own hostname, and submit it with submit\_manifest\. The router reads the declaration within about 30 seconds, with no redeploy\. |
| <a id="websockets_not_yet_served"></a>`websockets_not_yet_served` | 400 | The upgrade reached an environment placed on the pod grain, a development environment or a shared\-0\.5gb production environment, while the router's setting `ROUTER_WEBSOCKETS_POD` reads `off`, its default\. Environments on the pod grain on this estate do not serve upgrades yet, and the detail says so\. The refusal lifts on each estate when the platform turns the setting on\. Nothing was forwarded to the application\. | For a test now, use an environment on the container grain, such as shared\-1gb production\. After the platform enables WebSockets for the estate's pod grain, retry the pod connection\. The existing deployment can serve it\. |
| <a id="window_ended"></a>`window_ended` | 504 | The request ran past the bounded execution window, the platform's configuration keyed by invocation kind\. Where no response header has reached the client, the serving router refuses with 504 and the elapsed duration\. Where the response is streaming, the router cuts the application leg\. The router's record gives the application, the host, the path, and the duration, and on a scheduled run the schedule kind, the schedule, and the run\. The harness's own line in the container's log says whether the handler yielded on its signal\. Where the handler did not yield within the grace, `process_ended` lists the requests the process end cut beside it\. The harness records this refusal and never sends it\. | Treat a cut\-off stream as incomplete\. Before repeating a write, check whether it took effect\. If you own the application, read the window\_ended record through read\_logs with source router and check the container logs for cancellation\. Make the handler finish within the window and end its response when request\.signal aborts\. |

## Egress tunnel

The egress tunnel seat in the hosting cell — the HTTP CONNECT proxy of the tunnel mode\. A refusal is a 403, or 429 at one of the application's egress limits, with 407 for the credential, 502 for a failed dial, and 503 for an unanswered declaration read\. The X\-Egress\-Refusal header gives its name and the body is \{ contract\_version, error, detail, host, port \}; egress\_undeclared's carries its remedy beside them and a limit's the count, the limit, and the reset\. Every refusal is also a row of the seat's establishment record\.

| Refusal | Status | Cause | Remedy |
|---|---|---|---|
| <a id="account_suspended-egress_tunnel"></a>`account_suspended` | not fixed | The account is suspended\. On the management surface it is the account you act as \(403\), including for `run_job`\. On the router it is the account the served hostname belongs to \(503\)\. At the tunnel seat it is the calling application's account \(403\)\. On the builder sign\-in surface, a suspended account's sign\-in completion is refused with this name \(403\), whether it comes from a provider or a passkey\. That refusal creates no session, sets no cookie, and issues no code\. A grant is refused with this name \(403\) while the account recorded as its owner is suspended\. This covers a transfer grant on the storage surface, an upload grant on the deploy command's progress read, and a secret grant on its one write\. The grant works again once the account is reinstated, if it has not expired\. On the egress surface, an egress key is refused with this name \(403\) while its owning account is suspended\. The platform operator restores the account\. On the support read surface, a consent and a read for a suspended account are refused with this name \(403\)\. The tzMesh site token route also refuses a suspended account with this name \(403\), and mints no token\.<br><br>On the dashboard picture surface, a current dashboard session for a suspended account is refused \(403\)\. | Ask the platform operator about reinstatement\. After reinstatement, sign in again if the prior session ended, or reconnect your tool, then retry\. A still\-live grant can work again within its scope after reinstatement\. |
| <a id="egress_connect_failed"></a>`egress_connect_failed` | 502 | The tunnel proxy dialled the address it resolved for your target, and the connection was not accepted\. | Retry the request\. If the refusal repeats, report it with its detail\. |
| <a id="egress_connections_capped"></a>`egress_connections_capped` | 429 | The tunnel proxy refused a new outbound connection\. Your application opened more connections in this UTC minute through this proxy replica than its size's quantity allows\. Both sizes have the same quantity\. The body gives count, limit, and resets\_at, the instant the minute ends\. Connections already open keep running\. | Wait for the next UTC minute, then connect again\. Reuse connections instead of opening one per request\. A larger size does not raise it\. |
| <a id="egress_daily_bytes_capped-egress_tunnel"></a>`egress_daily_bytes_capped` | 429 | Your application has moved more bytes today, in UTC, through outbound connections and calls to its own upstreams than its size's quantity allows\. Both sizes have the same quantity\. The tunnel proxy refuses new connections and cuts open ones at their next byte, recording the cut as refused\_bounds\. The gateway refuses calls to the application's own declared upstreams\. The body gives the day's bytes as count, the limit, and resets\_at, the first instant of the next UTC day\. | Wait for the instant resets\_at gives, the start of the next UTC day, then try again\. Read today's bytes and the limit in read\_usage's egress\_limits member\. A larger size does not raise it\. |
| <a id="egress_key_not_admitted-egress_tunnel"></a>`egress_key_not_admitted` | not fixed | The egress key the platform mints for one upstream of one deployed compute works only on that upstream's keyed route\. Everywhere else it is refused with this name \(403\): another upstream, a management action, the storage and logging routes, a gated documentation tree's machine files, the push and email send routes, the job start route, and the realm surface\. The MCP server refuses it with a 401 challenge, and the tunnel seat with 407\. | Present the egress key only as the bearer of calls under the base URL in its setting, which the deploy set for that upstream\. To call another upstream the same way, declare it with its own `sdk_settings` and read that upstream's key setting\. For any other act, present the credential that surface accepts, such as the application's platform credential on the storage and logging routes\. |
| <a id="egress_link_local_address-egress_tunnel"></a>`egress_link_local_address` | 403 | At the tunnel proxy, the target is, or its name resolved to, a link\-local address when the connection is set up, the instance metadata address among them\. At the egress gateway, at each call, the declared upstream's host resolved to a link\-local address\. | Use a hostname that resolves only to public unicast addresses\. Make sure each redirect target meets the same rule\. If the manifest lists your upstream, update its base URL in the manifest's `upstreams` entry\. Run `submit_manifest` to record the change, then deploy\. Otherwise, run `declare_outbound_api` again under the same upstream name with the new base URL\. In `declare_outbound_api`, omit `sdk_settings` to keep them\. Set `sdk_settings` to null to remove them and end the upstream's egress keys\. For a platform\-managed upstream, report the refusal to the platform operator\. |
| <a id="egress_loopback_address-egress_tunnel"></a>`egress_loopback_address` | 403 | At the tunnel proxy, the target is, or its name resolved to, a loopback address when the connection is set up\. At the egress gateway, at each call, the declared upstream's host resolved to a loopback address\. | Use a hostname that resolves only to public unicast addresses\. Make sure each redirect target meets the same rule\. If the manifest lists your upstream, update its base URL in the manifest's `upstreams` entry\. Run `submit_manifest` to record the change, then deploy\. Otherwise, run `declare_outbound_api` again under the same upstream name with the new base URL\. In `declare_outbound_api`, omit `sdk_settings` to keep them\. Set `sdk_settings` to null to remove them and end the upstream's egress keys\. For a platform\-managed upstream, report the refusal to the platform operator\. |
| <a id="egress_platform_address-egress_tunnel"></a>`egress_platform_address` | 403 | At the tunnel proxy, the target is a platform endpoint by name, or is, or its name resolved to, an address in the platform's own range; no tunnel reaches it\. At the egress gateway, at each call, the declared upstream's host resolved to an address in the platform's own range\. | For a declared platform service, call its endpoint directly without a proxy\. If the manifest omits the service, add it under `services` with `submit_manifest` and deploy\. For an upstream, use a base URL on a host outside the platform range that resolves only to public unicast addresses\. If the manifest lists your upstream, update its base URL in the manifest's `upstreams` entry\. Run `submit_manifest` to record the change, then deploy\. Otherwise, run `declare_outbound_api` again under the same upstream name with the new base URL\. In `declare_outbound_api`, omit `sdk_settings` to keep them\. Set `sdk_settings` to null to remove them and end the upstream's egress keys\. For a platform\-managed upstream, report the refusal to the platform operator\. |
| <a id="egress_port_refused"></a>`egress_port_refused` | 403 | The tunnel proxy refuses a CONNECT request to any port other than 443, and every forward HTTP request\. This applies in observe and enforce modes\. An accepted CONNECT tunnel passes bytes through without inspecting TLS or HTTP\. | Open a CONNECT tunnel to the destination on port 443, and configure your client to use CONNECT instead of forward HTTP requests\. Where the destination accepts only another port, nothing you do corrects this, because only the platform can allow another port\. Ports 25, 465, 587, and 2525 are outbound mail ports\. Applications send no mail directly\. Send mail through a mail provider's HTTPS API, declared as an upstream\. |
| <a id="egress_private_address-egress_tunnel"></a>`egress_private_address` | 403 | At the tunnel proxy, the target is, or its name resolved to, a private address when the connection is set up\. At the egress gateway, at each call, the declared upstream's host resolved to a private address\. | Use a hostname that resolves only to public unicast addresses\. Make sure each redirect target meets the same rule\. If the manifest lists your upstream, update its base URL in the manifest's `upstreams` entry\. Run `submit_manifest` to record the change, then deploy\. Otherwise, run `declare_outbound_api` again under the same upstream name with the new base URL\. In `declare_outbound_api`, omit `sdk_settings` to keep them\. Set `sdk_settings` to null to remove them and end the upstream's egress keys\. For a platform\-managed upstream, report the refusal to the platform operator\. |
| <a id="egress_reserved_address-egress_tunnel"></a>`egress_reserved_address` | 403 | At the tunnel proxy, the target is, or its name resolved to, a reserved, unspecified, documentation, benchmarking, or multicast address when the connection is set up\. At the egress gateway, at each call, the declared upstream's host resolved to an address in a reserved range\. | Use a hostname that resolves only to public unicast addresses\. Make sure each redirect target meets the same rule\. If the manifest lists your upstream, update its base URL in the manifest's `upstreams` entry\. Run `submit_manifest` to record the change, then deploy\. Otherwise, run `declare_outbound_api` again under the same upstream name with the new base URL\. In `declare_outbound_api`, omit `sdk_settings` to keep them\. Set `sdk_settings` to null to remove them and end the upstream's egress keys\. For a platform\-managed upstream, report the refusal to the platform operator\. |
| <a id="egress_resolve_unavailable"></a>`egress_resolve_unavailable` | 503 | The tunnel proxy could not check the connection\. The control plane did not respond to its read of your application's declarations, and it has no earlier response for the credential, or that response is past the proxy's maximum age\. The connection is refused instead of being accepted unchecked\. | Retry the connection after a short wait\. The refusal ends when the platform's control plane responds to the tunnel proxy again; you need to change nothing\. |
| <a id="egress_undeclared"></a>`egress_undeclared` | 403 | In enforce mode, the tunnel proxy refused a target host that the manifest's `egress` list does not declare\. The body gives the host, the port, and the remedy\. For a hostname, the remedy is the exact manifest edit\. For an address literal, the remedy says that no address literal can be declared\. It tells you to declare the hostname the address serves instead\. In observe mode the connection goes ahead where it passes the other checks, and this name is written only to the egress record's observed row, never sent to you\. An address literal in a refused class is refused by its class in both modes, before this check\. | For a hostname, add it to the manifest's egress list and redeploy\. If you used an address literal, find and declare the hostname it serves, redeploy, and send the request to that hostname\. If there is no hostname, use a destination with a hostname you can declare\. |
| <a id="egress_unresolvable"></a>`egress_unresolvable` | 403 | The tunnel proxy could not resolve the CONNECT target: it is not in host:port form, or the name resolved to no address\. | Write the CONNECT target as host:port, with a host name that resolves at request time to a public unicast address\. |
| <a id="proxy_authentication_required"></a>`proxy_authentication_required` | 407 | The tunnel proxy received no proxy credential, or one that matches no application\. Your application's platform credential is the proxy credential\. | Send your application's platform credential in the Proxy\-Authorization header on every tunnel establishment\. |

## Logging

The logging ingest under /logging/v0 \(the logging package's wire statement; read through read\_logs and read\_counters\)\.

| Refusal | Status | Cause | Remedy |
|---|---|---|---|
| <a id="account_suspended-logging"></a>`account_suspended` | not fixed | The account is suspended\. On the management surface it is the account you act as \(403\), including for `run_job`\. On the router it is the account the served hostname belongs to \(503\)\. At the tunnel seat it is the calling application's account \(403\)\. On the builder sign\-in surface, a suspended account's sign\-in completion is refused with this name \(403\), whether it comes from a provider or a passkey\. That refusal creates no session, sets no cookie, and issues no code\. A grant is refused with this name \(403\) while the account recorded as its owner is suspended\. This covers a transfer grant on the storage surface, an upload grant on the deploy command's progress read, and a secret grant on its one write\. The grant works again once the account is reinstated, if it has not expired\. On the egress surface, an egress key is refused with this name \(403\) while its owning account is suspended\. The platform operator restores the account\. On the support read surface, a consent and a read for a suspended account are refused with this name \(403\)\. The tzMesh site token route also refuses a suspended account with this name \(403\), and mints no token\.<br><br>On the dashboard picture surface, a current dashboard session for a suspended account is refused \(403\)\. | Ask the platform operator about reinstatement\. After reinstatement, sign in again if the prior session ended, or reconnect your tool, then retry\. A still\-live grant can work again within its scope after reinstatement\. |
| <a id="application_credential_required"></a>`application_credential_required` | 403 | The logging ingest accepts only the application's platform credential or a minted token bounded to that application\. An account credential does not identify a log stream\. | Send logs with the application's platform credential or an application\-bounded token\. If you need an application\-bounded token, have an authorized account owner mint it from their signed\-in connection and supply it to the runtime\. |
| <a id="authentication_required-logging"></a>`authentication_required` | 401 | No credential resolved to an account\. The refusal is the usual challenge giving the protected\-resource metadata, at the internal resolve endpoint gate, or at the audience gate the router applies\. On the management and MCP surfaces, the detail says whether the connection presented no credential or presented one that resolved to no account\. Where the credential you presented has the form of a short\-lived grant and the platform has no grant of that value, the detail says the grant was not accepted\. On the support read surface, a consent or its end without a signed\-in support cookie, and a read without a live support read token, are refused with this name \(401\)\.<br><br>A page\-only action is refused with this name, without a `WWW-Authenticate` challenge, where no API cookie call is admitted\. No bearer can call that row\.<br><br>The sign\-in removal is also refused with this where Sign out everywhere ended the acting session's generation before the removal's transaction\. | For the support read, ask the visitor to sign in on the website and share their account in that support chat\. The website gives the support agent a live read token for the chat\. If the consent or stop\-sharing action was refused, sign in on the website and repeat the action there\.<br><br>Where no credential was presented, nothing was done\. Ask the person to sign in to Turn Zero: in Claude Code they type /mcp and choose the server, in Codex they finish the page the add line opened or run codex mcp login, and the Claude app offers it at the connector\. Then make the call again\.<br><br>The turnzero command has its own sign\-in, which a tool's sign\-in does not make\. A signed\-in tool chooses its deploy route with read\_documentation, page /cloud/getting\-started/ways\-to\-deploy/\. It authorizes the computer where the command is selected; where the command is unavailable, the tool uses deploy\_files within its caps and the upload route past them\. The person runs turnzero login only where no in\-tool route works, or to renew their own login\. A job presents a minted token or the credential the surface takes\.<br><br>Where the credential you presented resolved to no account, sign in again and make the call again\. On an application's routes, have the end user sign in again\.<br><br>Where a grant was not accepted, it expired and was removed, or its value was changed\. If the command or line a tool call returned had the grant, make that call again and run the fresh command it returns\. If your application requested the grant, request another\. On an application's routes, the serving router refused the request before it reached the application\. Test the application's own authentication branches in its offline tests or in a local run\.<br><br>For a page\-only act, sign in on this site and use its page\. A bearer credential does not admit the call\. |
| <a id="batch_too_large"></a>`batch_too_large` | 413 | The batch body is larger than 512 KiB, or it contains more than 500 records, entries and counters together\. | Split the batch into parts of at most 500 records and 512 KiB of body each, then send the parts in order\. |
| <a id="credential_lookup_busy-logging"></a>`credential_lookup_busy` | 503 | The gateway could not start checking the credential for a storage, egress, logging, push, email, or job start request\. Its wait bound passed, two seconds by default, or its places for waiting lookups were full\. Each replica limits the lookups its credential cache cannot serve\. The request was not processed and counts toward no rate window\. | Repeat the same request unchanged after one second, the time the Retry\-After header gives\. It was not processed, so a repeat causes no duplicate effect\. A credential the gateway looked up within its cache interval, 30 seconds by default, is not looked up again\. |
| <a id="egress_key_not_admitted-logging"></a>`egress_key_not_admitted` | not fixed | The egress key the platform mints for one upstream of one deployed compute works only on that upstream's keyed route\. Everywhere else it is refused with this name \(403\): another upstream, a management action, the storage and logging routes, a gated documentation tree's machine files, the push and email send routes, the job start route, and the realm surface\. The MCP server refuses it with a 401 challenge, and the tunnel seat with 407\. | Present the egress key only as the bearer of calls under the base URL in its setting, which the deploy set for that upstream\. To call another upstream the same way, declare it with its own `sdk_settings` and read that upstream's key setting\. For any other act, present the credential that surface accepts, such as the application's platform credential on the storage and logging routes\. |
| <a id="end_user_credential_not_admitted-logging"></a>`end_user_credential_not_admitted` | not fixed | The end\-user credential the accounts service issues is refused with this name on every surface except its own realm \(403; a 401 challenge at the MCP server\)\. | Use an end\-user credential for its realm's account routes\. On verification, send the platform credential as bearer and the end\-user session value in the body\. Storage, logging, egress, push and email use the application's admitted platform credential\. The account image route takes the account's own sign\-in or an account\-wide token\. For management or MCP, sign in to the account or use a minted token admitted by the action\. |
| <a id="environment_mismatch-logging"></a>`environment_mismatch` | 403 | The credential fixes the request's environment, and the request gave another one\. A platform credential fixes its bound environment, a transfer grant the one it was minted in, and an egress key its own on the keyed route\. The other environment came in the x\-turnzero\-cloud\-environment header, or in the body member environment on a log batch or the verification route\. Under any other credential, the header and that body member gave different environments\. | Make the `x-turnzero-cloud-environment` header and the body's `environment` agree when you send both\. Each must also match any environment the credential binds\. To reach another environment, use its platform credential\. Where the route admits an unbound minted token, give the intended environment in the header, or in the body's `environment` where the route accepts it\. |
| <a id="environment_undeclared"></a>`environment_undeclared` | 400 | The batch's environment member is missing, or is not development, production, or local\. | Set the batch's environment to development, production or local and send it again\. With a platform credential, use its bound environment or use `local` if the credential is bound to development\. If you send an environment header, repeat the bound environment\. With a minted token, any of the three is allowed and an environment header repeats the batch's environment\. |
| <a id="ingest_failed"></a>`ingest_failed` | 500 | The logging surface failed unexpectedly while taking the batch\. The platform records the failure under a reference that the detail gives, and the detail never includes the error's own message\. | Nothing you do corrects this: the platform runs the logging store, and the client's later flushes deliver once it accepts batches again\. Read the client's fallback output and the counter logging\.dropped for the records the refused batch lost\. |
| <a id="insufficient_scope-logging"></a>`insufficient_scope` | 403 | The OAuth access credential is valid for this service but lacks the scope required by the protected call; the challenge states the required scope\. | Start the OAuth authorization again from your tool and request the scope the challenge gives\. Renewing the existing token does not add a scope\. |
| <a id="invalid_batch"></a>`invalid_batch` | 400 | The batch is not in the shape the logging surface reads\. The body is not JSON, or not a JSON object with the members environment, entries, and counters, or entries or counters is not an array\. An entry is also refused if it gives its own application or environment member\. Under a platform credential, a supplied source header must be `harness` or `pool`\. | Send the batch as one JSON object with the members environment, entries, and counters, in the shape the package's client forms\. Leave application and environment out of individual entries\. Leave the source header absent for an app batch\. Use `harness` for a harness batch or `pool` for a function pool's batch under its own application environment's credential\. The detail says which check failed\. |
| <a id="invalid_token-logging"></a>`invalid_token` | 401 | A protected call presents a credential that cannot authenticate to this service, and the WWW\-Authenticate header gives the standard OAuth error\. A missing credential gets no OAuth error parameter\. | For tool sign\-in, refresh the access token where available or sign in again\. For push or email, use the platform credential from the intended application's backend\. On a route that accepts an application\-bounded minted token, use one admitted by that route\. |
| <a id="log_capacity_reached"></a>`log_capacity_reached` | 409 | The batch would take the app figure for app entries, or the harness figure for harness or function pool entries, past the application's retained\-bytes bound for that environment\. It is the size's log\-retained\-capacity quantity, or the larger fixed bound with the 30\-day log option\. The whole batch is refused, and the refusal is counted in the stream's counter logging\.refused\_capacity\. Entries leave the store when their retention period ends, and purge\_logs erases the stream now\. | Wait for entries to expire and make room for new batches\. Entries are kept for 7 days without the option and 30 days with it\. The client writes the refused batch to its fallback output and sends no second copy\.<br><br>If you need room sooner, give the refusal to the application owner\. With an admitted management connection, the owner can approve `purge_logs` to erase the stream\. The owner can also choose the charged option with `set_log_retention` where the application is eligible\. |
| <a id="misdirected_origin-logging"></a>`misdirected_origin` | 421 | Your request reached a public service without going through the platform's edge\. Behind the edge, every request must include the edge's profile identifier in its identifier header, and a forwarded host and scheme equal to the configured origin\. A request that does not is refused before any route runs\. The detail gives the forwarded host and scheme the service saw\. A request from an address of a hosting cell is refused the same way even when it has the identifier, and its detail gives that address\. The health reads, and the sign\-in requests the platform's serving router forwards for an application's end\-user realm, are exempt\. The check is off where no edge profile identifier is configured\. Where an estate sets a REST host, that host serves its own API path and nothing else, and that path is refused under any other host, the public origin among them; this holds with or without an edge profile identifier\. | Send the request through the platform's edge to the public origin the detail gives, <https://turnzero.ai> on production, and not to a service's own hostname\. The detail also gives the host and scheme the service saw\. Where the detail gives a REST host's address, call that address\. |
| <a id="no_such_application-logging"></a>`no_such_application` | 404 | The application is not in the acting account\. `set_database_size` and `restore_database` use this name where the account has no live application with that ID\. No move starts\. | If a platform credential identified the application, stop retrying and tell the application owner\. The credential is for an application that the acting account no longer holds\. There is no application ID to correct in the request\.<br><br>If an account\-mail sender entry identified the application, stop retrying and tell whoever manages that sender entry\. The entry points to an application that no longer exists\.<br><br>If the request gave an application id, check it against `list_applications` using an admitted management connection\. If you lack that connection, ask the application owner to check the id\. The turnzero command's computer\-token refusal also gives the acting account\. An id belonging to another account can be refused as `application_other_account`\. |
| <a id="rate_capped-logging"></a>`rate_capped` | 429 | The request reached a limit on the count for its window\. The limit can be on an application's logging batches per minute or on a source address's client registrations per hour\. The control plane and the router's admission limits count requests in the current UTC minute\. A page view of the site counts in a page window of its own, six hundred a minute\. A call to read\_library on the actions route counts in a library window of its own, four thousand a minute\. A call to search\_documentation presenting no credential counts in a documentation search window of its own, one hundred and twenty a minute\. Where no separate window or exemption applies on the control plane, the source window counts six hundred requests a minute\. A signed\-in approval or dashboard arrival spends no source window\. Across the six gateway routes for storage, egress, logging, push, email, and job start, requests that resolve to the same credential share a limit of six hundred requests per UTC minute, even when they come from different source addresses\. For admission, each of these requests counts only toward the credential's limit\. A presented value there that resolves to no credential counts in a window of its own for the source, six hundred a minute, apart from the source window\. On those routes, a request through the edge whose source is at that bound is refused before its credential is looked up, unless the gateway already has that credential\. On the deploy command's progress read, a read under its upload's started grant counts in a window keyed on that grant's identity\. A read there that presents anything else counts in the source window, which once full refuses the source before any lookup\. At the control plane, the admission window's refusal includes Retry\-After, the seconds to the next minute\. The serving router counts requests to one application on each router replica in the current UTC minute\. Anonymous requests count against their source address\. Signed\-in requests count against both the user and a separate limit for the source address's signed\-in requests\. The refusal comes before the request reaches the application\. `Retry-After` gives the seconds to the next UTC minute\. A `request_route` or `write_route` call counts in one window of their own for the acting account, sixty a minute\. A `check_app_sign_in` call counts in a window of its own for the acting account, ten a minute, and the accounts service counts the checks of each realm in a window of its own, ten a minute\.<br><br>For the dashboard picture route, an arrival without a verified dashboard cookie and current session uses the source window; an admitted arrival counts in its account's own window, sixty reads a minute\. | If the response gives `Retry-After`, wait that many seconds and retry below the limit\. For a request or logging limit without that header, retry below the limit when the next UTC minute starts\. For client registrations, wait until the earliest registration in the hour leaves that window\. |
| <a id="retired_host-logging"></a>`retired_host` | 421 | The hostname you sent the request to is one the platform retired\. The request is refused before any route runs, and the detail gives the current address\. A client that still uses the old name fails with a clear reason instead of working on it unnoticed\. | Change the address your client uses to the current address the detail gives, then send the request again\. |
| <a id="secret_grant_not_admitted-logging"></a>`secret_grant_not_admitted` | not fixed | The secret grant a `store_secret` call with no value mints serves the one write it records: the same action on the HTTP action route, with the grant's own name, application, and environment\. The grant a `submit_manifest` call with `local_run` mints serves two requests: `store_secret` with `replace: true` on that route, with no value, for the application's database credential and its platform credential at the development scope, each once\. Under either grant, every other surface, management action, and request is refused with this name \(403; a 401 challenge at the MCP server\) and uses nothing\. The exception is an action another rule refuses first\. The browser\-only action reads no credential, and an action that is switched off reads the grant and refuses with its switch's name; neither accepts the grant\. A provision grant claimed by its verifier is no grant anywhere else\. Every action but `store_secret` with `replace: true` over the wire, and every other surface, reads the verifier as a bearer that resolves to nothing, refused `authentication_required`\. The deploy command's progress read refuses it under that read's own name, `transfer_grant_not_admitted`\. | Run the command the preparing call returned once, as given: it makes the one write the grant allows\. For any other act, present the credential that surface accepts, for example a signed\-in session or a minted token on the management surface\. To write another name or at another scope, call `store_secret` with no value for that name and scope, and run the command it returns\. For the local run's grant, run the line the `submit_manifest` call returned, as given\. For a fresh one, run `turnzero provision --origin https://dev.turnzero.ai --application <application id>` with nothing piped and make any call it prints\. |
| <a id="store_unavailable-logging"></a>`store_unavailable` | 503 | The plane's database did not respond to the credential lookup the guard runs, so the request was not processed; retry it\. On the storage, egress, and logging wires, the same refusal comes where the gateway had no entry within its stale ceiling\. On submit\_manifest, the control store failed while the manifest's upstreams were written after its record\. A write the failure followed is taken back where it can be, the manifest stays recorded, and the detail lists the upstreams declared, those not, and any left over\. A failure while the realm member or the push entry's providers are recorded, after the upstreams, takes nothing back\. What was recorded remains, and the detail lists the realms, or the push configurations, done and those not\. On the start\-line route, the line was not stored, and the workflow posts it again\. | For a transient refusal before processing, retry after a short wait\. If `submit_manifest` was processed in part, resubmit the same manifest to finish declarations, realms and push configuration before the next deploy or promote\. If the detail says no status record is bound, report it to the platform operator so the binding can be restored\. |

## Harness

The runtime harness inside every application container — the inbound guard and the bounded execution window's abort half\. The abort half's two records, `window_ended` and `process_ended`, are written to the container's console log rather than sent on the wire\. The source is Node\.js Runtime's boot module, which the pin test reads beside the platform's own source\.

| Refusal | Status | Cause | Remedy |
|---|---|---|---|
| <a id="router_mark_required"></a>`router_mark_required` | 403 | The runtime harness refused a request that reached the application's provider default hostname without the router's mark, or with a mark the container does not have\. Only the serving router reaches an application\. The way in is the managed hostname, through the serving router\. | Send the request to the application's managed hostname on ai\.host instead of the provider default hostname\. Where your application calls itself from inside its own container, use the loopback address, which needs no mark\. |
| <a id="scheduled_handler_only-harness"></a>`scheduled_handler_only` | 404 | This declared schedule path accepts only the platform's scheduled runs\. The harness or function pool refuses other requests before your application's code runs\. The harness records a harness\_refusal line\. | Use a public path if you meant to make an HTTP request\. To start this scheduled job, ask the application owner or use `run_schedule` if your management connection admits it\. To make the path public, the owner can remove the schedule from the manifest, submit it with `submit_manifest`, then deploy or promote the environment again\. |
| <a id="window_ended-harness"></a>`window_ended` | 504 | The request ran past the bounded execution window, the platform's configuration keyed by invocation kind\. Where no response header has reached the client, the serving router refuses with 504 and the elapsed duration\. Where the response is streaming, the router cuts the application leg\. The router's record gives the application, the host, the path, and the duration, and on a scheduled run the schedule kind, the schedule, and the run\. The harness's own line in the container's log says whether the handler yielded on its signal\. Where the handler did not yield within the grace, `process_ended` lists the requests the process end cut beside it\. The harness records this refusal and never sends it\. | Treat a cut\-off stream as incomplete\. Before repeating a write, check whether it took effect\. If you own the application, read the window\_ended record through read\_logs with source router and check the container logs for cancellation\. Make the handler finish within the window and end its response when request\.signal aborts\. |

## Documentation

The authenticated machine files of the documentation trees, a gated tree serving a connection whose account holds the tree; MCP documentation reads use the mcp\_server surface\.

| Refusal | Status | Cause | Remedy |
|---|---|---|---|
| <a id="account_suspended-documentation"></a>`account_suspended` | not fixed | The account is suspended\. On the management surface it is the account you act as \(403\), including for `run_job`\. On the router it is the account the served hostname belongs to \(503\)\. At the tunnel seat it is the calling application's account \(403\)\. On the builder sign\-in surface, a suspended account's sign\-in completion is refused with this name \(403\), whether it comes from a provider or a passkey\. That refusal creates no session, sets no cookie, and issues no code\. A grant is refused with this name \(403\) while the account recorded as its owner is suspended\. This covers a transfer grant on the storage surface, an upload grant on the deploy command's progress read, and a secret grant on its one write\. The grant works again once the account is reinstated, if it has not expired\. On the egress surface, an egress key is refused with this name \(403\) while its owning account is suspended\. The platform operator restores the account\. On the support read surface, a consent and a read for a suspended account are refused with this name \(403\)\. The tzMesh site token route also refuses a suspended account with this name \(403\), and mints no token\.<br><br>On the dashboard picture surface, a current dashboard session for a suspended account is refused \(403\)\. | Ask the platform operator about reinstatement\. After reinstatement, sign in again if the prior session ended, or reconnect your tool, then retry\. A still\-live grant can work again within its scope after reinstatement\. |
| <a id="egress_key_not_admitted-documentation"></a>`egress_key_not_admitted` | not fixed | The egress key the platform mints for one upstream of one deployed compute works only on that upstream's keyed route\. Everywhere else it is refused with this name \(403\): another upstream, a management action, the storage and logging routes, a gated documentation tree's machine files, the push and email send routes, the job start route, and the realm surface\. The MCP server refuses it with a 401 challenge, and the tunnel seat with 407\. | Present the egress key only as the bearer of calls under the base URL in its setting, which the deploy set for that upstream\. To call another upstream the same way, declare it with its own `sdk_settings` and read that upstream's key setting\. For any other act, present the credential that surface accepts, such as the application's platform credential on the storage and logging routes\. |
| <a id="insufficient_scope-documentation"></a>`insufficient_scope` | 403 | The OAuth access credential is valid for this service but lacks the scope required by the protected call; the challenge states the required scope\. | Start the OAuth authorization again from your tool and request the scope the challenge gives\. Renewing the existing token does not add a scope\. |
| <a id="misdirected_origin-documentation"></a>`misdirected_origin` | 421 | Your request reached a public service without going through the platform's edge\. Behind the edge, every request must include the edge's profile identifier in its identifier header, and a forwarded host and scheme equal to the configured origin\. A request that does not is refused before any route runs\. The detail gives the forwarded host and scheme the service saw\. A request from an address of a hosting cell is refused the same way even when it has the identifier, and its detail gives that address\. The health reads, and the sign\-in requests the platform's serving router forwards for an application's end\-user realm, are exempt\. The check is off where no edge profile identifier is configured\. Where an estate sets a REST host, that host serves its own API path and nothing else, and that path is refused under any other host, the public origin among them; this holds with or without an edge profile identifier\. | Send the request through the platform's edge to the public origin the detail gives, <https://turnzero.ai> on production, and not to a service's own hostname\. The detail also gives the host and scheme the service saw\. Where the detail gives a REST host's address, call that address\. |
| <a id="rate_capped-documentation"></a>`rate_capped` | 429 | The request reached a limit on the count for its window\. The limit can be on an application's logging batches per minute or on a source address's client registrations per hour\. The control plane and the router's admission limits count requests in the current UTC minute\. A page view of the site counts in a page window of its own, six hundred a minute\. A call to read\_library on the actions route counts in a library window of its own, four thousand a minute\. A call to search\_documentation presenting no credential counts in a documentation search window of its own, one hundred and twenty a minute\. Where no separate window or exemption applies on the control plane, the source window counts six hundred requests a minute\. A signed\-in approval or dashboard arrival spends no source window\. Across the six gateway routes for storage, egress, logging, push, email, and job start, requests that resolve to the same credential share a limit of six hundred requests per UTC minute, even when they come from different source addresses\. For admission, each of these requests counts only toward the credential's limit\. A presented value there that resolves to no credential counts in a window of its own for the source, six hundred a minute, apart from the source window\. On those routes, a request through the edge whose source is at that bound is refused before its credential is looked up, unless the gateway already has that credential\. On the deploy command's progress read, a read under its upload's started grant counts in a window keyed on that grant's identity\. A read there that presents anything else counts in the source window, which once full refuses the source before any lookup\. At the control plane, the admission window's refusal includes Retry\-After, the seconds to the next minute\. The serving router counts requests to one application on each router replica in the current UTC minute\. Anonymous requests count against their source address\. Signed\-in requests count against both the user and a separate limit for the source address's signed\-in requests\. The refusal comes before the request reaches the application\. `Retry-After` gives the seconds to the next UTC minute\. A `request_route` or `write_route` call counts in one window of their own for the acting account, sixty a minute\. A `check_app_sign_in` call counts in a window of its own for the acting account, ten a minute, and the accounts service counts the checks of each realm in a window of its own, ten a minute\.<br><br>For the dashboard picture route, an arrival without a verified dashboard cookie and current session uses the source window; an admitted arrival counts in its account's own window, sixty reads a minute\. | If the response gives `Retry-After`, wait that many seconds and retry below the limit\. For a request or logging limit without that header, retry below the limit when the next UTC minute starts\. For client registrations, wait until the earliest registration in the hour leaves that window\. |
| <a id="retired_host-documentation"></a>`retired_host` | 421 | The hostname you sent the request to is one the platform retired\. The request is refused before any route runs, and the detail gives the current address\. A client that still uses the old name fails with a clear reason instead of working on it unnoticed\. | Change the address your client uses to the current address the detail gives, then send the request again\. |
| <a id="secret_grant_not_admitted-documentation"></a>`secret_grant_not_admitted` | not fixed | The secret grant a `store_secret` call with no value mints serves the one write it records: the same action on the HTTP action route, with the grant's own name, application, and environment\. The grant a `submit_manifest` call with `local_run` mints serves two requests: `store_secret` with `replace: true` on that route, with no value, for the application's database credential and its platform credential at the development scope, each once\. Under either grant, every other surface, management action, and request is refused with this name \(403; a 401 challenge at the MCP server\) and uses nothing\. The exception is an action another rule refuses first\. The browser\-only action reads no credential, and an action that is switched off reads the grant and refuses with its switch's name; neither accepts the grant\. A provision grant claimed by its verifier is no grant anywhere else\. Every action but `store_secret` with `replace: true` over the wire, and every other surface, reads the verifier as a bearer that resolves to nothing, refused `authentication_required`\. The deploy command's progress read refuses it under that read's own name, `transfer_grant_not_admitted`\. | Run the command the preparing call returned once, as given: it makes the one write the grant allows\. For any other act, present the credential that surface accepts, for example a signed\-in session or a minted token on the management surface\. To write another name or at another scope, call `store_secret` with no value for that name and scope, and run the command it returns\. For the local run's grant, run the line the `submit_manifest` call returned, as given\. For a fresh one, run `turnzero provision --origin https://dev.turnzero.ai --application <application id>` with nothing piped and make any call it prints\. |

## Push

The push service's send route under /push/v0, taken under the platform credential alone\.

| Refusal | Status | Cause | Remedy |
|---|---|---|---|
| <a id="account_suspended-push"></a>`account_suspended` | not fixed | The account is suspended\. On the management surface it is the account you act as \(403\), including for `run_job`\. On the router it is the account the served hostname belongs to \(503\)\. At the tunnel seat it is the calling application's account \(403\)\. On the builder sign\-in surface, a suspended account's sign\-in completion is refused with this name \(403\), whether it comes from a provider or a passkey\. That refusal creates no session, sets no cookie, and issues no code\. A grant is refused with this name \(403\) while the account recorded as its owner is suspended\. This covers a transfer grant on the storage surface, an upload grant on the deploy command's progress read, and a secret grant on its one write\. The grant works again once the account is reinstated, if it has not expired\. On the egress surface, an egress key is refused with this name \(403\) while its owning account is suspended\. The platform operator restores the account\. On the support read surface, a consent and a read for a suspended account are refused with this name \(403\)\. The tzMesh site token route also refuses a suspended account with this name \(403\), and mints no token\.<br><br>On the dashboard picture surface, a current dashboard session for a suspended account is refused \(403\)\. | Ask the platform operator about reinstatement\. After reinstatement, sign in again if the prior session ended, or reconnect your tool, then retry\. A still\-live grant can work again within its scope after reinstatement\. |
| <a id="authentication_required-push"></a>`authentication_required` | 401 | No credential resolved to an account\. The refusal is the usual challenge giving the protected\-resource metadata, at the internal resolve endpoint gate, or at the audience gate the router applies\. On the management and MCP surfaces, the detail says whether the connection presented no credential or presented one that resolved to no account\. Where the credential you presented has the form of a short\-lived grant and the platform has no grant of that value, the detail says the grant was not accepted\. On the support read surface, a consent or its end without a signed\-in support cookie, and a read without a live support read token, are refused with this name \(401\)\.<br><br>A page\-only action is refused with this name, without a `WWW-Authenticate` challenge, where no API cookie call is admitted\. No bearer can call that row\.<br><br>The sign\-in removal is also refused with this where Sign out everywhere ended the acting session's generation before the removal's transaction\. | For the support read, ask the visitor to sign in on the website and share their account in that support chat\. The website gives the support agent a live read token for the chat\. If the consent or stop\-sharing action was refused, sign in on the website and repeat the action there\.<br><br>Where no credential was presented, nothing was done\. Ask the person to sign in to Turn Zero: in Claude Code they type /mcp and choose the server, in Codex they finish the page the add line opened or run codex mcp login, and the Claude app offers it at the connector\. Then make the call again\.<br><br>The turnzero command has its own sign\-in, which a tool's sign\-in does not make\. A signed\-in tool chooses its deploy route with read\_documentation, page /cloud/getting\-started/ways\-to\-deploy/\. It authorizes the computer where the command is selected; where the command is unavailable, the tool uses deploy\_files within its caps and the upload route past them\. The person runs turnzero login only where no in\-tool route works, or to renew their own login\. A job presents a minted token or the credential the surface takes\.<br><br>Where the credential you presented resolved to no account, sign in again and make the call again\. On an application's routes, have the end user sign in again\.<br><br>Where a grant was not accepted, it expired and was removed, or its value was changed\. If the command or line a tool call returned had the grant, make that call again and run the fresh command it returns\. If your application requested the grant, request another\. On an application's routes, the serving router refused the request before it reached the application\. Test the application's own authentication branches in its offline tests or in a local run\.<br><br>For a page\-only act, sign in on this site and use its page\. A bearer credential does not admit the call\. |
| <a id="credential_lookup_busy-push"></a>`credential_lookup_busy` | 503 | The gateway could not start checking the credential for a storage, egress, logging, push, email, or job start request\. Its wait bound passed, two seconds by default, or its places for waiting lookups were full\. Each replica limits the lookups its credential cache cannot serve\. The request was not processed and counts toward no rate window\. | Repeat the same request unchanged after one second, the time the Retry\-After header gives\. It was not processed, so a repeat causes no duplicate effect\. A credential the gateway looked up within its cache interval, 30 seconds by default, is not looked up again\. |
| <a id="egress_key_not_admitted-push"></a>`egress_key_not_admitted` | not fixed | The egress key the platform mints for one upstream of one deployed compute works only on that upstream's keyed route\. Everywhere else it is refused with this name \(403\): another upstream, a management action, the storage and logging routes, a gated documentation tree's machine files, the push and email send routes, the job start route, and the realm surface\. The MCP server refuses it with a 401 challenge, and the tunnel seat with 407\. | Present the egress key only as the bearer of calls under the base URL in its setting, which the deploy set for that upstream\. To call another upstream the same way, declare it with its own `sdk_settings` and read that upstream's key setting\. For any other act, present the credential that surface accepts, such as the application's platform credential on the storage and logging routes\. |
| <a id="end_user_credential_not_admitted-push"></a>`end_user_credential_not_admitted` | not fixed | The end\-user credential the accounts service issues is refused with this name on every surface except its own realm \(403; a 401 challenge at the MCP server\)\. | Use an end\-user credential for its realm's account routes\. On verification, send the platform credential as bearer and the end\-user session value in the body\. Storage, logging, egress, push and email use the application's admitted platform credential\. The account image route takes the account's own sign\-in or an account\-wide token\. For management or MCP, sign in to the account or use a minted token admitted by the action\. |
| <a id="environment_mismatch-push"></a>`environment_mismatch` | 403 | The credential fixes the request's environment, and the request gave another one\. A platform credential fixes its bound environment, a transfer grant the one it was minted in, and an egress key its own on the keyed route\. The other environment came in the x\-turnzero\-cloud\-environment header, or in the body member environment on a log batch or the verification route\. Under any other credential, the header and that body member gave different environments\. | Make the `x-turnzero-cloud-environment` header and the body's `environment` agree when you send both\. Each must also match any environment the credential binds\. To reach another environment, use its platform credential\. Where the route admits an unbound minted token, give the intended environment in the header, or in the body's `environment` where the route accepts it\. |
| <a id="insufficient_scope-push"></a>`insufficient_scope` | 403 | The OAuth access credential is valid for this service but lacks the scope required by the protected call; the challenge states the required scope\. | Start the OAuth authorization again from your tool and request the scope the challenge gives\. Renewing the existing token does not add a scope\. |
| <a id="internal-push"></a>`internal` | 500 | An unexpected error while responding\. Where the detail gives a reference, the error is recorded on the platform side under that reference\. The detail is a fixed sentence and never the error's own message\.<br><br>For sign\-in identity removal, failure ending the exchange's tokens before the removal removes no identity\. If ending them again fails after the transaction, the refusal is internal and the identities have been removed\. | For removal of a sign\-in method, read the detail first\. If no method was removed, request the removal again\. If the method was removed, sign in with a remaining method and use Sign out everywhere as directed\. The removal is complete\. If that control fails, report the failure and quote any reference the detail gives\.<br><br>For other calls, check what the detail says about the outcome\. Retry when the request is safe to repeat\. If the refusal repeats, report it and quote the reference its detail gives\. |
| <a id="invalid_request-push"></a>`invalid_request` | not fixed | The input is malformed or missing, and the detail gives the member\. Or the input has a NUL \(U\+0000\) or an unpaired UTF\-16 surrogate, and the detail gives the character\. This is the generic validation refusal of every surface\. On a management action, it also refuses a call that gives a member the action does not declare\. The detail lists that member, a nested one by its path, and every member declared at that place\. Where that list would pass the detail's budget, the detail gives each place's member count instead and points to the action's reference page, which lists them\. It also refuses a body the surface could not read, or a path segment whose escape does not decode, in the surface's own form, repeating nothing from the request\. On `create_space`, it also refuses a `space` deleted within the last 35 days, while its deletion marker remains, and nothing is created\. At a request for the `tzmesh` resource, and at the completion of its sign\-in, it also refuses a browser's prefetch, which holds no confirmation\. On `deploy_files`, a list entry with `content` under a path segment the zip leaves out is refused with `kept` and `refused`\. Its `kept` lists the content entries kept and each entry by `sha256` alone whose file the platform holds and could read as the refusal was built; `refused` lists the entries refused\.<br><br>Over HTTP, a value outside a bound an action's reference states is refused `invalid_request`\. Over MCP, your client's or the SDK's argument check runs first\. A rule checked only by the handler draws `invalid_request` on either route\. On the payment event route, a missing, malformed, invalid or stale signature, an unreadable event, or an event in the other mode receives the same refusal and changes nothing\. The detail discloses no class or request content\.<br><br>On `set_database_size`, the size is not one of its four values, production already has the requested size, or a dedicated size was requested for a serverless application\. A serverless application's database stays `database-shared`\. Nothing changes\.<br><br>The usual validation status is \(400\)\. On the builder's Allow page, a confirmation posted from outside the sign\-in page's origin or without a recent sign\-in receives \(403\)\. Browser checks can also return \(403\) when you confirm or cancel an approval, open or sign in to a test account, or cancel a builder connection\. A provider callback that uses a method the route does not accept receives \(405\)\. | Correct the member the detail gives, or send a member the action declares in place of one it does not; the detail or the action's reference page lists them\. Or remove the character the detail identifies\. Then send the request again\. For a deleted space's identifier, pass another `space`, or leave it out and the platform chooses one\. A refused prefetch needs nothing: the request is served when the person opens it\.<br><br>For payment events, the payment provider sends this request\. The platform operator checks the provider's delivery record and the platform's refusal record\. The response gives the same detail for every payment\-event validation failure\.<br><br>For a 403 on a browser confirmation, return to your tool and sign in again\. Use the confirmation page in the same browser with a recent sign\-in\. For a 405 on a provider callback, use the method its detail gives\. The provider sends that callback\. |
| <a id="invalid_token-push"></a>`invalid_token` | 401 | A protected call presents a credential that cannot authenticate to this service, and the WWW\-Authenticate header gives the standard OAuth error\. A missing credential gets no OAuth error parameter\. | For tool sign\-in, refresh the access token where available or sign in again\. For push or email, use the platform credential from the intended application's backend\. On a route that accepts an application\-bounded minted token, use one admitted by that route\. |
| <a id="misdirected_origin-push"></a>`misdirected_origin` | 421 | Your request reached a public service without going through the platform's edge\. Behind the edge, every request must include the edge's profile identifier in its identifier header, and a forwarded host and scheme equal to the configured origin\. A request that does not is refused before any route runs\. The detail gives the forwarded host and scheme the service saw\. A request from an address of a hosting cell is refused the same way even when it has the identifier, and its detail gives that address\. The health reads, and the sign\-in requests the platform's serving router forwards for an application's end\-user realm, are exempt\. The check is off where no edge profile identifier is configured\. Where an estate sets a REST host, that host serves its own API path and nothing else, and that path is refused under any other host, the public origin among them; this holds with or without an edge profile identifier\. | Send the request through the platform's edge to the public origin the detail gives, <https://turnzero.ai> on production, and not to a service's own hostname\. The detail also gives the host and scheme the service saw\. Where the detail gives a REST host's address, call that address\. |
| <a id="no_such_application-push"></a>`no_such_application` | 404 | The application is not in the acting account\. `set_database_size` and `restore_database` use this name where the account has no live application with that ID\. No move starts\. | If a platform credential identified the application, stop retrying and tell the application owner\. The credential is for an application that the acting account no longer holds\. There is no application ID to correct in the request\.<br><br>If an account\-mail sender entry identified the application, stop retrying and tell whoever manages that sender entry\. The entry points to an application that no longer exists\.<br><br>If the request gave an application id, check it against `list_applications` using an admitted management connection\. If you lack that connection, ask the application owner to check the id\. The turnzero command's computer\-token refusal also gives the acting account\. An id belonging to another account can be refused as `application_other_account`\. |
| <a id="not_found-push"></a>`not_found` | 404 | You gave a pending action, secret, operated account, token, connection, realm action's invitation, synthetic purge, or export that does not exist or is not yours \(the contract for the invitation; the contract for the connection\)\. For clear\_development\_database, the application you gave has no development database\. For query\_database, the environment you gave has no database\. For request\_export with download: true, the export's files are no longer in its export area\. For the four feedback actions, the `space` you gave is no issue space your account has, refused before any token is read\. On the realm surface, the session a revocation from the session list gives is no live session of the signed\-in end user\. On the device routes, the installation identifier matches no registration of the signed\-in user\. On the push surface, the request uses a path or a method under /push/v0 other than POST /push/v0/messages\. On the realm surface, the request uses a path or a method under /\_\_account/ that no realm route serves, the OpenID Connect discovery path among them\. For a staff read of a synthetic account's state, the `account` you gave is an id that belongs to no account, under `super_admin`\.<br><br>The dashboard picture route is unconfigured, the dashboard session does not verify, or the account has no tzMesh profile, person or picture\.<br><br>On the serving router, the serving serverless version has no file or function for the requested path and method\. A pool response can also report that its loaded version has no function for the path\. Nothing was run\.<br><br>On `set_database_size` or `restore_database`, the application has no production database: no database kind is declared, or no version has been promoted to production\. Nothing changes\. | Check the identifier against the listing for its kind: list\_secrets, list\_tokens, or list\_invitations\. For a pending action, a purge, an export, or a seeded or first\-sign\-in account, check it against the id an earlier response returned\. Then repeat the request with an identifier that belongs to your account\. For the feedback actions, pass a space that list\_issue\_spaces or submit\_manifest's receipt returns, or leave `space` out for the platform's own space\. On the realm surface, read the session list at GET /\_\_account/sessions and pass an id it returns\. For clear\_development\_database there is nothing to clear: a development database exists once a submitted manifest declares the database kind\. For query\_database there is nothing to read: an environment's database exists once a submitted manifest declares the database kind\. For a path no realm route serves, read the realm's endpoints at /\.well\-known/oauth\-authorization\-server on the hostname, which is served where the realm declares a client\.<br><br>For a support deployed\-files read, check whether the requested serving or previous version exists\. If the response says its image is no longer kept, tell the person that version's deployed files are unavailable\. If only the path is missing, list that version's deployed files and choose a path it returns\. For a support issue\-space read, choose a space the shared account holds and the support read covers\.<br><br>On the push surface, check the documented request method and path\.<br><br>The dashboard picture route takes no identifier\. Sign in if needed; without a picture, use initials\.<br><br>For a serverless route, check the path and method against the serving version's client files and functions\. Deploy missing code or files, or use a path that version serves\. |
| <a id="plan_quantity_unset-push"></a>`plan_quantity_unset` | 409 | The size's served quantity, or the unlimited plan's quantity, is Unset\. An Unset quantity is no row, or a row with no quantity, in the served quota table\. It is never read as zero, unlimited, or a default\. The refusal gives the quota key and measure\. It can refuse create\_application with that size, set\_app\_size onto it, database provisioning, and submit\_manifest declaring a schedule\. It also refuses deploy, promote, roll\_back and restart\_application before adding a version where the application's environment has a database\.<br><br>Push sends and email sends refuse for an unset quantity; for a size, email reads the hour and day cells\. An allowance call on the egress surface can refuse for an application on the unlimited plan, never for a size\.<br><br>The operator's placement on the unlimited plan refuses where a row for any entry Pro sets is absent or Unset, a served value's among them\. A served value's own reader reads an absent row as its default or as no bound\. The operator sets the quantity and records the pricing\-registry cell\. | Nothing you do sets the quantity\. Ask the platform operator to set the quantity for the quota key and measure the refusal gives, then repeat the request\. |
| <a id="platform_credential_required"></a>`platform_credential_required` | 403 | A push or email send or a job start arrived under a session or a minted token\. These routes require the application's platform credential, which identifies the application and fixes the environment\. | Send push or email, or start a job, from your backend using its platform credential \(`TURNZERO_CLOUD_APP_TOKEN`\)\. |
| <a id="push_not_configured"></a>`push_not_configured` | 409 | A send reached an environment that has no push provider configured\. | Store the provider's credential, the Apple signing key or the Google service\-account file, with store\_secret for the application and the environment\. Then call configure\_push with it, and send again\. |
| <a id="rate_capped-push"></a>`rate_capped` | 429 | The request reached a limit on the count for its window\. The limit can be on an application's logging batches per minute or on a source address's client registrations per hour\. The control plane and the router's admission limits count requests in the current UTC minute\. A page view of the site counts in a page window of its own, six hundred a minute\. A call to read\_library on the actions route counts in a library window of its own, four thousand a minute\. A call to search\_documentation presenting no credential counts in a documentation search window of its own, one hundred and twenty a minute\. Where no separate window or exemption applies on the control plane, the source window counts six hundred requests a minute\. A signed\-in approval or dashboard arrival spends no source window\. Across the six gateway routes for storage, egress, logging, push, email, and job start, requests that resolve to the same credential share a limit of six hundred requests per UTC minute, even when they come from different source addresses\. For admission, each of these requests counts only toward the credential's limit\. A presented value there that resolves to no credential counts in a window of its own for the source, six hundred a minute, apart from the source window\. On those routes, a request through the edge whose source is at that bound is refused before its credential is looked up, unless the gateway already has that credential\. On the deploy command's progress read, a read under its upload's started grant counts in a window keyed on that grant's identity\. A read there that presents anything else counts in the source window, which once full refuses the source before any lookup\. At the control plane, the admission window's refusal includes Retry\-After, the seconds to the next minute\. The serving router counts requests to one application on each router replica in the current UTC minute\. Anonymous requests count against their source address\. Signed\-in requests count against both the user and a separate limit for the source address's signed\-in requests\. The refusal comes before the request reaches the application\. `Retry-After` gives the seconds to the next UTC minute\. A `request_route` or `write_route` call counts in one window of their own for the acting account, sixty a minute\. A `check_app_sign_in` call counts in a window of its own for the acting account, ten a minute, and the accounts service counts the checks of each realm in a window of its own, ten a minute\.<br><br>For the dashboard picture route, an arrival without a verified dashboard cookie and current session uses the source window; an admitted arrival counts in its account's own window, sixty reads a minute\. | If the response gives `Retry-After`, wait that many seconds and retry below the limit\. For a request or logging limit without that header, retry below the limit when the next UTC minute starts\. For client registrations, wait until the earliest registration in the hour leaves that window\. |
| <a id="realm_not_declared-push"></a>`realm_not_declared` | 404 | The application declares no accounts kind, or no application that declares one has the forwarded host\. On the builder form of a realm action, the builder realm row is absent from the store, on an estate that has not yet run migration 0022\. On submit\_manifest, a realm ended between the submission's check and its record, so it was not configured\. The manifest stays recorded, and the detail lists the realms done and those not\. On create\_environment, development's realm ended while the act recorded the realm member\. | If the manifest lacks the accounts service, add it with `submit_manifest` and retry\. If the realm ended while the manifest was recorded, submit the manifest again\. If it ended during `create_environment` or `configure_app_sign_in`, repeat that call\. Use the production hostname until `create_environment` adds a development realm\. Report a missing builder realm to the platform operator\. |
| <a id="request_too_large-push"></a>`request_too_large` | 413 | The request is over the surface's request bound, or over the bound a transfer grant accepts\. On the builder sign\-in, a client registration's declared body is over 16 KiB\. On every surface, the serving router among them, a body over the bound the surface's parser reads is refused the same way, the detail giving that bound\. | Reduce the request body to the byte bound the refusal detail gives, then send it again\. Keep a storage upload within the size its transfer grant accepts, and keep a client registration at sign\-in at or under 16 KiB\. |
| <a id="retired_host-push"></a>`retired_host` | 421 | The hostname you sent the request to is one the platform retired\. The request is refused before any route runs, and the detail gives the current address\. A client that still uses the old name fails with a clear reason instead of working on it unnoticed\. | Change the address your client uses to the current address the detail gives, then send the request again\. |
| <a id="secret_grant_not_admitted-push"></a>`secret_grant_not_admitted` | not fixed | The secret grant a `store_secret` call with no value mints serves the one write it records: the same action on the HTTP action route, with the grant's own name, application, and environment\. The grant a `submit_manifest` call with `local_run` mints serves two requests: `store_secret` with `replace: true` on that route, with no value, for the application's database credential and its platform credential at the development scope, each once\. Under either grant, every other surface, management action, and request is refused with this name \(403; a 401 challenge at the MCP server\) and uses nothing\. The exception is an action another rule refuses first\. The browser\-only action reads no credential, and an action that is switched off reads the grant and refuses with its switch's name; neither accepts the grant\. A provision grant claimed by its verifier is no grant anywhere else\. Every action but `store_secret` with `replace: true` over the wire, and every other surface, reads the verifier as a bearer that resolves to nothing, refused `authentication_required`\. The deploy command's progress read refuses it under that read's own name, `transfer_grant_not_admitted`\. | Run the command the preparing call returned once, as given: it makes the one write the grant allows\. For any other act, present the credential that surface accepts, for example a signed\-in session or a minted token on the management surface\. To write another name or at another scope, call `store_secret` with no value for that name and scope, and run the command it returns\. For the local run's grant, run the line the `submit_manifest` call returned, as given\. For a fresh one, run `turnzero provision --origin https://dev.turnzero.ai --application <application id>` with nothing piped and make any call it prints\. |
| <a id="store_unavailable-push"></a>`store_unavailable` | 503 | The plane's database did not respond to the credential lookup the guard runs, so the request was not processed; retry it\. On the storage, egress, and logging wires, the same refusal comes where the gateway had no entry within its stale ceiling\. On submit\_manifest, the control store failed while the manifest's upstreams were written after its record\. A write the failure followed is taken back where it can be, the manifest stays recorded, and the detail lists the upstreams declared, those not, and any left over\. A failure while the realm member or the push entry's providers are recorded, after the upstreams, takes nothing back\. What was recorded remains, and the detail lists the realms, or the push configurations, done and those not\. On the start\-line route, the line was not stored, and the workflow posts it again\. | For a transient refusal before processing, retry after a short wait\. If `submit_manifest` was processed in part, resubmit the same manifest to finish declarations, realms and push configuration before the next deploy or promote\. If the detail says no status record is bound, report it to the platform operator so the binding can be restored\. |
| <a id="transfer_grant_not_admitted-push"></a>`transfer_grant_not_admitted` | not fixed | The transfer grant object storage mints serves its one file act and is refused by name everywhere else \(403; a 401 challenge at the MCP server\)\. An export's download grant serves only `GET` of a file by its name: its export's own files, and its application's stored files created by the time its export listed them\. A stored file created later is refused with `no_such_file` under it, as an absent name is, and not with this refusal\. An older grant with no recorded time for its export's file list gives this refusal for a stored file outside the export's own folder\. Ask for a fresh grant\. A deploy upload's grant also serves its upload's one start on `deploy`, giving its own application, the environment its preparing call recorded, and upload\. After that start, it serves the deploy command's progress reads of its own deploy inside their window, and the progress read refuses by this name every other credential and that grant before its start\. | Present the grant only on the one file route it covers, PUT or GET /storage/v0/areas/\{area\}/files/\{name\}, in the direction it was minted for\. Under an export's download grant, read a file by its name, never a listing, the deploy area, or another application's area\. Where a stored file the export's manifest lists is refused by this name, call `request_export` with `download: true` again and run the line it returns\. For any other act, present the credential that surface accepts, for example a signed\-in session or a minted token on the management surface\. A deploy upload's grant starts only its own upload and then reads only that deploy's progress, as the turnzero command does under the grant its preparing `deploy` call returns\. To read a deploy under your own credential, call `read_status`\. |
| <a id="usage_over_quota-push"></a>`usage_over_quota` | 429 | The application is over its stored\-data ceiling, or a push send would pass its month's push quantity\. No size meets this refusal for backend actions or data transfer\. A file put to an area bound to an application whose stored\-data state is over is refused\. So is deploy\_files with a file, keeping nothing\. A generate\_image call with that application is refused before counting or sending anything to the provider, saving nothing\. Gets, lists and deletes continue\. Stored data clears at the next successful daily check that reads it within the ceiling, or at a raised quantity\. On the push surface, a send past the size's push\-messages\-capacity cell accepts nothing\. | If you are using the application, report the refusal to its owner\. For stored data, identify the quantity in the detail and preserve needed data before removing anything\. Wait for the next daily check\. For push, wait until the next UTC month starts\. A larger size raises neither quantity\. For other limits, follow the detail\. |

## Email

The email service's send route under /email/v0, taken under the platform credential alone\.

| Refusal | Status | Cause | Remedy |
|---|---|---|---|
| <a id="account_paused-email"></a>`account_paused` | not fixed | The owning account used up its Free Allowance and has no live credit\. Unlimited applications are exempt\. The router returns 429 on every request to either hostname, including shell files and realm paths; scheduled runs are refused by the same name\. Storage reads, lists, puts, deletes and grant mints, and egress calls before an upstream is reached, answer 429\. Management acts that deploy, promote, roll back, restart or resume return 409 before writing a row\. `run_job` also returns 409 without starting a run\. `set_database_size` and `restore_database` also return 409 before a row is written\. A generate\_image call past the month's free images is refused 409 before the provider is called, counting and charging nothing\. New WebSocket upgrades are refused; open sockets close with code 1008 and reason `account paused`\. On the router, `Retry-After` gives seconds until the scheduled reset at the start of the next UTC month\. The router gives a request preferring HTML the pause page instead of JSON\.<br><br>On the email surface, sending is refused 429 with `Retry-After` in seconds and `resets_at`, the scheduled monthly reset\. Nothing is queued or counted\. | A paused account resumes when it has Free Allowance available again or credit it can use\. Check the current pause state before retrying\. To move a paused account's database back to shared, ask support for the operator\. `set_database_size` and `restore_database` are refused while paused\. |
| <a id="account_suspended-email"></a>`account_suspended` | not fixed | The account is suspended\. On the management surface it is the account you act as \(403\), including for `run_job`\. On the router it is the account the served hostname belongs to \(503\)\. At the tunnel seat it is the calling application's account \(403\)\. On the builder sign\-in surface, a suspended account's sign\-in completion is refused with this name \(403\), whether it comes from a provider or a passkey\. That refusal creates no session, sets no cookie, and issues no code\. A grant is refused with this name \(403\) while the account recorded as its owner is suspended\. This covers a transfer grant on the storage surface, an upload grant on the deploy command's progress read, and a secret grant on its one write\. The grant works again once the account is reinstated, if it has not expired\. On the egress surface, an egress key is refused with this name \(403\) while its owning account is suspended\. The platform operator restores the account\. On the support read surface, a consent and a read for a suspended account are refused with this name \(403\)\. The tzMesh site token route also refuses a suspended account with this name \(403\), and mints no token\.<br><br>On the dashboard picture surface, a current dashboard session for a suspended account is refused \(403\)\. | Ask the platform operator about reinstatement\. After reinstatement, sign in again if the prior session ended, or reconnect your tool, then retry\. A still\-live grant can work again within its scope after reinstatement\. |
| <a id="authentication_required-email"></a>`authentication_required` | 401 | No credential resolved to an account\. The refusal is the usual challenge giving the protected\-resource metadata, at the internal resolve endpoint gate, or at the audience gate the router applies\. On the management and MCP surfaces, the detail says whether the connection presented no credential or presented one that resolved to no account\. Where the credential you presented has the form of a short\-lived grant and the platform has no grant of that value, the detail says the grant was not accepted\. On the support read surface, a consent or its end without a signed\-in support cookie, and a read without a live support read token, are refused with this name \(401\)\.<br><br>A page\-only action is refused with this name, without a `WWW-Authenticate` challenge, where no API cookie call is admitted\. No bearer can call that row\.<br><br>The sign\-in removal is also refused with this where Sign out everywhere ended the acting session's generation before the removal's transaction\. | For the support read, ask the visitor to sign in on the website and share their account in that support chat\. The website gives the support agent a live read token for the chat\. If the consent or stop\-sharing action was refused, sign in on the website and repeat the action there\.<br><br>Where no credential was presented, nothing was done\. Ask the person to sign in to Turn Zero: in Claude Code they type /mcp and choose the server, in Codex they finish the page the add line opened or run codex mcp login, and the Claude app offers it at the connector\. Then make the call again\.<br><br>The turnzero command has its own sign\-in, which a tool's sign\-in does not make\. A signed\-in tool chooses its deploy route with read\_documentation, page /cloud/getting\-started/ways\-to\-deploy/\. It authorizes the computer where the command is selected; where the command is unavailable, the tool uses deploy\_files within its caps and the upload route past them\. The person runs turnzero login only where no in\-tool route works, or to renew their own login\. A job presents a minted token or the credential the surface takes\.<br><br>Where the credential you presented resolved to no account, sign in again and make the call again\. On an application's routes, have the end user sign in again\.<br><br>Where a grant was not accepted, it expired and was removed, or its value was changed\. If the command or line a tool call returned had the grant, make that call again and run the fresh command it returns\. If your application requested the grant, request another\. On an application's routes, the serving router refused the request before it reached the application\. Test the application's own authentication branches in its offline tests or in a local run\.<br><br>For a page\-only act, sign in on this site and use its page\. A bearer credential does not admit the call\. |
| <a id="credential_lookup_busy-email"></a>`credential_lookup_busy` | 503 | The gateway could not start checking the credential for a storage, egress, logging, push, email, or job start request\. Its wait bound passed, two seconds by default, or its places for waiting lookups were full\. Each replica limits the lookups its credential cache cannot serve\. The request was not processed and counts toward no rate window\. | Repeat the same request unchanged after one second, the time the Retry\-After header gives\. It was not processed, so a repeat causes no duplicate effect\. A credential the gateway looked up within its cache interval, 30 seconds by default, is not looked up again\. |
| <a id="egress_key_not_admitted-email"></a>`egress_key_not_admitted` | not fixed | The egress key the platform mints for one upstream of one deployed compute works only on that upstream's keyed route\. Everywhere else it is refused with this name \(403\): another upstream, a management action, the storage and logging routes, a gated documentation tree's machine files, the push and email send routes, the job start route, and the realm surface\. The MCP server refuses it with a 401 challenge, and the tunnel seat with 407\. | Present the egress key only as the bearer of calls under the base URL in its setting, which the deploy set for that upstream\. To call another upstream the same way, declare it with its own `sdk_settings` and read that upstream's key setting\. For any other act, present the credential that surface accepts, such as the application's platform credential on the storage and logging routes\. |
| <a id="email_limit_reached"></a>`email_limit_reached` | 429 | A send would take your application's recipients past its size's quantity for the UTC hour or the UTC day, both environments counted together\. The body gives period, used, quota, requested, and resets\_at, the first instant of the next period\. Nothing was queued, and the counts are unchanged\. | Wait for the instant resets\_at gives, then send again\. For more volume, send through your own provider key on a declared egress upstream\. |
| <a id="email_not_declared"></a>`email_not_declared` | 409 | Your application sent email, but its recorded manifest declares no email service\. Nothing was queued\. | Add \{"kind": "email"\} to the manifest's services and resubmit it with submit\_manifest, then send again\. |
| <a id="end_user_credential_not_admitted-email"></a>`end_user_credential_not_admitted` | not fixed | The end\-user credential the accounts service issues is refused with this name on every surface except its own realm \(403; a 401 challenge at the MCP server\)\. | Use an end\-user credential for its realm's account routes\. On verification, send the platform credential as bearer and the end\-user session value in the body\. Storage, logging, egress, push and email use the application's admitted platform credential\. The account image route takes the account's own sign\-in or an account\-wide token\. For management or MCP, sign in to the account or use a minted token admitted by the action\. |
| <a id="environment_mismatch-email"></a>`environment_mismatch` | 403 | The credential fixes the request's environment, and the request gave another one\. A platform credential fixes its bound environment, a transfer grant the one it was minted in, and an egress key its own on the keyed route\. The other environment came in the x\-turnzero\-cloud\-environment header, or in the body member environment on a log batch or the verification route\. Under any other credential, the header and that body member gave different environments\. | Make the `x-turnzero-cloud-environment` header and the body's `environment` agree when you send both\. Each must also match any environment the credential binds\. To reach another environment, use its platform credential\. Where the route admits an unbound minted token, give the intended environment in the header, or in the body's `environment` where the route accepts it\. |
| <a id="insufficient_scope-email"></a>`insufficient_scope` | 403 | The OAuth access credential is valid for this service but lacks the scope required by the protected call; the challenge states the required scope\. | Start the OAuth authorization again from your tool and request the scope the challenge gives\. Renewing the existing token does not add a scope\. |
| <a id="internal-email"></a>`internal` | 500 | An unexpected error while responding\. Where the detail gives a reference, the error is recorded on the platform side under that reference\. The detail is a fixed sentence and never the error's own message\.<br><br>For sign\-in identity removal, failure ending the exchange's tokens before the removal removes no identity\. If ending them again fails after the transaction, the refusal is internal and the identities have been removed\. | For removal of a sign\-in method, read the detail first\. If no method was removed, request the removal again\. If the method was removed, sign in with a remaining method and use Sign out everywhere as directed\. The removal is complete\. If that control fails, report the failure and quote any reference the detail gives\.<br><br>For other calls, check what the detail says about the outcome\. Retry when the request is safe to repeat\. If the refusal repeats, report it and quote the reference its detail gives\. |
| <a id="invalid_request-email"></a>`invalid_request` | not fixed | The input is malformed or missing, and the detail gives the member\. Or the input has a NUL \(U\+0000\) or an unpaired UTF\-16 surrogate, and the detail gives the character\. This is the generic validation refusal of every surface\. On a management action, it also refuses a call that gives a member the action does not declare\. The detail lists that member, a nested one by its path, and every member declared at that place\. Where that list would pass the detail's budget, the detail gives each place's member count instead and points to the action's reference page, which lists them\. It also refuses a body the surface could not read, or a path segment whose escape does not decode, in the surface's own form, repeating nothing from the request\. On `create_space`, it also refuses a `space` deleted within the last 35 days, while its deletion marker remains, and nothing is created\. At a request for the `tzmesh` resource, and at the completion of its sign\-in, it also refuses a browser's prefetch, which holds no confirmation\. On `deploy_files`, a list entry with `content` under a path segment the zip leaves out is refused with `kept` and `refused`\. Its `kept` lists the content entries kept and each entry by `sha256` alone whose file the platform holds and could read as the refusal was built; `refused` lists the entries refused\.<br><br>Over HTTP, a value outside a bound an action's reference states is refused `invalid_request`\. Over MCP, your client's or the SDK's argument check runs first\. A rule checked only by the handler draws `invalid_request` on either route\. On the payment event route, a missing, malformed, invalid or stale signature, an unreadable event, or an event in the other mode receives the same refusal and changes nothing\. The detail discloses no class or request content\.<br><br>On `set_database_size`, the size is not one of its four values, production already has the requested size, or a dedicated size was requested for a serverless application\. A serverless application's database stays `database-shared`\. Nothing changes\.<br><br>The usual validation status is \(400\)\. On the builder's Allow page, a confirmation posted from outside the sign\-in page's origin or without a recent sign\-in receives \(403\)\. Browser checks can also return \(403\) when you confirm or cancel an approval, open or sign in to a test account, or cancel a builder connection\. A provider callback that uses a method the route does not accept receives \(405\)\. | Correct the member the detail gives, or send a member the action declares in place of one it does not; the detail or the action's reference page lists them\. Or remove the character the detail identifies\. Then send the request again\. For a deleted space's identifier, pass another `space`, or leave it out and the platform chooses one\. A refused prefetch needs nothing: the request is served when the person opens it\.<br><br>For payment events, the payment provider sends this request\. The platform operator checks the provider's delivery record and the platform's refusal record\. The response gives the same detail for every payment\-event validation failure\.<br><br>For a 403 on a browser confirmation, return to your tool and sign in again\. Use the confirmation page in the same browser with a recent sign\-in\. For a 405 on a provider callback, use the method its detail gives\. The provider sends that callback\. |
| <a id="invalid_token-email"></a>`invalid_token` | 401 | A protected call presents a credential that cannot authenticate to this service, and the WWW\-Authenticate header gives the standard OAuth error\. A missing credential gets no OAuth error parameter\. | For tool sign\-in, refresh the access token where available or sign in again\. For push or email, use the platform credential from the intended application's backend\. On a route that accepts an application\-bounded minted token, use one admitted by that route\. |
| <a id="misdirected_origin-email"></a>`misdirected_origin` | 421 | Your request reached a public service without going through the platform's edge\. Behind the edge, every request must include the edge's profile identifier in its identifier header, and a forwarded host and scheme equal to the configured origin\. A request that does not is refused before any route runs\. The detail gives the forwarded host and scheme the service saw\. A request from an address of a hosting cell is refused the same way even when it has the identifier, and its detail gives that address\. The health reads, and the sign\-in requests the platform's serving router forwards for an application's end\-user realm, are exempt\. The check is off where no edge profile identifier is configured\. Where an estate sets a REST host, that host serves its own API path and nothing else, and that path is refused under any other host, the public origin among them; this holds with or without an edge profile identifier\. | Send the request through the platform's edge to the public origin the detail gives, <https://turnzero.ai> on production, and not to a service's own hostname\. The detail also gives the host and scheme the service saw\. Where the detail gives a REST host's address, call that address\. |
| <a id="no_such_application-email"></a>`no_such_application` | 404 | The application is not in the acting account\. `set_database_size` and `restore_database` use this name where the account has no live application with that ID\. No move starts\. | If a platform credential identified the application, stop retrying and tell the application owner\. The credential is for an application that the acting account no longer holds\. There is no application ID to correct in the request\.<br><br>If an account\-mail sender entry identified the application, stop retrying and tell whoever manages that sender entry\. The entry points to an application that no longer exists\.<br><br>If the request gave an application id, check it against `list_applications` using an admitted management connection\. If you lack that connection, ask the application owner to check the id\. The turnzero command's computer\-token refusal also gives the acting account\. An id belonging to another account can be refused as `application_other_account`\. |
| <a id="not_found-email"></a>`not_found` | 404 | You gave a pending action, secret, operated account, token, connection, realm action's invitation, synthetic purge, or export that does not exist or is not yours \(the contract for the invitation; the contract for the connection\)\. For clear\_development\_database, the application you gave has no development database\. For query\_database, the environment you gave has no database\. For request\_export with download: true, the export's files are no longer in its export area\. For the four feedback actions, the `space` you gave is no issue space your account has, refused before any token is read\. On the realm surface, the session a revocation from the session list gives is no live session of the signed\-in end user\. On the device routes, the installation identifier matches no registration of the signed\-in user\. On the push surface, the request uses a path or a method under /push/v0 other than POST /push/v0/messages\. On the realm surface, the request uses a path or a method under /\_\_account/ that no realm route serves, the OpenID Connect discovery path among them\. For a staff read of a synthetic account's state, the `account` you gave is an id that belongs to no account, under `super_admin`\.<br><br>The dashboard picture route is unconfigured, the dashboard session does not verify, or the account has no tzMesh profile, person or picture\.<br><br>On the serving router, the serving serverless version has no file or function for the requested path and method\. A pool response can also report that its loaded version has no function for the path\. Nothing was run\.<br><br>On `set_database_size` or `restore_database`, the application has no production database: no database kind is declared, or no version has been promoted to production\. Nothing changes\. | Check the identifier against the listing for its kind: list\_secrets, list\_tokens, or list\_invitations\. For a pending action, a purge, an export, or a seeded or first\-sign\-in account, check it against the id an earlier response returned\. Then repeat the request with an identifier that belongs to your account\. For the feedback actions, pass a space that list\_issue\_spaces or submit\_manifest's receipt returns, or leave `space` out for the platform's own space\. On the realm surface, read the session list at GET /\_\_account/sessions and pass an id it returns\. For clear\_development\_database there is nothing to clear: a development database exists once a submitted manifest declares the database kind\. For query\_database there is nothing to read: an environment's database exists once a submitted manifest declares the database kind\. For a path no realm route serves, read the realm's endpoints at /\.well\-known/oauth\-authorization\-server on the hostname, which is served where the realm declares a client\.<br><br>For a support deployed\-files read, check whether the requested serving or previous version exists\. If the response says its image is no longer kept, tell the person that version's deployed files are unavailable\. If only the path is missing, list that version's deployed files and choose a path it returns\. For a support issue\-space read, choose a space the shared account holds and the support read covers\.<br><br>On the push surface, check the documented request method and path\.<br><br>The dashboard picture route takes no identifier\. Sign in if needed; without a picture, use initials\.<br><br>For a serverless route, check the path and method against the serving version's client files and functions\. Deploy missing code or files, or use a path that version serves\. |
| <a id="plan_quantity_unset-email"></a>`plan_quantity_unset` | 409 | The size's served quantity, or the unlimited plan's quantity, is Unset\. An Unset quantity is no row, or a row with no quantity, in the served quota table\. It is never read as zero, unlimited, or a default\. The refusal gives the quota key and measure\. It can refuse create\_application with that size, set\_app\_size onto it, database provisioning, and submit\_manifest declaring a schedule\. It also refuses deploy, promote, roll\_back and restart\_application before adding a version where the application's environment has a database\.<br><br>Push sends and email sends refuse for an unset quantity; for a size, email reads the hour and day cells\. An allowance call on the egress surface can refuse for an application on the unlimited plan, never for a size\.<br><br>The operator's placement on the unlimited plan refuses where a row for any entry Pro sets is absent or Unset, a served value's among them\. A served value's own reader reads an absent row as its default or as no bound\. The operator sets the quantity and records the pricing\-registry cell\. | Nothing you do sets the quantity\. Ask the platform operator to set the quantity for the quota key and measure the refusal gives, then repeat the request\. |
| <a id="platform_credential_required-email"></a>`platform_credential_required` | 403 | A push or email send or a job start arrived under a session or a minted token\. These routes require the application's platform credential, which identifies the application and fixes the environment\. | Send push or email, or start a job, from your backend using its platform credential \(`TURNZERO_CLOUD_APP_TOKEN`\)\. |
| <a id="rate_capped-email"></a>`rate_capped` | 429 | The request reached a limit on the count for its window\. The limit can be on an application's logging batches per minute or on a source address's client registrations per hour\. The control plane and the router's admission limits count requests in the current UTC minute\. A page view of the site counts in a page window of its own, six hundred a minute\. A call to read\_library on the actions route counts in a library window of its own, four thousand a minute\. A call to search\_documentation presenting no credential counts in a documentation search window of its own, one hundred and twenty a minute\. Where no separate window or exemption applies on the control plane, the source window counts six hundred requests a minute\. A signed\-in approval or dashboard arrival spends no source window\. Across the six gateway routes for storage, egress, logging, push, email, and job start, requests that resolve to the same credential share a limit of six hundred requests per UTC minute, even when they come from different source addresses\. For admission, each of these requests counts only toward the credential's limit\. A presented value there that resolves to no credential counts in a window of its own for the source, six hundred a minute, apart from the source window\. On those routes, a request through the edge whose source is at that bound is refused before its credential is looked up, unless the gateway already has that credential\. On the deploy command's progress read, a read under its upload's started grant counts in a window keyed on that grant's identity\. A read there that presents anything else counts in the source window, which once full refuses the source before any lookup\. At the control plane, the admission window's refusal includes Retry\-After, the seconds to the next minute\. The serving router counts requests to one application on each router replica in the current UTC minute\. Anonymous requests count against their source address\. Signed\-in requests count against both the user and a separate limit for the source address's signed\-in requests\. The refusal comes before the request reaches the application\. `Retry-After` gives the seconds to the next UTC minute\. A `request_route` or `write_route` call counts in one window of their own for the acting account, sixty a minute\. A `check_app_sign_in` call counts in a window of its own for the acting account, ten a minute, and the accounts service counts the checks of each realm in a window of its own, ten a minute\.<br><br>For the dashboard picture route, an arrival without a verified dashboard cookie and current session uses the source window; an admitted arrival counts in its account's own window, sixty reads a minute\. | If the response gives `Retry-After`, wait that many seconds and retry below the limit\. For a request or logging limit without that header, retry below the limit when the next UTC minute starts\. For client registrations, wait until the earliest registration in the hour leaves that window\. |
| <a id="request_too_large-email"></a>`request_too_large` | 413 | The request is over the surface's request bound, or over the bound a transfer grant accepts\. On the builder sign\-in, a client registration's declared body is over 16 KiB\. On every surface, the serving router among them, a body over the bound the surface's parser reads is refused the same way, the detail giving that bound\. | Reduce the request body to the byte bound the refusal detail gives, then send it again\. Keep a storage upload within the size its transfer grant accepts, and keep a client registration at sign\-in at or under 16 KiB\. |
| <a id="retired_host-email"></a>`retired_host` | 421 | The hostname you sent the request to is one the platform retired\. The request is refused before any route runs, and the detail gives the current address\. A client that still uses the old name fails with a clear reason instead of working on it unnoticed\. | Change the address your client uses to the current address the detail gives, then send the request again\. |
| <a id="secret_grant_not_admitted-email"></a>`secret_grant_not_admitted` | not fixed | The secret grant a `store_secret` call with no value mints serves the one write it records: the same action on the HTTP action route, with the grant's own name, application, and environment\. The grant a `submit_manifest` call with `local_run` mints serves two requests: `store_secret` with `replace: true` on that route, with no value, for the application's database credential and its platform credential at the development scope, each once\. Under either grant, every other surface, management action, and request is refused with this name \(403; a 401 challenge at the MCP server\) and uses nothing\. The exception is an action another rule refuses first\. The browser\-only action reads no credential, and an action that is switched off reads the grant and refuses with its switch's name; neither accepts the grant\. A provision grant claimed by its verifier is no grant anywhere else\. Every action but `store_secret` with `replace: true` over the wire, and every other surface, reads the verifier as a bearer that resolves to nothing, refused `authentication_required`\. The deploy command's progress read refuses it under that read's own name, `transfer_grant_not_admitted`\. | Run the command the preparing call returned once, as given: it makes the one write the grant allows\. For any other act, present the credential that surface accepts, for example a signed\-in session or a minted token on the management surface\. To write another name or at another scope, call `store_secret` with no value for that name and scope, and run the command it returns\. For the local run's grant, run the line the `submit_manifest` call returned, as given\. For a fresh one, run `turnzero provision --origin https://dev.turnzero.ai --application <application id>` with nothing piped and make any call it prints\. |
| <a id="store_unavailable-email"></a>`store_unavailable` | 503 | The plane's database did not respond to the credential lookup the guard runs, so the request was not processed; retry it\. On the storage, egress, and logging wires, the same refusal comes where the gateway had no entry within its stale ceiling\. On submit\_manifest, the control store failed while the manifest's upstreams were written after its record\. A write the failure followed is taken back where it can be, the manifest stays recorded, and the detail lists the upstreams declared, those not, and any left over\. A failure while the realm member or the push entry's providers are recorded, after the upstreams, takes nothing back\. What was recorded remains, and the detail lists the realms, or the push configurations, done and those not\. On the start\-line route, the line was not stored, and the workflow posts it again\. | For a transient refusal before processing, retry after a short wait\. If `submit_manifest` was processed in part, resubmit the same manifest to finish declarations, realms and push configuration before the next deploy or promote\. If the detail says no status record is bound, report it to the platform operator so the binding can be restored\. |
| <a id="transfer_grant_not_admitted-email"></a>`transfer_grant_not_admitted` | not fixed | The transfer grant object storage mints serves its one file act and is refused by name everywhere else \(403; a 401 challenge at the MCP server\)\. An export's download grant serves only `GET` of a file by its name: its export's own files, and its application's stored files created by the time its export listed them\. A stored file created later is refused with `no_such_file` under it, as an absent name is, and not with this refusal\. An older grant with no recorded time for its export's file list gives this refusal for a stored file outside the export's own folder\. Ask for a fresh grant\. A deploy upload's grant also serves its upload's one start on `deploy`, giving its own application, the environment its preparing call recorded, and upload\. After that start, it serves the deploy command's progress reads of its own deploy inside their window, and the progress read refuses by this name every other credential and that grant before its start\. | Present the grant only on the one file route it covers, PUT or GET /storage/v0/areas/\{area\}/files/\{name\}, in the direction it was minted for\. Under an export's download grant, read a file by its name, never a listing, the deploy area, or another application's area\. Where a stored file the export's manifest lists is refused by this name, call `request_export` with `download: true` again and run the line it returns\. For any other act, present the credential that surface accepts, for example a signed\-in session or a minted token on the management surface\. A deploy upload's grant starts only its own upload and then reads only that deploy's progress, as the turnzero command does under the grant its preparing `deploy` call returns\. To read a deploy under your own credential, call `read_status`\. |

## Jobs

The job start route under /jobs/v0\. It accepts only the application's platform credential\.

| Refusal | Status | Cause | Remedy |
|---|---|---|---|
| <a id="account_paused-jobs"></a>`account_paused` | not fixed | The owning account used up its Free Allowance and has no live credit\. Unlimited applications are exempt\. The router returns 429 on every request to either hostname, including shell files and realm paths; scheduled runs are refused by the same name\. Storage reads, lists, puts, deletes and grant mints, and egress calls before an upstream is reached, answer 429\. Management acts that deploy, promote, roll back, restart or resume return 409 before writing a row\. `run_job` also returns 409 without starting a run\. `set_database_size` and `restore_database` also return 409 before a row is written\. A generate\_image call past the month's free images is refused 409 before the provider is called, counting and charging nothing\. New WebSocket upgrades are refused; open sockets close with code 1008 and reason `account paused`\. On the router, `Retry-After` gives seconds until the scheduled reset at the start of the next UTC month\. The router gives a request preferring HTML the pause page instead of JSON\.<br><br>On the email surface, sending is refused 429 with `Retry-After` in seconds and `resets_at`, the scheduled monthly reset\. Nothing is queued or counted\. | A paused account resumes when it has Free Allowance available again or credit it can use\. Check the current pause state before retrying\. To move a paused account's database back to shared, ask support for the operator\. `set_database_size` and `restore_database` are refused while paused\. |
| <a id="account_suspended-jobs"></a>`account_suspended` | not fixed | The account is suspended\. On the management surface it is the account you act as \(403\), including for `run_job`\. On the router it is the account the served hostname belongs to \(503\)\. At the tunnel seat it is the calling application's account \(403\)\. On the builder sign\-in surface, a suspended account's sign\-in completion is refused with this name \(403\), whether it comes from a provider or a passkey\. That refusal creates no session, sets no cookie, and issues no code\. A grant is refused with this name \(403\) while the account recorded as its owner is suspended\. This covers a transfer grant on the storage surface, an upload grant on the deploy command's progress read, and a secret grant on its one write\. The grant works again once the account is reinstated, if it has not expired\. On the egress surface, an egress key is refused with this name \(403\) while its owning account is suspended\. The platform operator restores the account\. On the support read surface, a consent and a read for a suspended account are refused with this name \(403\)\. The tzMesh site token route also refuses a suspended account with this name \(403\), and mints no token\.<br><br>On the dashboard picture surface, a current dashboard session for a suspended account is refused \(403\)\. | Ask the platform operator about reinstatement\. After reinstatement, sign in again if the prior session ended, or reconnect your tool, then retry\. A still\-live grant can work again within its scope after reinstatement\. |
| <a id="authentication_required-jobs"></a>`authentication_required` | 401 | No credential resolved to an account\. The refusal is the usual challenge giving the protected\-resource metadata, at the internal resolve endpoint gate, or at the audience gate the router applies\. On the management and MCP surfaces, the detail says whether the connection presented no credential or presented one that resolved to no account\. Where the credential you presented has the form of a short\-lived grant and the platform has no grant of that value, the detail says the grant was not accepted\. On the support read surface, a consent or its end without a signed\-in support cookie, and a read without a live support read token, are refused with this name \(401\)\.<br><br>A page\-only action is refused with this name, without a `WWW-Authenticate` challenge, where no API cookie call is admitted\. No bearer can call that row\.<br><br>The sign\-in removal is also refused with this where Sign out everywhere ended the acting session's generation before the removal's transaction\. | For the support read, ask the visitor to sign in on the website and share their account in that support chat\. The website gives the support agent a live read token for the chat\. If the consent or stop\-sharing action was refused, sign in on the website and repeat the action there\.<br><br>Where no credential was presented, nothing was done\. Ask the person to sign in to Turn Zero: in Claude Code they type /mcp and choose the server, in Codex they finish the page the add line opened or run codex mcp login, and the Claude app offers it at the connector\. Then make the call again\.<br><br>The turnzero command has its own sign\-in, which a tool's sign\-in does not make\. A signed\-in tool chooses its deploy route with read\_documentation, page /cloud/getting\-started/ways\-to\-deploy/\. It authorizes the computer where the command is selected; where the command is unavailable, the tool uses deploy\_files within its caps and the upload route past them\. The person runs turnzero login only where no in\-tool route works, or to renew their own login\. A job presents a minted token or the credential the surface takes\.<br><br>Where the credential you presented resolved to no account, sign in again and make the call again\. On an application's routes, have the end user sign in again\.<br><br>Where a grant was not accepted, it expired and was removed, or its value was changed\. If the command or line a tool call returned had the grant, make that call again and run the fresh command it returns\. If your application requested the grant, request another\. On an application's routes, the serving router refused the request before it reached the application\. Test the application's own authentication branches in its offline tests or in a local run\.<br><br>For a page\-only act, sign in on this site and use its page\. A bearer credential does not admit the call\. |
| <a id="cell_move_in_flight-jobs"></a>`cell_move_in_flight` | 409 | An unfinished cross\-cell move of the application refuses a database move and `run_job`\. No pending action, database move or job run is created\. Production keeps its current database size\. | Repeat the request once the application's move to the other cell ends\. |
| <a id="credential_lookup_busy-jobs"></a>`credential_lookup_busy` | 503 | The gateway could not start checking the credential for a storage, egress, logging, push, email, or job start request\. Its wait bound passed, two seconds by default, or its places for waiting lookups were full\. Each replica limits the lookups its credential cache cannot serve\. The request was not processed and counts toward no rate window\. | Repeat the same request unchanged after one second, the time the Retry\-After header gives\. It was not processed, so a repeat causes no duplicate effect\. A credential the gateway looked up within its cache interval, 30 seconds by default, is not looked up again\. |
| <a id="database_move_in_flight-jobs"></a>`database_move_in_flight` | 409 | An unfinished production database move refuses `set_database_size`, `restore_database`, `open_database_connection`, `run_job`, a new production version, or application deletion\. Account erasure waits for the move and refuses if its wait ends first\. The move’s own redeploy after the switch is admitted\. An unfinished move of the application between cells also refuses `open_database_connection`\. | Repeat the same request after the database move completes or is reverted\. |
| <a id="egress_key_not_admitted-jobs"></a>`egress_key_not_admitted` | not fixed | The egress key the platform mints for one upstream of one deployed compute works only on that upstream's keyed route\. Everywhere else it is refused with this name \(403\): another upstream, a management action, the storage and logging routes, a gated documentation tree's machine files, the push and email send routes, the job start route, and the realm surface\. The MCP server refuses it with a 401 challenge, and the tunnel seat with 407\. | Present the egress key only as the bearer of calls under the base URL in its setting, which the deploy set for that upstream\. To call another upstream the same way, declare it with its own `sdk_settings` and read that upstream's key setting\. For any other act, present the credential that surface accepts, such as the application's platform credential on the storage and logging routes\. |
| <a id="end_user_credential_not_admitted-jobs"></a>`end_user_credential_not_admitted` | not fixed | The end\-user credential the accounts service issues is refused with this name on every surface except its own realm \(403; a 401 challenge at the MCP server\)\. | Use an end\-user credential for its realm's account routes\. On verification, send the platform credential as bearer and the end\-user session value in the body\. Storage, logging, egress, push and email use the application's admitted platform credential\. The account image route takes the account's own sign\-in or an account\-wide token\. For management or MCP, sign in to the account or use a minted token admitted by the action\. |
| <a id="environment_mismatch-jobs"></a>`environment_mismatch` | 403 | The credential fixes the request's environment, and the request gave another one\. A platform credential fixes its bound environment, a transfer grant the one it was minted in, and an egress key its own on the keyed route\. The other environment came in the x\-turnzero\-cloud\-environment header, or in the body member environment on a log batch or the verification route\. Under any other credential, the header and that body member gave different environments\. | Make the `x-turnzero-cloud-environment` header and the body's `environment` agree when you send both\. Each must also match any environment the credential binds\. To reach another environment, use its platform credential\. Where the route admits an unbound minted token, give the intended environment in the header, or in the body's `environment` where the route accepts it\. |
| <a id="environment_never_deployed-jobs"></a>`environment_never_deployed` | 409 | The environment has no deployed version, so there is nothing to act on\. The action halt\_environment refuses with it because there is nothing to halt\. The action restart\_application refuses with it where a server environment has no serving version with compute to re\-create, or a serverless environment has no serving version\. The `run_job` action refuses when no version serves\. | If `halt_environment` was refused because no version serves, there is nothing to halt\. If `restart_application` was refused, use `read_status` to check what the environment serves and the `outcome` of any failed restart\. If the environment has no version and should serve, deploy to it or promote a development version to production on an application with two environments\.<br><br>If a server environment has a serving version but no compute to restart, give the owner the restart refusal\. Where the owner wants service restored, use a new deploy or an applicable promote to create the running copy\. Report a repeated failure with its detail and the call's reference\. |
| <a id="insufficient_scope-jobs"></a>`insufficient_scope` | 403 | The OAuth access credential is valid for this service but lacks the scope required by the protected call; the challenge states the required scope\. | Start the OAuth authorization again from your tool and request the scope the challenge gives\. Renewing the existing token does not add a scope\. |
| <a id="internal-jobs"></a>`internal` | 500 | An unexpected error while responding\. Where the detail gives a reference, the error is recorded on the platform side under that reference\. The detail is a fixed sentence and never the error's own message\.<br><br>For sign\-in identity removal, failure ending the exchange's tokens before the removal removes no identity\. If ending them again fails after the transaction, the refusal is internal and the identities have been removed\. | For removal of a sign\-in method, read the detail first\. If no method was removed, request the removal again\. If the method was removed, sign in with a remaining method and use Sign out everywhere as directed\. The removal is complete\. If that control fails, report the failure and quote any reference the detail gives\.<br><br>For other calls, check what the detail says about the outcome\. Retry when the request is safe to repeat\. If the refusal repeats, report it and quote the reference its detail gives\. |
| <a id="invalid_request-jobs"></a>`invalid_request` | not fixed | The input is malformed or missing, and the detail gives the member\. Or the input has a NUL \(U\+0000\) or an unpaired UTF\-16 surrogate, and the detail gives the character\. This is the generic validation refusal of every surface\. On a management action, it also refuses a call that gives a member the action does not declare\. The detail lists that member, a nested one by its path, and every member declared at that place\. Where that list would pass the detail's budget, the detail gives each place's member count instead and points to the action's reference page, which lists them\. It also refuses a body the surface could not read, or a path segment whose escape does not decode, in the surface's own form, repeating nothing from the request\. On `create_space`, it also refuses a `space` deleted within the last 35 days, while its deletion marker remains, and nothing is created\. At a request for the `tzmesh` resource, and at the completion of its sign\-in, it also refuses a browser's prefetch, which holds no confirmation\. On `deploy_files`, a list entry with `content` under a path segment the zip leaves out is refused with `kept` and `refused`\. Its `kept` lists the content entries kept and each entry by `sha256` alone whose file the platform holds and could read as the refusal was built; `refused` lists the entries refused\.<br><br>Over HTTP, a value outside a bound an action's reference states is refused `invalid_request`\. Over MCP, your client's or the SDK's argument check runs first\. A rule checked only by the handler draws `invalid_request` on either route\. On the payment event route, a missing, malformed, invalid or stale signature, an unreadable event, or an event in the other mode receives the same refusal and changes nothing\. The detail discloses no class or request content\.<br><br>On `set_database_size`, the size is not one of its four values, production already has the requested size, or a dedicated size was requested for a serverless application\. A serverless application's database stays `database-shared`\. Nothing changes\.<br><br>The usual validation status is \(400\)\. On the builder's Allow page, a confirmation posted from outside the sign\-in page's origin or without a recent sign\-in receives \(403\)\. Browser checks can also return \(403\) when you confirm or cancel an approval, open or sign in to a test account, or cancel a builder connection\. A provider callback that uses a method the route does not accept receives \(405\)\. | Correct the member the detail gives, or send a member the action declares in place of one it does not; the detail or the action's reference page lists them\. Or remove the character the detail identifies\. Then send the request again\. For a deleted space's identifier, pass another `space`, or leave it out and the platform chooses one\. A refused prefetch needs nothing: the request is served when the person opens it\.<br><br>For payment events, the payment provider sends this request\. The platform operator checks the provider's delivery record and the platform's refusal record\. The response gives the same detail for every payment\-event validation failure\.<br><br>For a 403 on a browser confirmation, return to your tool and sign in again\. Use the confirmation page in the same browser with a recent sign\-in\. For a 405 on a provider callback, use the method its detail gives\. The provider sends that callback\. |
| <a id="invalid_token-jobs"></a>`invalid_token` | 401 | A protected call presents a credential that cannot authenticate to this service, and the WWW\-Authenticate header gives the standard OAuth error\. A missing credential gets no OAuth error parameter\. | For tool sign\-in, refresh the access token where available or sign in again\. For push or email, use the platform credential from the intended application's backend\. On a route that accepts an application\-bounded minted token, use one admitted by that route\. |
| <a id="job_run_capacity-jobs"></a>`job_run_capacity` | 503 | The hosting cell is at its job run limit\. The request started no run\. | Wait a minute, then retry the start with the same `request_id`\. |
| <a id="job_runs_at_limit-jobs"></a>`job_runs_at_limit` | 409 | The account already has three unfinished job runs\. The request started no run\. | Wait for one run to finish or cancel one you mean to stop\. Then retry the same start with the same `request_id`\. |
| <a id="misdirected_origin-jobs"></a>`misdirected_origin` | 421 | Your request reached a public service without going through the platform's edge\. Behind the edge, every request must include the edge's profile identifier in its identifier header, and a forwarded host and scheme equal to the configured origin\. A request that does not is refused before any route runs\. The detail gives the forwarded host and scheme the service saw\. A request from an address of a hosting cell is refused the same way even when it has the identifier, and its detail gives that address\. The health reads, and the sign\-in requests the platform's serving router forwards for an application's end\-user realm, are exempt\. The check is off where no edge profile identifier is configured\. Where an estate sets a REST host, that host serves its own API path and nothing else, and that path is refused under any other host, the public origin among them; this holds with or without an edge profile identifier\. | Send the request through the platform's edge to the public origin the detail gives, <https://turnzero.ai> on production, and not to a service's own hostname\. The detail also gives the host and scheme the service saw\. Where the detail gives a REST host's address, call that address\. |
| <a id="no_such_application-jobs"></a>`no_such_application` | 404 | The application is not in the acting account\. `set_database_size` and `restore_database` use this name where the account has no live application with that ID\. No move starts\. | If a platform credential identified the application, stop retrying and tell the application owner\. The credential is for an application that the acting account no longer holds\. There is no application ID to correct in the request\.<br><br>If an account\-mail sender entry identified the application, stop retrying and tell whoever manages that sender entry\. The entry points to an application that no longer exists\.<br><br>If the request gave an application id, check it against `list_applications` using an admitted management connection\. If you lack that connection, ask the application owner to check the id\. The turnzero command's computer\-token refusal also gives the acting account\. An id belonging to another account can be refused as `application_other_account`\. |
| <a id="no_such_job-jobs"></a>`no_such_job` | 404 | `run_job` could not find that job in the version serving the chosen environment\. | Check the job name and the environment\. If the job is missing, declare it in the manifest and deploy the change\. For production on a two\-environment application, promote the version that declares it\. |
| <a id="not_found-jobs"></a>`not_found` | 404 | You gave a pending action, secret, operated account, token, connection, realm action's invitation, synthetic purge, or export that does not exist or is not yours \(the contract for the invitation; the contract for the connection\)\. For clear\_development\_database, the application you gave has no development database\. For query\_database, the environment you gave has no database\. For request\_export with download: true, the export's files are no longer in its export area\. For the four feedback actions, the `space` you gave is no issue space your account has, refused before any token is read\. On the realm surface, the session a revocation from the session list gives is no live session of the signed\-in end user\. On the device routes, the installation identifier matches no registration of the signed\-in user\. On the push surface, the request uses a path or a method under /push/v0 other than POST /push/v0/messages\. On the realm surface, the request uses a path or a method under /\_\_account/ that no realm route serves, the OpenID Connect discovery path among them\. For a staff read of a synthetic account's state, the `account` you gave is an id that belongs to no account, under `super_admin`\.<br><br>The dashboard picture route is unconfigured, the dashboard session does not verify, or the account has no tzMesh profile, person or picture\.<br><br>On the serving router, the serving serverless version has no file or function for the requested path and method\. A pool response can also report that its loaded version has no function for the path\. Nothing was run\.<br><br>On `set_database_size` or `restore_database`, the application has no production database: no database kind is declared, or no version has been promoted to production\. Nothing changes\. | Check the identifier against the listing for its kind: list\_secrets, list\_tokens, or list\_invitations\. For a pending action, a purge, an export, or a seeded or first\-sign\-in account, check it against the id an earlier response returned\. Then repeat the request with an identifier that belongs to your account\. For the feedback actions, pass a space that list\_issue\_spaces or submit\_manifest's receipt returns, or leave `space` out for the platform's own space\. On the realm surface, read the session list at GET /\_\_account/sessions and pass an id it returns\. For clear\_development\_database there is nothing to clear: a development database exists once a submitted manifest declares the database kind\. For query\_database there is nothing to read: an environment's database exists once a submitted manifest declares the database kind\. For a path no realm route serves, read the realm's endpoints at /\.well\-known/oauth\-authorization\-server on the hostname, which is served where the realm declares a client\.<br><br>For a support deployed\-files read, check whether the requested serving or previous version exists\. If the response says its image is no longer kept, tell the person that version's deployed files are unavailable\. If only the path is missing, list that version's deployed files and choose a path it returns\. For a support issue\-space read, choose a space the shared account holds and the support read covers\.<br><br>On the push surface, check the documented request method and path\.<br><br>The dashboard picture route takes no identifier\. Sign in if needed; without a picture, use initials\.<br><br>For a serverless route, check the path and method against the serving version's client files and functions\. Deploy missing code or files, or use a path that version serves\. |
| <a id="platform_credential_required-jobs"></a>`platform_credential_required` | 403 | A push or email send or a job start arrived under a session or a minted token\. These routes require the application's platform credential, which identifies the application and fixes the environment\. | Send push or email, or start a job, from your backend using its platform credential \(`TURNZERO_CLOUD_APP_TOKEN`\)\. |
| <a id="rate_capped-jobs"></a>`rate_capped` | 429 | The request reached a limit on the count for its window\. The limit can be on an application's logging batches per minute or on a source address's client registrations per hour\. The control plane and the router's admission limits count requests in the current UTC minute\. A page view of the site counts in a page window of its own, six hundred a minute\. A call to read\_library on the actions route counts in a library window of its own, four thousand a minute\. A call to search\_documentation presenting no credential counts in a documentation search window of its own, one hundred and twenty a minute\. Where no separate window or exemption applies on the control plane, the source window counts six hundred requests a minute\. A signed\-in approval or dashboard arrival spends no source window\. Across the six gateway routes for storage, egress, logging, push, email, and job start, requests that resolve to the same credential share a limit of six hundred requests per UTC minute, even when they come from different source addresses\. For admission, each of these requests counts only toward the credential's limit\. A presented value there that resolves to no credential counts in a window of its own for the source, six hundred a minute, apart from the source window\. On those routes, a request through the edge whose source is at that bound is refused before its credential is looked up, unless the gateway already has that credential\. On the deploy command's progress read, a read under its upload's started grant counts in a window keyed on that grant's identity\. A read there that presents anything else counts in the source window, which once full refuses the source before any lookup\. At the control plane, the admission window's refusal includes Retry\-After, the seconds to the next minute\. The serving router counts requests to one application on each router replica in the current UTC minute\. Anonymous requests count against their source address\. Signed\-in requests count against both the user and a separate limit for the source address's signed\-in requests\. The refusal comes before the request reaches the application\. `Retry-After` gives the seconds to the next UTC minute\. A `request_route` or `write_route` call counts in one window of their own for the acting account, sixty a minute\. A `check_app_sign_in` call counts in a window of its own for the acting account, ten a minute, and the accounts service counts the checks of each realm in a window of its own, ten a minute\.<br><br>For the dashboard picture route, an arrival without a verified dashboard cookie and current session uses the source window; an admitted arrival counts in its account's own window, sixty reads a minute\. | If the response gives `Retry-After`, wait that many seconds and retry below the limit\. For a request or logging limit without that header, retry below the limit when the next UTC minute starts\. For client registrations, wait until the earliest registration in the hour leaves that window\. |
| <a id="request_too_large-jobs"></a>`request_too_large` | 413 | The request is over the surface's request bound, or over the bound a transfer grant accepts\. On the builder sign\-in, a client registration's declared body is over 16 KiB\. On every surface, the serving router among them, a body over the bound the surface's parser reads is refused the same way, the detail giving that bound\. | Reduce the request body to the byte bound the refusal detail gives, then send it again\. Keep a storage upload within the size its transfer grant accepts, and keep a client registration at sign\-in at or under 16 KiB\. |
| <a id="retired_host-jobs"></a>`retired_host` | 421 | The hostname you sent the request to is one the platform retired\. The request is refused before any route runs, and the detail gives the current address\. A client that still uses the old name fails with a clear reason instead of working on it unnoticed\. | Change the address your client uses to the current address the detail gives, then send the request again\. |
| <a id="secret_grant_not_admitted-jobs"></a>`secret_grant_not_admitted` | not fixed | The secret grant a `store_secret` call with no value mints serves the one write it records: the same action on the HTTP action route, with the grant's own name, application, and environment\. The grant a `submit_manifest` call with `local_run` mints serves two requests: `store_secret` with `replace: true` on that route, with no value, for the application's database credential and its platform credential at the development scope, each once\. Under either grant, every other surface, management action, and request is refused with this name \(403; a 401 challenge at the MCP server\) and uses nothing\. The exception is an action another rule refuses first\. The browser\-only action reads no credential, and an action that is switched off reads the grant and refuses with its switch's name; neither accepts the grant\. A provision grant claimed by its verifier is no grant anywhere else\. Every action but `store_secret` with `replace: true` over the wire, and every other surface, reads the verifier as a bearer that resolves to nothing, refused `authentication_required`\. The deploy command's progress read refuses it under that read's own name, `transfer_grant_not_admitted`\. | Run the command the preparing call returned once, as given: it makes the one write the grant allows\. For any other act, present the credential that surface accepts, for example a signed\-in session or a minted token on the management surface\. To write another name or at another scope, call `store_secret` with no value for that name and scope, and run the command it returns\. For the local run's grant, run the line the `submit_manifest` call returned, as given\. For a fresh one, run `turnzero provision --origin https://dev.turnzero.ai --application <application id>` with nothing piped and make any call it prints\. |
| <a id="store_unavailable-jobs"></a>`store_unavailable` | 503 | The plane's database did not respond to the credential lookup the guard runs, so the request was not processed; retry it\. On the storage, egress, and logging wires, the same refusal comes where the gateway had no entry within its stale ceiling\. On submit\_manifest, the control store failed while the manifest's upstreams were written after its record\. A write the failure followed is taken back where it can be, the manifest stays recorded, and the detail lists the upstreams declared, those not, and any left over\. A failure while the realm member or the push entry's providers are recorded, after the upstreams, takes nothing back\. What was recorded remains, and the detail lists the realms, or the push configurations, done and those not\. On the start\-line route, the line was not stored, and the workflow posts it again\. | For a transient refusal before processing, retry after a short wait\. If `submit_manifest` was processed in part, resubmit the same manifest to finish declarations, realms and push configuration before the next deploy or promote\. If the detail says no status record is bound, report it to the platform operator so the binding can be restored\. |
| <a id="target_environment_halted-jobs"></a>`target_environment_halted` | 409 | promote, roll\_back, run\_schedule, run\_job, deploy, restart\_application, and a change of size or sleep setting by set\_app\_size, or the operator's placement, that changes production's group or grain: the environment the act targets is halted\. Call `halt_environment` with `resume: true` to end the halt, and then the act can run\. A deploy to halted production is refused; a deploy to halted development ends the halt itself, whereas restart\_application never ends either environment's halt\. | For a deploy to halted development, repeat the deploy to end that halt\. For other actions, have an authorized account connection call `halt_environment` with `resume: true` for the target environment before repeating the original action, such as promote, roll\_back, run\_schedule or restart\_application, or a change to size, sleep or placement\. |
| <a id="transfer_grant_not_admitted-jobs"></a>`transfer_grant_not_admitted` | not fixed | The transfer grant object storage mints serves its one file act and is refused by name everywhere else \(403; a 401 challenge at the MCP server\)\. An export's download grant serves only `GET` of a file by its name: its export's own files, and its application's stored files created by the time its export listed them\. A stored file created later is refused with `no_such_file` under it, as an absent name is, and not with this refusal\. An older grant with no recorded time for its export's file list gives this refusal for a stored file outside the export's own folder\. Ask for a fresh grant\. A deploy upload's grant also serves its upload's one start on `deploy`, giving its own application, the environment its preparing call recorded, and upload\. After that start, it serves the deploy command's progress reads of its own deploy inside their window, and the progress read refuses by this name every other credential and that grant before its start\. | Present the grant only on the one file route it covers, PUT or GET /storage/v0/areas/\{area\}/files/\{name\}, in the direction it was minted for\. Under an export's download grant, read a file by its name, never a listing, the deploy area, or another application's area\. Where a stored file the export's manifest lists is refused by this name, call `request_export` with `download: true` again and run the line it returns\. For any other act, present the credential that surface accepts, for example a signed\-in session or a minted token on the management surface\. A deploy upload's grant starts only its own upload and then reads only that deploy's progress, as the turnzero command does under the grant its preparing `deploy` call returns\. To read a deploy under your own credential, call `read_status`\. |

## Deploy progress

The deploy command's progress read: the read the turnzero command makes under the upload grant its preparing `deploy` call returned, from that grant's start until five minutes after the deploy ends, never past fifteen minutes after the start\. It returns plain text lines, and a refusal is a JSON body of `contract_version`, `error`, and `detail`\.

| Refusal | Status | Cause | Remedy |
|---|---|---|---|
| <a id="account_suspended-deploy_progress"></a>`account_suspended` | not fixed | The account is suspended\. On the management surface it is the account you act as \(403\), including for `run_job`\. On the router it is the account the served hostname belongs to \(503\)\. At the tunnel seat it is the calling application's account \(403\)\. On the builder sign\-in surface, a suspended account's sign\-in completion is refused with this name \(403\), whether it comes from a provider or a passkey\. That refusal creates no session, sets no cookie, and issues no code\. A grant is refused with this name \(403\) while the account recorded as its owner is suspended\. This covers a transfer grant on the storage surface, an upload grant on the deploy command's progress read, and a secret grant on its one write\. The grant works again once the account is reinstated, if it has not expired\. On the egress surface, an egress key is refused with this name \(403\) while its owning account is suspended\. The platform operator restores the account\. On the support read surface, a consent and a read for a suspended account are refused with this name \(403\)\. The tzMesh site token route also refuses a suspended account with this name \(403\), and mints no token\.<br><br>On the dashboard picture surface, a current dashboard session for a suspended account is refused \(403\)\. | Ask the platform operator about reinstatement\. After reinstatement, sign in again if the prior session ended, or reconnect your tool, then retry\. A still\-live grant can work again within its scope after reinstatement\. |
| <a id="authentication_required-deploy_progress"></a>`authentication_required` | 401 | No credential resolved to an account\. The refusal is the usual challenge giving the protected\-resource metadata, at the internal resolve endpoint gate, or at the audience gate the router applies\. On the management and MCP surfaces, the detail says whether the connection presented no credential or presented one that resolved to no account\. Where the credential you presented has the form of a short\-lived grant and the platform has no grant of that value, the detail says the grant was not accepted\. On the support read surface, a consent or its end without a signed\-in support cookie, and a read without a live support read token, are refused with this name \(401\)\.<br><br>A page\-only action is refused with this name, without a `WWW-Authenticate` challenge, where no API cookie call is admitted\. No bearer can call that row\.<br><br>The sign\-in removal is also refused with this where Sign out everywhere ended the acting session's generation before the removal's transaction\. | For the support read, ask the visitor to sign in on the website and share their account in that support chat\. The website gives the support agent a live read token for the chat\. If the consent or stop\-sharing action was refused, sign in on the website and repeat the action there\.<br><br>Where no credential was presented, nothing was done\. Ask the person to sign in to Turn Zero: in Claude Code they type /mcp and choose the server, in Codex they finish the page the add line opened or run codex mcp login, and the Claude app offers it at the connector\. Then make the call again\.<br><br>The turnzero command has its own sign\-in, which a tool's sign\-in does not make\. A signed\-in tool chooses its deploy route with read\_documentation, page /cloud/getting\-started/ways\-to\-deploy/\. It authorizes the computer where the command is selected; where the command is unavailable, the tool uses deploy\_files within its caps and the upload route past them\. The person runs turnzero login only where no in\-tool route works, or to renew their own login\. A job presents a minted token or the credential the surface takes\.<br><br>Where the credential you presented resolved to no account, sign in again and make the call again\. On an application's routes, have the end user sign in again\.<br><br>Where a grant was not accepted, it expired and was removed, or its value was changed\. If the command or line a tool call returned had the grant, make that call again and run the fresh command it returns\. If your application requested the grant, request another\. On an application's routes, the serving router refused the request before it reached the application\. Test the application's own authentication branches in its offline tests or in a local run\.<br><br>For a page\-only act, sign in on this site and use its page\. A bearer credential does not admit the call\. |
| <a id="command_too_old-deploy_progress"></a>`command_too_old` | 426 | Your command is older than this plane serves\. The request's `User-Agent` opens with `turnzero-cloud/<version>` or `turnzero/<version>`, at a version below the floor this plane sets: the oldest command whose flows it still serves correctly\. The body gives the floor as `minimum_version`, beside `contract_version`\. The plane never refuses `revoke_token` this way, so an old command's `logout` still ends its token\. The command route of `sign_in_test_end_user` uses the plane's floor, 0\.37\.0, and returns that `minimum_version` for a lower version\. | Update an installed command with its install line, `npm install -g turnzero@<tag>`: the tag is `latest` on production and `next` on development\. Then run the line again\. Where the line runs through npx, take a fresh line from your tool's deploy\_command call, or run this line again once its tag points to the floor's version or a later one\. A line with one version's own tarball address runs only that version, so take a line with a newer one\. |
| <a id="insufficient_scope-deploy_progress"></a>`insufficient_scope` | 403 | The OAuth access credential is valid for this service but lacks the scope required by the protected call; the challenge states the required scope\. | Start the OAuth authorization again from your tool and request the scope the challenge gives\. Renewing the existing token does not add a scope\. |
| <a id="internal-deploy_progress"></a>`internal` | 500 | An unexpected error while responding\. Where the detail gives a reference, the error is recorded on the platform side under that reference\. The detail is a fixed sentence and never the error's own message\.<br><br>For sign\-in identity removal, failure ending the exchange's tokens before the removal removes no identity\. If ending them again fails after the transaction, the refusal is internal and the identities have been removed\. | For removal of a sign\-in method, read the detail first\. If no method was removed, request the removal again\. If the method was removed, sign in with a remaining method and use Sign out everywhere as directed\. The removal is complete\. If that control fails, report the failure and quote any reference the detail gives\.<br><br>For other calls, check what the detail says about the outcome\. Retry when the request is safe to repeat\. If the refusal repeats, report it and quote the reference its detail gives\. |
| <a id="invalid_request-deploy_progress"></a>`invalid_request` | not fixed | The input is malformed or missing, and the detail gives the member\. Or the input has a NUL \(U\+0000\) or an unpaired UTF\-16 surrogate, and the detail gives the character\. This is the generic validation refusal of every surface\. On a management action, it also refuses a call that gives a member the action does not declare\. The detail lists that member, a nested one by its path, and every member declared at that place\. Where that list would pass the detail's budget, the detail gives each place's member count instead and points to the action's reference page, which lists them\. It also refuses a body the surface could not read, or a path segment whose escape does not decode, in the surface's own form, repeating nothing from the request\. On `create_space`, it also refuses a `space` deleted within the last 35 days, while its deletion marker remains, and nothing is created\. At a request for the `tzmesh` resource, and at the completion of its sign\-in, it also refuses a browser's prefetch, which holds no confirmation\. On `deploy_files`, a list entry with `content` under a path segment the zip leaves out is refused with `kept` and `refused`\. Its `kept` lists the content entries kept and each entry by `sha256` alone whose file the platform holds and could read as the refusal was built; `refused` lists the entries refused\.<br><br>Over HTTP, a value outside a bound an action's reference states is refused `invalid_request`\. Over MCP, your client's or the SDK's argument check runs first\. A rule checked only by the handler draws `invalid_request` on either route\. On the payment event route, a missing, malformed, invalid or stale signature, an unreadable event, or an event in the other mode receives the same refusal and changes nothing\. The detail discloses no class or request content\.<br><br>On `set_database_size`, the size is not one of its four values, production already has the requested size, or a dedicated size was requested for a serverless application\. A serverless application's database stays `database-shared`\. Nothing changes\.<br><br>The usual validation status is \(400\)\. On the builder's Allow page, a confirmation posted from outside the sign\-in page's origin or without a recent sign\-in receives \(403\)\. Browser checks can also return \(403\) when you confirm or cancel an approval, open or sign in to a test account, or cancel a builder connection\. A provider callback that uses a method the route does not accept receives \(405\)\. | Correct the member the detail gives, or send a member the action declares in place of one it does not; the detail or the action's reference page lists them\. Or remove the character the detail identifies\. Then send the request again\. For a deleted space's identifier, pass another `space`, or leave it out and the platform chooses one\. A refused prefetch needs nothing: the request is served when the person opens it\.<br><br>For payment events, the payment provider sends this request\. The platform operator checks the provider's delivery record and the platform's refusal record\. The response gives the same detail for every payment\-event validation failure\.<br><br>For a 403 on a browser confirmation, return to your tool and sign in again\. Use the confirmation page in the same browser with a recent sign\-in\. For a 405 on a provider callback, use the method its detail gives\. The provider sends that callback\. |
| <a id="invalid_token-deploy_progress"></a>`invalid_token` | 401 | A protected call presents a credential that cannot authenticate to this service, and the WWW\-Authenticate header gives the standard OAuth error\. A missing credential gets no OAuth error parameter\. | For tool sign\-in, refresh the access token where available or sign in again\. For push or email, use the platform credential from the intended application's backend\. On a route that accepts an application\-bounded minted token, use one admitted by that route\. |
| <a id="progress_window_ended"></a>`progress_window_ended` | 403 | The deploy command read a deploy's progress under its started upload grant outside the read's window\. The window runs until five minutes after the deploy ends, and never past fifteen minutes after the start\. A grant has no window where its start was refused, or where a later preparing `deploy` call replaced its upload\. | With an account connection, use `read_status` for the application and the environment the deployment went to\. Use `wait_seconds` if the deploy is still running\. If you hold only the command's progress grant, give the application, environment and any upload or version number to the person monitoring the deploy\. |
| <a id="rate_capped-deploy_progress"></a>`rate_capped` | 429 | The request reached a limit on the count for its window\. The limit can be on an application's logging batches per minute or on a source address's client registrations per hour\. The control plane and the router's admission limits count requests in the current UTC minute\. A page view of the site counts in a page window of its own, six hundred a minute\. A call to read\_library on the actions route counts in a library window of its own, four thousand a minute\. A call to search\_documentation presenting no credential counts in a documentation search window of its own, one hundred and twenty a minute\. Where no separate window or exemption applies on the control plane, the source window counts six hundred requests a minute\. A signed\-in approval or dashboard arrival spends no source window\. Across the six gateway routes for storage, egress, logging, push, email, and job start, requests that resolve to the same credential share a limit of six hundred requests per UTC minute, even when they come from different source addresses\. For admission, each of these requests counts only toward the credential's limit\. A presented value there that resolves to no credential counts in a window of its own for the source, six hundred a minute, apart from the source window\. On those routes, a request through the edge whose source is at that bound is refused before its credential is looked up, unless the gateway already has that credential\. On the deploy command's progress read, a read under its upload's started grant counts in a window keyed on that grant's identity\. A read there that presents anything else counts in the source window, which once full refuses the source before any lookup\. At the control plane, the admission window's refusal includes Retry\-After, the seconds to the next minute\. The serving router counts requests to one application on each router replica in the current UTC minute\. Anonymous requests count against their source address\. Signed\-in requests count against both the user and a separate limit for the source address's signed\-in requests\. The refusal comes before the request reaches the application\. `Retry-After` gives the seconds to the next UTC minute\. A `request_route` or `write_route` call counts in one window of their own for the acting account, sixty a minute\. A `check_app_sign_in` call counts in a window of its own for the acting account, ten a minute, and the accounts service counts the checks of each realm in a window of its own, ten a minute\.<br><br>For the dashboard picture route, an arrival without a verified dashboard cookie and current session uses the source window; an admitted arrival counts in its account's own window, sixty reads a minute\. | If the response gives `Retry-After`, wait that many seconds and retry below the limit\. For a request or logging limit without that header, retry below the limit when the next UTC minute starts\. For client registrations, wait until the earliest registration in the hour leaves that window\. |
| <a id="store_unavailable-deploy_progress"></a>`store_unavailable` | 503 | The plane's database did not respond to the credential lookup the guard runs, so the request was not processed; retry it\. On the storage, egress, and logging wires, the same refusal comes where the gateway had no entry within its stale ceiling\. On submit\_manifest, the control store failed while the manifest's upstreams were written after its record\. A write the failure followed is taken back where it can be, the manifest stays recorded, and the detail lists the upstreams declared, those not, and any left over\. A failure while the realm member or the push entry's providers are recorded, after the upstreams, takes nothing back\. What was recorded remains, and the detail lists the realms, or the push configurations, done and those not\. On the start\-line route, the line was not stored, and the workflow posts it again\. | For a transient refusal before processing, retry after a short wait\. If `submit_manifest` was processed in part, resubmit the same manifest to finish declarations, realms and push configuration before the next deploy or promote\. If the detail says no status record is bound, report it to the platform operator so the binding can be restored\. |
| <a id="transfer_grant_not_admitted-deploy_progress"></a>`transfer_grant_not_admitted` | not fixed | The transfer grant object storage mints serves its one file act and is refused by name everywhere else \(403; a 401 challenge at the MCP server\)\. An export's download grant serves only `GET` of a file by its name: its export's own files, and its application's stored files created by the time its export listed them\. A stored file created later is refused with `no_such_file` under it, as an absent name is, and not with this refusal\. An older grant with no recorded time for its export's file list gives this refusal for a stored file outside the export's own folder\. Ask for a fresh grant\. A deploy upload's grant also serves its upload's one start on `deploy`, giving its own application, the environment its preparing call recorded, and upload\. After that start, it serves the deploy command's progress reads of its own deploy inside their window, and the progress read refuses by this name every other credential and that grant before its start\. | Present the grant only on the one file route it covers, PUT or GET /storage/v0/areas/\{area\}/files/\{name\}, in the direction it was minted for\. Under an export's download grant, read a file by its name, never a listing, the deploy area, or another application's area\. Where a stored file the export's manifest lists is refused by this name, call `request_export` with `download: true` again and run the line it returns\. For any other act, present the credential that surface accepts, for example a signed\-in session or a minted token on the management surface\. A deploy upload's grant starts only its own upload and then reads only that deploy's progress, as the turnzero command does under the grant its preparing `deploy` call returns\. To read a deploy under your own credential, call `read_status`\. |

## Workflow start

The platform's own start\-line route, which Turn Zero's scheduled hosted workflows call to record that a run started, presenting the run's identity token from GitHub, and which no customer calls\. A refusal is a JSON body of `contract_version`, `error`, and `detail`\.

| Refusal | Status | Cause | Remedy |
|---|---|---|---|
| <a id="internal-workflow_start"></a>`internal` | 500 | An unexpected error while responding\. Where the detail gives a reference, the error is recorded on the platform side under that reference\. The detail is a fixed sentence and never the error's own message\.<br><br>For sign\-in identity removal, failure ending the exchange's tokens before the removal removes no identity\. If ending them again fails after the transaction, the refusal is internal and the identities have been removed\. | For removal of a sign\-in method, read the detail first\. If no method was removed, request the removal again\. If the method was removed, sign in with a remaining method and use Sign out everywhere as directed\. The removal is complete\. If that control fails, report the failure and quote any reference the detail gives\.<br><br>For other calls, check what the detail says about the outcome\. Retry when the request is safe to repeat\. If the refusal repeats, report it and quote the reference its detail gives\. |
| <a id="invalid_request-workflow_start"></a>`invalid_request` | not fixed | The input is malformed or missing, and the detail gives the member\. Or the input has a NUL \(U\+0000\) or an unpaired UTF\-16 surrogate, and the detail gives the character\. This is the generic validation refusal of every surface\. On a management action, it also refuses a call that gives a member the action does not declare\. The detail lists that member, a nested one by its path, and every member declared at that place\. Where that list would pass the detail's budget, the detail gives each place's member count instead and points to the action's reference page, which lists them\. It also refuses a body the surface could not read, or a path segment whose escape does not decode, in the surface's own form, repeating nothing from the request\. On `create_space`, it also refuses a `space` deleted within the last 35 days, while its deletion marker remains, and nothing is created\. At a request for the `tzmesh` resource, and at the completion of its sign\-in, it also refuses a browser's prefetch, which holds no confirmation\. On `deploy_files`, a list entry with `content` under a path segment the zip leaves out is refused with `kept` and `refused`\. Its `kept` lists the content entries kept and each entry by `sha256` alone whose file the platform holds and could read as the refusal was built; `refused` lists the entries refused\.<br><br>Over HTTP, a value outside a bound an action's reference states is refused `invalid_request`\. Over MCP, your client's or the SDK's argument check runs first\. A rule checked only by the handler draws `invalid_request` on either route\. On the payment event route, a missing, malformed, invalid or stale signature, an unreadable event, or an event in the other mode receives the same refusal and changes nothing\. The detail discloses no class or request content\.<br><br>On `set_database_size`, the size is not one of its four values, production already has the requested size, or a dedicated size was requested for a serverless application\. A serverless application's database stays `database-shared`\. Nothing changes\.<br><br>The usual validation status is \(400\)\. On the builder's Allow page, a confirmation posted from outside the sign\-in page's origin or without a recent sign\-in receives \(403\)\. Browser checks can also return \(403\) when you confirm or cancel an approval, open or sign in to a test account, or cancel a builder connection\. A provider callback that uses a method the route does not accept receives \(405\)\. | Correct the member the detail gives, or send a member the action declares in place of one it does not; the detail or the action's reference page lists them\. Or remove the character the detail identifies\. Then send the request again\. For a deleted space's identifier, pass another `space`, or leave it out and the platform chooses one\. A refused prefetch needs nothing: the request is served when the person opens it\.<br><br>For payment events, the payment provider sends this request\. The platform operator checks the provider's delivery record and the platform's refusal record\. The response gives the same detail for every payment\-event validation failure\.<br><br>For a 403 on a browser confirmation, return to your tool and sign in again\. Use the confirmation page in the same browser with a recent sign\-in\. For a 405 on a provider callback, use the method its detail gives\. The provider sends that callback\. |
| <a id="not_configured-workflow_start"></a>`not_configured` | 503 | The platform\-internal resolve endpoint has no router resolve secret configured, or the serving router's invoke endpoint has no invoke secret configured\. On the start\-line route, a plane whose setting gives no repository, or that has no status record to write to, refuses every line with this before reading the token\. On the payment event route, the estate's provider settings are absent, incomplete or in different modes, so the route accepts no event\. | Nothing you do corrects this\. The platform's operator sets the missing secret or setting and restarts the services that read it\. |
| <a id="rate_capped-workflow_start"></a>`rate_capped` | 429 | The request reached a limit on the count for its window\. The limit can be on an application's logging batches per minute or on a source address's client registrations per hour\. The control plane and the router's admission limits count requests in the current UTC minute\. A page view of the site counts in a page window of its own, six hundred a minute\. A call to read\_library on the actions route counts in a library window of its own, four thousand a minute\. A call to search\_documentation presenting no credential counts in a documentation search window of its own, one hundred and twenty a minute\. Where no separate window or exemption applies on the control plane, the source window counts six hundred requests a minute\. A signed\-in approval or dashboard arrival spends no source window\. Across the six gateway routes for storage, egress, logging, push, email, and job start, requests that resolve to the same credential share a limit of six hundred requests per UTC minute, even when they come from different source addresses\. For admission, each of these requests counts only toward the credential's limit\. A presented value there that resolves to no credential counts in a window of its own for the source, six hundred a minute, apart from the source window\. On those routes, a request through the edge whose source is at that bound is refused before its credential is looked up, unless the gateway already has that credential\. On the deploy command's progress read, a read under its upload's started grant counts in a window keyed on that grant's identity\. A read there that presents anything else counts in the source window, which once full refuses the source before any lookup\. At the control plane, the admission window's refusal includes Retry\-After, the seconds to the next minute\. The serving router counts requests to one application on each router replica in the current UTC minute\. Anonymous requests count against their source address\. Signed\-in requests count against both the user and a separate limit for the source address's signed\-in requests\. The refusal comes before the request reaches the application\. `Retry-After` gives the seconds to the next UTC minute\. A `request_route` or `write_route` call counts in one window of their own for the acting account, sixty a minute\. A `check_app_sign_in` call counts in a window of its own for the acting account, ten a minute, and the accounts service counts the checks of each realm in a window of its own, ten a minute\.<br><br>For the dashboard picture route, an arrival without a verified dashboard cookie and current session uses the source window; an admitted arrival counts in its account's own window, sixty reads a minute\. | If the response gives `Retry-After`, wait that many seconds and retry below the limit\. For a request or logging limit without that header, retry below the limit when the next UTC minute starts\. For client registrations, wait until the earliest registration in the hour leaves that window\. |
| <a id="request_too_large-workflow_start"></a>`request_too_large` | 413 | The request is over the surface's request bound, or over the bound a transfer grant accepts\. On the builder sign\-in, a client registration's declared body is over 16 KiB\. On every surface, the serving router among them, a body over the bound the surface's parser reads is refused the same way, the detail giving that bound\. | Reduce the request body to the byte bound the refusal detail gives, then send it again\. Keep a storage upload within the size its transfer grant accepts, and keep a client registration at sign\-in at or under 16 KiB\. |
| <a id="store_unavailable-workflow_start"></a>`store_unavailable` | 503 | The plane's database did not respond to the credential lookup the guard runs, so the request was not processed; retry it\. On the storage, egress, and logging wires, the same refusal comes where the gateway had no entry within its stale ceiling\. On submit\_manifest, the control store failed while the manifest's upstreams were written after its record\. A write the failure followed is taken back where it can be, the manifest stays recorded, and the detail lists the upstreams declared, those not, and any left over\. A failure while the realm member or the push entry's providers are recorded, after the upstreams, takes nothing back\. What was recorded remains, and the detail lists the realms, or the push configurations, done and those not\. On the start\-line route, the line was not stored, and the workflow posts it again\. | For a transient refusal before processing, retry after a short wait\. If `submit_manifest` was processed in part, resubmit the same manifest to finish declarations, realms and push configuration before the next deploy or promote\. If the detail says no status record is bound, report it to the platform operator so the binding can be restored\. |
| <a id="workflow_keys_unavailable"></a>`workflow_keys_unavailable` | 503 | The start\-line route could not verify the run's token against GitHub's published key set, which could not be read or had no key of the token's key id yet\. So the line was not stored\. | Post the line again; the start\-line script retries once on its own\. |
| <a id="workflow_not_admitted"></a>`workflow_not_admitted` | 403 | The workflow token verified, but the start\-line route rejected its repository, owner, trunk ref or workflow file, or the job's recorded workflow differs from the calling workflow\. The detail identifies the failed check\. | Nothing you do corrects this for that run\. Only a run of a listed workflow file, in the repository the plane's setting gives and on its trunk, records a start\. |
| <a id="workflow_token_invalid"></a>`workflow_token_invalid` | 401 | The run's token did not verify: its signature, its algorithm \(only RS256\), its issuer, its audience, or its instants, read under the route's clock tolerance\. The detail gives the check\. | If the token expired or used a different audience, request a fresh token for the start\-line route's audience from the supported workflow\. For a repeated failure, give the workflow owner the failed check from the detail\. Keep the token out of the report\. |

## Support read

The support account read and the Questions page's chat under /api/v1/support/\. It covers the website's chat ids, a signed\-in visitor's consent and its end under the support cookie, the support agent's read of the shared account under the support read token, and the chat's message stream and turn read\. Each is a same\-origin JSON post from the page\. The support cookie is read where the browser holds one, and the bot check applies to a signed\-out chat's message on an estate that sets a bot check\.

| Refusal | Status | Cause | Remedy |
|---|---|---|---|
| <a id="account_suspended-support_read"></a>`account_suspended` | not fixed | The account is suspended\. On the management surface it is the account you act as \(403\), including for `run_job`\. On the router it is the account the served hostname belongs to \(503\)\. At the tunnel seat it is the calling application's account \(403\)\. On the builder sign\-in surface, a suspended account's sign\-in completion is refused with this name \(403\), whether it comes from a provider or a passkey\. That refusal creates no session, sets no cookie, and issues no code\. A grant is refused with this name \(403\) while the account recorded as its owner is suspended\. This covers a transfer grant on the storage surface, an upload grant on the deploy command's progress read, and a secret grant on its one write\. The grant works again once the account is reinstated, if it has not expired\. On the egress surface, an egress key is refused with this name \(403\) while its owning account is suspended\. The platform operator restores the account\. On the support read surface, a consent and a read for a suspended account are refused with this name \(403\)\. The tzMesh site token route also refuses a suspended account with this name \(403\), and mints no token\.<br><br>On the dashboard picture surface, a current dashboard session for a suspended account is refused \(403\)\. | Ask the platform operator about reinstatement\. After reinstatement, sign in again if the prior session ended, or reconnect your tool, then retry\. A still\-live grant can work again within its scope after reinstatement\. |
| <a id="authentication_required-support_read"></a>`authentication_required` | 401 | No credential resolved to an account\. The refusal is the usual challenge giving the protected\-resource metadata, at the internal resolve endpoint gate, or at the audience gate the router applies\. On the management and MCP surfaces, the detail says whether the connection presented no credential or presented one that resolved to no account\. Where the credential you presented has the form of a short\-lived grant and the platform has no grant of that value, the detail says the grant was not accepted\. On the support read surface, a consent or its end without a signed\-in support cookie, and a read without a live support read token, are refused with this name \(401\)\.<br><br>A page\-only action is refused with this name, without a `WWW-Authenticate` challenge, where no API cookie call is admitted\. No bearer can call that row\.<br><br>The sign\-in removal is also refused with this where Sign out everywhere ended the acting session's generation before the removal's transaction\. | For the support read, ask the visitor to sign in on the website and share their account in that support chat\. The website gives the support agent a live read token for the chat\. If the consent or stop\-sharing action was refused, sign in on the website and repeat the action there\.<br><br>Where no credential was presented, nothing was done\. Ask the person to sign in to Turn Zero: in Claude Code they type /mcp and choose the server, in Codex they finish the page the add line opened or run codex mcp login, and the Claude app offers it at the connector\. Then make the call again\.<br><br>The turnzero command has its own sign\-in, which a tool's sign\-in does not make\. A signed\-in tool chooses its deploy route with read\_documentation, page /cloud/getting\-started/ways\-to\-deploy/\. It authorizes the computer where the command is selected; where the command is unavailable, the tool uses deploy\_files within its caps and the upload route past them\. The person runs turnzero login only where no in\-tool route works, or to renew their own login\. A job presents a minted token or the credential the surface takes\.<br><br>Where the credential you presented resolved to no account, sign in again and make the call again\. On an application's routes, have the end user sign in again\.<br><br>Where a grant was not accepted, it expired and was removed, or its value was changed\. If the command or line a tool call returned had the grant, make that call again and run the fresh command it returns\. If your application requested the grant, request another\. On an application's routes, the serving router refused the request before it reached the application\. Test the application's own authentication branches in its offline tests or in a local run\.<br><br>For a page\-only act, sign in on this site and use its page\. A bearer credential does not admit the call\. |
| <a id="bot_check_failed"></a>`bot_check_failed` | 403 | A signed\-out visitor's message to the support chat carried no bot\-check token, or one the check did not pass, on an estate that sets a bot check\. The message was not sent to the support agent\. | Reload the Questions page and send the message again, so the page gets a fresh token, or sign in, since a signed\-in chat needs no check\. |
| <a id="chat_not_yours"></a>`chat_not_yours` | 403 | The chat in the consent, or in its end, was not started by the signed\-in account: it was started while signed out, or by another account, or the id is not a chat id this site made\. Nothing is shared or ended\. On the chat's message and turn posts, the chat id's signature holds neither for the signed\-in account nor for no account: a chat started while signed in whose sign\-in has since ended, or a forged id\. Nothing is sent\. | For a hand\-off, use the chat that owns the support token\. For a new message or new sharing request, start a chat you can access and act from that chat\. To end earlier consent, use the consent controls in the chat where you granted it\. |
| <a id="internal-support_read"></a>`internal` | 500 | An unexpected error while responding\. Where the detail gives a reference, the error is recorded on the platform side under that reference\. The detail is a fixed sentence and never the error's own message\.<br><br>For sign\-in identity removal, failure ending the exchange's tokens before the removal removes no identity\. If ending them again fails after the transaction, the refusal is internal and the identities have been removed\. | For removal of a sign\-in method, read the detail first\. If no method was removed, request the removal again\. If the method was removed, sign in with a remaining method and use Sign out everywhere as directed\. The removal is complete\. If that control fails, report the failure and quote any reference the detail gives\.<br><br>For other calls, check what the detail says about the outcome\. Retry when the request is safe to repeat\. If the refusal repeats, report it and quote the reference its detail gives\. |
| <a id="invalid_request-support_read"></a>`invalid_request` | not fixed | The input is malformed or missing, and the detail gives the member\. Or the input has a NUL \(U\+0000\) or an unpaired UTF\-16 surrogate, and the detail gives the character\. This is the generic validation refusal of every surface\. On a management action, it also refuses a call that gives a member the action does not declare\. The detail lists that member, a nested one by its path, and every member declared at that place\. Where that list would pass the detail's budget, the detail gives each place's member count instead and points to the action's reference page, which lists them\. It also refuses a body the surface could not read, or a path segment whose escape does not decode, in the surface's own form, repeating nothing from the request\. On `create_space`, it also refuses a `space` deleted within the last 35 days, while its deletion marker remains, and nothing is created\. At a request for the `tzmesh` resource, and at the completion of its sign\-in, it also refuses a browser's prefetch, which holds no confirmation\. On `deploy_files`, a list entry with `content` under a path segment the zip leaves out is refused with `kept` and `refused`\. Its `kept` lists the content entries kept and each entry by `sha256` alone whose file the platform holds and could read as the refusal was built; `refused` lists the entries refused\.<br><br>Over HTTP, a value outside a bound an action's reference states is refused `invalid_request`\. Over MCP, your client's or the SDK's argument check runs first\. A rule checked only by the handler draws `invalid_request` on either route\. On the payment event route, a missing, malformed, invalid or stale signature, an unreadable event, or an event in the other mode receives the same refusal and changes nothing\. The detail discloses no class or request content\.<br><br>On `set_database_size`, the size is not one of its four values, production already has the requested size, or a dedicated size was requested for a serverless application\. A serverless application's database stays `database-shared`\. Nothing changes\.<br><br>The usual validation status is \(400\)\. On the builder's Allow page, a confirmation posted from outside the sign\-in page's origin or without a recent sign\-in receives \(403\)\. Browser checks can also return \(403\) when you confirm or cancel an approval, open or sign in to a test account, or cancel a builder connection\. A provider callback that uses a method the route does not accept receives \(405\)\. | Correct the member the detail gives, or send a member the action declares in place of one it does not; the detail or the action's reference page lists them\. Or remove the character the detail identifies\. Then send the request again\. For a deleted space's identifier, pass another `space`, or leave it out and the platform chooses one\. A refused prefetch needs nothing: the request is served when the person opens it\.<br><br>For payment events, the payment provider sends this request\. The platform operator checks the provider's delivery record and the platform's refusal record\. The response gives the same detail for every payment\-event validation failure\.<br><br>For a 403 on a browser confirmation, return to your tool and sign in again\. Use the confirmation page in the same browser with a recent sign\-in\. For a 405 on a provider callback, use the method its detail gives\. The provider sends that callback\. |
| <a id="not_found-support_read"></a>`not_found` | 404 | You gave a pending action, secret, operated account, token, connection, realm action's invitation, synthetic purge, or export that does not exist or is not yours \(the contract for the invitation; the contract for the connection\)\. For clear\_development\_database, the application you gave has no development database\. For query\_database, the environment you gave has no database\. For request\_export with download: true, the export's files are no longer in its export area\. For the four feedback actions, the `space` you gave is no issue space your account has, refused before any token is read\. On the realm surface, the session a revocation from the session list gives is no live session of the signed\-in end user\. On the device routes, the installation identifier matches no registration of the signed\-in user\. On the push surface, the request uses a path or a method under /push/v0 other than POST /push/v0/messages\. On the realm surface, the request uses a path or a method under /\_\_account/ that no realm route serves, the OpenID Connect discovery path among them\. For a staff read of a synthetic account's state, the `account` you gave is an id that belongs to no account, under `super_admin`\.<br><br>The dashboard picture route is unconfigured, the dashboard session does not verify, or the account has no tzMesh profile, person or picture\.<br><br>On the serving router, the serving serverless version has no file or function for the requested path and method\. A pool response can also report that its loaded version has no function for the path\. Nothing was run\.<br><br>On `set_database_size` or `restore_database`, the application has no production database: no database kind is declared, or no version has been promoted to production\. Nothing changes\. | Check the identifier against the listing for its kind: list\_secrets, list\_tokens, or list\_invitations\. For a pending action, a purge, an export, or a seeded or first\-sign\-in account, check it against the id an earlier response returned\. Then repeat the request with an identifier that belongs to your account\. For the feedback actions, pass a space that list\_issue\_spaces or submit\_manifest's receipt returns, or leave `space` out for the platform's own space\. On the realm surface, read the session list at GET /\_\_account/sessions and pass an id it returns\. For clear\_development\_database there is nothing to clear: a development database exists once a submitted manifest declares the database kind\. For query\_database there is nothing to read: an environment's database exists once a submitted manifest declares the database kind\. For a path no realm route serves, read the realm's endpoints at /\.well\-known/oauth\-authorization\-server on the hostname, which is served where the realm declares a client\.<br><br>For a support deployed\-files read, check whether the requested serving or previous version exists\. If the response says its image is no longer kept, tell the person that version's deployed files are unavailable\. If only the path is missing, list that version's deployed files and choose a path it returns\. For a support issue\-space read, choose a space the shared account holds and the support read covers\.<br><br>On the push surface, check the documented request method and path\.<br><br>The dashboard picture route takes no identifier\. Sign in if needed; without a picture, use initials\.<br><br>For a serverless route, check the path and method against the serving version's client files and functions\. Deploy missing code or files, or use a path that version serves\. |
| <a id="rate_capped-support_read"></a>`rate_capped` | 429 | The request reached a limit on the count for its window\. The limit can be on an application's logging batches per minute or on a source address's client registrations per hour\. The control plane and the router's admission limits count requests in the current UTC minute\. A page view of the site counts in a page window of its own, six hundred a minute\. A call to read\_library on the actions route counts in a library window of its own, four thousand a minute\. A call to search\_documentation presenting no credential counts in a documentation search window of its own, one hundred and twenty a minute\. Where no separate window or exemption applies on the control plane, the source window counts six hundred requests a minute\. A signed\-in approval or dashboard arrival spends no source window\. Across the six gateway routes for storage, egress, logging, push, email, and job start, requests that resolve to the same credential share a limit of six hundred requests per UTC minute, even when they come from different source addresses\. For admission, each of these requests counts only toward the credential's limit\. A presented value there that resolves to no credential counts in a window of its own for the source, six hundred a minute, apart from the source window\. On those routes, a request through the edge whose source is at that bound is refused before its credential is looked up, unless the gateway already has that credential\. On the deploy command's progress read, a read under its upload's started grant counts in a window keyed on that grant's identity\. A read there that presents anything else counts in the source window, which once full refuses the source before any lookup\. At the control plane, the admission window's refusal includes Retry\-After, the seconds to the next minute\. The serving router counts requests to one application on each router replica in the current UTC minute\. Anonymous requests count against their source address\. Signed\-in requests count against both the user and a separate limit for the source address's signed\-in requests\. The refusal comes before the request reaches the application\. `Retry-After` gives the seconds to the next UTC minute\. A `request_route` or `write_route` call counts in one window of their own for the acting account, sixty a minute\. A `check_app_sign_in` call counts in a window of its own for the acting account, ten a minute, and the accounts service counts the checks of each realm in a window of its own, ten a minute\.<br><br>For the dashboard picture route, an arrival without a verified dashboard cookie and current session uses the source window; an admitted arrival counts in its account's own window, sixty reads a minute\. | If the response gives `Retry-After`, wait that many seconds and retry below the limit\. For a request or logging limit without that header, retry below the limit when the next UTC minute starts\. For client registrations, wait until the earliest registration in the hour leaves that window\. |
| <a id="support_read_rate_capped"></a>`support_read_rate_capped` | 429 | A support read token read the shared account more than 30 times in this minute, or the chat 600 times in the last 60 minutes across its tokens\. The read was not made, it did not count against the chat's hour, and the refusal is recorded under the token\. | Wait the seconds in Retry\-After, the time to the next minute or until enough of the chat's reads leave the last 60 minutes, then read again\. |
| <a id="support_unavailable"></a>`support_unavailable` | 503 | The support step you tried is unavailable\. This can happen when you share account access, start a chat, rate an answer, ask to hand off to a person or perform a support read\. If sharing account access was refused, no access was granted\. | Ask the question without sharing account access, or try again later\. If handing the matter to a person is unavailable, give the account owner the support address so they can write directly\. |
| <a id="support_unreachable"></a>`support_unreachable` | 502 | Support could not be reached for an account share, a chat message or an answer rating\. If support does not take shared access within 5 seconds, the platform revokes the token and shares nothing\. | If sharing account access failed, the grant was revoked and nothing was shared\. You can try Share again\. If sending a message or rating an answer failed, check the chat for the message or rating before repeating the step\. If you cannot tell whether it reached support, report the failure without sending the same message or rating again\. |

## Account mail

The platform's account mail route, which admits an operated application's production credential or a company service's sender key to email an account, and which no customer calls\. A refusal's body holds at least `contract_version`, `error`, and `detail`\.

| Refusal | Status | Cause | Remedy |
|---|---|---|---|
| <a id="account_mail_production_only"></a>`account_mail_production_only` | 403 | The issue service's development environment asked the account mail route to send\. An operated application must use its production credential, so nothing was sent\. | Stop retrying this send from development\. If it is an intended production send, give it to the owner of the operated application to run through its authorized production mail path\. A development request sends no mail on this route\. |
| <a id="account_suspended-account_mail"></a>`account_suspended` | not fixed | The account is suspended\. On the management surface it is the account you act as \(403\), including for `run_job`\. On the router it is the account the served hostname belongs to \(503\)\. At the tunnel seat it is the calling application's account \(403\)\. On the builder sign\-in surface, a suspended account's sign\-in completion is refused with this name \(403\), whether it comes from a provider or a passkey\. That refusal creates no session, sets no cookie, and issues no code\. A grant is refused with this name \(403\) while the account recorded as its owner is suspended\. This covers a transfer grant on the storage surface, an upload grant on the deploy command's progress read, and a secret grant on its one write\. The grant works again once the account is reinstated, if it has not expired\. On the egress surface, an egress key is refused with this name \(403\) while its owning account is suspended\. The platform operator restores the account\. On the support read surface, a consent and a read for a suspended account are refused with this name \(403\)\. The tzMesh site token route also refuses a suspended account with this name \(403\), and mints no token\.<br><br>On the dashboard picture surface, a current dashboard session for a suspended account is refused \(403\)\. | Ask the platform operator about reinstatement\. After reinstatement, sign in again if the prior session ended, or reconnect your tool, then retry\. A still\-live grant can work again within its scope after reinstatement\. |
| <a id="authentication_required-account_mail"></a>`authentication_required` | 401 | No credential resolved to an account\. The refusal is the usual challenge giving the protected\-resource metadata, at the internal resolve endpoint gate, or at the audience gate the router applies\. On the management and MCP surfaces, the detail says whether the connection presented no credential or presented one that resolved to no account\. Where the credential you presented has the form of a short\-lived grant and the platform has no grant of that value, the detail says the grant was not accepted\. On the support read surface, a consent or its end without a signed\-in support cookie, and a read without a live support read token, are refused with this name \(401\)\.<br><br>A page\-only action is refused with this name, without a `WWW-Authenticate` challenge, where no API cookie call is admitted\. No bearer can call that row\.<br><br>The sign\-in removal is also refused with this where Sign out everywhere ended the acting session's generation before the removal's transaction\. | For the support read, ask the visitor to sign in on the website and share their account in that support chat\. The website gives the support agent a live read token for the chat\. If the consent or stop\-sharing action was refused, sign in on the website and repeat the action there\.<br><br>Where no credential was presented, nothing was done\. Ask the person to sign in to Turn Zero: in Claude Code they type /mcp and choose the server, in Codex they finish the page the add line opened or run codex mcp login, and the Claude app offers it at the connector\. Then make the call again\.<br><br>The turnzero command has its own sign\-in, which a tool's sign\-in does not make\. A signed\-in tool chooses its deploy route with read\_documentation, page /cloud/getting\-started/ways\-to\-deploy/\. It authorizes the computer where the command is selected; where the command is unavailable, the tool uses deploy\_files within its caps and the upload route past them\. The person runs turnzero login only where no in\-tool route works, or to renew their own login\. A job presents a minted token or the credential the surface takes\.<br><br>Where the credential you presented resolved to no account, sign in again and make the call again\. On an application's routes, have the end user sign in again\.<br><br>Where a grant was not accepted, it expired and was removed, or its value was changed\. If the command or line a tool call returned had the grant, make that call again and run the fresh command it returns\. If your application requested the grant, request another\. On an application's routes, the serving router refused the request before it reached the application\. Test the application's own authentication branches in its offline tests or in a local run\.<br><br>For a page\-only act, sign in on this site and use its page\. A bearer credential does not admit the call\. |
| <a id="email_limit_reached-account_mail"></a>`email_limit_reached` | 429 | A send would take your application's recipients past its size's quantity for the UTC hour or the UTC day, both environments counted together\. The body gives period, used, quota, requested, and resets\_at, the first instant of the next period\. Nothing was queued, and the counts are unchanged\. | Wait for the instant resets\_at gives, then send again\. For more volume, send through your own provider key on a declared egress upstream\. |
| <a id="email_not_declared-account_mail"></a>`email_not_declared` | 409 | Your application sent email, but its recorded manifest declares no email service\. Nothing was queued\. | Add \{"kind": "email"\} to the manifest's services and resubmit it with submit\_manifest, then send again\. |
| <a id="environment_mismatch-account_mail"></a>`environment_mismatch` | 403 | The credential fixes the request's environment, and the request gave another one\. A platform credential fixes its bound environment, a transfer grant the one it was minted in, and an egress key its own on the keyed route\. The other environment came in the x\-turnzero\-cloud\-environment header, or in the body member environment on a log batch or the verification route\. Under any other credential, the header and that body member gave different environments\. | Make the `x-turnzero-cloud-environment` header and the body's `environment` agree when you send both\. Each must also match any environment the credential binds\. To reach another environment, use its platform credential\. Where the route admits an unbound minted token, give the intended environment in the header, or in the body's `environment` where the route accepts it\. |
| <a id="insufficient_scope-account_mail"></a>`insufficient_scope` | 403 | The OAuth access credential is valid for this service but lacks the scope required by the protected call; the challenge states the required scope\. | Start the OAuth authorization again from your tool and request the scope the challenge gives\. Renewing the existing token does not add a scope\. |
| <a id="internal-account_mail"></a>`internal` | 500 | An unexpected error while responding\. Where the detail gives a reference, the error is recorded on the platform side under that reference\. The detail is a fixed sentence and never the error's own message\.<br><br>For sign\-in identity removal, failure ending the exchange's tokens before the removal removes no identity\. If ending them again fails after the transaction, the refusal is internal and the identities have been removed\. | For removal of a sign\-in method, read the detail first\. If no method was removed, request the removal again\. If the method was removed, sign in with a remaining method and use Sign out everywhere as directed\. The removal is complete\. If that control fails, report the failure and quote any reference the detail gives\.<br><br>For other calls, check what the detail says about the outcome\. Retry when the request is safe to repeat\. If the refusal repeats, report it and quote the reference its detail gives\. |
| <a id="invalid_request-account_mail"></a>`invalid_request` | not fixed | The input is malformed or missing, and the detail gives the member\. Or the input has a NUL \(U\+0000\) or an unpaired UTF\-16 surrogate, and the detail gives the character\. This is the generic validation refusal of every surface\. On a management action, it also refuses a call that gives a member the action does not declare\. The detail lists that member, a nested one by its path, and every member declared at that place\. Where that list would pass the detail's budget, the detail gives each place's member count instead and points to the action's reference page, which lists them\. It also refuses a body the surface could not read, or a path segment whose escape does not decode, in the surface's own form, repeating nothing from the request\. On `create_space`, it also refuses a `space` deleted within the last 35 days, while its deletion marker remains, and nothing is created\. At a request for the `tzmesh` resource, and at the completion of its sign\-in, it also refuses a browser's prefetch, which holds no confirmation\. On `deploy_files`, a list entry with `content` under a path segment the zip leaves out is refused with `kept` and `refused`\. Its `kept` lists the content entries kept and each entry by `sha256` alone whose file the platform holds and could read as the refusal was built; `refused` lists the entries refused\.<br><br>Over HTTP, a value outside a bound an action's reference states is refused `invalid_request`\. Over MCP, your client's or the SDK's argument check runs first\. A rule checked only by the handler draws `invalid_request` on either route\. On the payment event route, a missing, malformed, invalid or stale signature, an unreadable event, or an event in the other mode receives the same refusal and changes nothing\. The detail discloses no class or request content\.<br><br>On `set_database_size`, the size is not one of its four values, production already has the requested size, or a dedicated size was requested for a serverless application\. A serverless application's database stays `database-shared`\. Nothing changes\.<br><br>The usual validation status is \(400\)\. On the builder's Allow page, a confirmation posted from outside the sign\-in page's origin or without a recent sign\-in receives \(403\)\. Browser checks can also return \(403\) when you confirm or cancel an approval, open or sign in to a test account, or cancel a builder connection\. A provider callback that uses a method the route does not accept receives \(405\)\. | Correct the member the detail gives, or send a member the action declares in place of one it does not; the detail or the action's reference page lists them\. Or remove the character the detail identifies\. Then send the request again\. For a deleted space's identifier, pass another `space`, or leave it out and the platform chooses one\. A refused prefetch needs nothing: the request is served when the person opens it\.<br><br>For payment events, the payment provider sends this request\. The platform operator checks the provider's delivery record and the platform's refusal record\. The response gives the same detail for every payment\-event validation failure\.<br><br>For a 403 on a browser confirmation, return to your tool and sign in again\. Use the confirmation page in the same browser with a recent sign\-in\. For a 405 on a provider callback, use the method its detail gives\. The provider sends that callback\. |
| <a id="invalid_token-account_mail"></a>`invalid_token` | 401 | A protected call presents a credential that cannot authenticate to this service, and the WWW\-Authenticate header gives the standard OAuth error\. A missing credential gets no OAuth error parameter\. | For tool sign\-in, refresh the access token where available or sign in again\. For push or email, use the platform credential from the intended application's backend\. On a route that accepts an application\-bounded minted token, use one admitted by that route\. |
| <a id="misdirected_origin-account_mail"></a>`misdirected_origin` | 421 | Your request reached a public service without going through the platform's edge\. Behind the edge, every request must include the edge's profile identifier in its identifier header, and a forwarded host and scheme equal to the configured origin\. A request that does not is refused before any route runs\. The detail gives the forwarded host and scheme the service saw\. A request from an address of a hosting cell is refused the same way even when it has the identifier, and its detail gives that address\. The health reads, and the sign\-in requests the platform's serving router forwards for an application's end\-user realm, are exempt\. The check is off where no edge profile identifier is configured\. Where an estate sets a REST host, that host serves its own API path and nothing else, and that path is refused under any other host, the public origin among them; this holds with or without an edge profile identifier\. | Send the request through the platform's edge to the public origin the detail gives, <https://turnzero.ai> on production, and not to a service's own hostname\. The detail also gives the host and scheme the service saw\. Where the detail gives a REST host's address, call that address\. |
| <a id="no_address"></a>`no_address` | 409 | The account holds no verified address, so nothing was queued\. | Add a verified address to the account, then send again\. |
| <a id="no_such_application-account_mail"></a>`no_such_application` | 404 | The application is not in the acting account\. `set_database_size` and `restore_database` use this name where the account has no live application with that ID\. No move starts\. | If a platform credential identified the application, stop retrying and tell the application owner\. The credential is for an application that the acting account no longer holds\. There is no application ID to correct in the request\.<br><br>If an account\-mail sender entry identified the application, stop retrying and tell whoever manages that sender entry\. The entry points to an application that no longer exists\.<br><br>If the request gave an application id, check it against `list_applications` using an admitted management connection\. If you lack that connection, ask the application owner to check the id\. The turnzero command's computer\-token refusal also gives the acting account\. An id belonging to another account can be refused as `application_other_account`\. |
| <a id="not_found-account_mail"></a>`not_found` | 404 | You gave a pending action, secret, operated account, token, connection, realm action's invitation, synthetic purge, or export that does not exist or is not yours \(the contract for the invitation; the contract for the connection\)\. For clear\_development\_database, the application you gave has no development database\. For query\_database, the environment you gave has no database\. For request\_export with download: true, the export's files are no longer in its export area\. For the four feedback actions, the `space` you gave is no issue space your account has, refused before any token is read\. On the realm surface, the session a revocation from the session list gives is no live session of the signed\-in end user\. On the device routes, the installation identifier matches no registration of the signed\-in user\. On the push surface, the request uses a path or a method under /push/v0 other than POST /push/v0/messages\. On the realm surface, the request uses a path or a method under /\_\_account/ that no realm route serves, the OpenID Connect discovery path among them\. For a staff read of a synthetic account's state, the `account` you gave is an id that belongs to no account, under `super_admin`\.<br><br>The dashboard picture route is unconfigured, the dashboard session does not verify, or the account has no tzMesh profile, person or picture\.<br><br>On the serving router, the serving serverless version has no file or function for the requested path and method\. A pool response can also report that its loaded version has no function for the path\. Nothing was run\.<br><br>On `set_database_size` or `restore_database`, the application has no production database: no database kind is declared, or no version has been promoted to production\. Nothing changes\. | Check the identifier against the listing for its kind: list\_secrets, list\_tokens, or list\_invitations\. For a pending action, a purge, an export, or a seeded or first\-sign\-in account, check it against the id an earlier response returned\. Then repeat the request with an identifier that belongs to your account\. For the feedback actions, pass a space that list\_issue\_spaces or submit\_manifest's receipt returns, or leave `space` out for the platform's own space\. On the realm surface, read the session list at GET /\_\_account/sessions and pass an id it returns\. For clear\_development\_database there is nothing to clear: a development database exists once a submitted manifest declares the database kind\. For query\_database there is nothing to read: an environment's database exists once a submitted manifest declares the database kind\. For a path no realm route serves, read the realm's endpoints at /\.well\-known/oauth\-authorization\-server on the hostname, which is served where the realm declares a client\.<br><br>For a support deployed\-files read, check whether the requested serving or previous version exists\. If the response says its image is no longer kept, tell the person that version's deployed files are unavailable\. If only the path is missing, list that version's deployed files and choose a path it returns\. For a support issue\-space read, choose a space the shared account holds and the support read covers\.<br><br>On the push surface, check the documented request method and path\.<br><br>The dashboard picture route takes no identifier\. Sign in if needed; without a picture, use initials\.<br><br>For a serverless route, check the path and method against the serving version's client files and functions\. Deploy missing code or files, or use a path that version serves\. |
| <a id="plan_quantity_unset-account_mail"></a>`plan_quantity_unset` | 409 | The size's served quantity, or the unlimited plan's quantity, is Unset\. An Unset quantity is no row, or a row with no quantity, in the served quota table\. It is never read as zero, unlimited, or a default\. The refusal gives the quota key and measure\. It can refuse create\_application with that size, set\_app\_size onto it, database provisioning, and submit\_manifest declaring a schedule\. It also refuses deploy, promote, roll\_back and restart\_application before adding a version where the application's environment has a database\.<br><br>Push sends and email sends refuse for an unset quantity; for a size, email reads the hour and day cells\. An allowance call on the egress surface can refuse for an application on the unlimited plan, never for a size\.<br><br>The operator's placement on the unlimited plan refuses where a row for any entry Pro sets is absent or Unset, a served value's among them\. A served value's own reader reads an absent row as its default or as no bound\. The operator sets the quantity and records the pricing\-registry cell\. | Nothing you do sets the quantity\. Ask the platform operator to set the quantity for the quota key and measure the refusal gives, then repeat the request\. |
| <a id="rate_capped-account_mail"></a>`rate_capped` | 429 | The request reached a limit on the count for its window\. The limit can be on an application's logging batches per minute or on a source address's client registrations per hour\. The control plane and the router's admission limits count requests in the current UTC minute\. A page view of the site counts in a page window of its own, six hundred a minute\. A call to read\_library on the actions route counts in a library window of its own, four thousand a minute\. A call to search\_documentation presenting no credential counts in a documentation search window of its own, one hundred and twenty a minute\. Where no separate window or exemption applies on the control plane, the source window counts six hundred requests a minute\. A signed\-in approval or dashboard arrival spends no source window\. Across the six gateway routes for storage, egress, logging, push, email, and job start, requests that resolve to the same credential share a limit of six hundred requests per UTC minute, even when they come from different source addresses\. For admission, each of these requests counts only toward the credential's limit\. A presented value there that resolves to no credential counts in a window of its own for the source, six hundred a minute, apart from the source window\. On those routes, a request through the edge whose source is at that bound is refused before its credential is looked up, unless the gateway already has that credential\. On the deploy command's progress read, a read under its upload's started grant counts in a window keyed on that grant's identity\. A read there that presents anything else counts in the source window, which once full refuses the source before any lookup\. At the control plane, the admission window's refusal includes Retry\-After, the seconds to the next minute\. The serving router counts requests to one application on each router replica in the current UTC minute\. Anonymous requests count against their source address\. Signed\-in requests count against both the user and a separate limit for the source address's signed\-in requests\. The refusal comes before the request reaches the application\. `Retry-After` gives the seconds to the next UTC minute\. A `request_route` or `write_route` call counts in one window of their own for the acting account, sixty a minute\. A `check_app_sign_in` call counts in a window of its own for the acting account, ten a minute, and the accounts service counts the checks of each realm in a window of its own, ten a minute\.<br><br>For the dashboard picture route, an arrival without a verified dashboard cookie and current session uses the source window; an admitted arrival counts in its account's own window, sixty reads a minute\. | If the response gives `Retry-After`, wait that many seconds and retry below the limit\. For a request or logging limit without that header, retry below the limit when the next UTC minute starts\. For client registrations, wait until the earliest registration in the hour leaves that window\. |
| <a id="request_too_large-account_mail"></a>`request_too_large` | 413 | The request is over the surface's request bound, or over the bound a transfer grant accepts\. On the builder sign\-in, a client registration's declared body is over 16 KiB\. On every surface, the serving router among them, a body over the bound the surface's parser reads is refused the same way, the detail giving that bound\. | Reduce the request body to the byte bound the refusal detail gives, then send it again\. Keep a storage upload within the size its transfer grant accepts, and keep a client registration at sign\-in at or under 16 KiB\. |
| <a id="retired_host-account_mail"></a>`retired_host` | 421 | The hostname you sent the request to is one the platform retired\. The request is refused before any route runs, and the detail gives the current address\. A client that still uses the old name fails with a clear reason instead of working on it unnoticed\. | Change the address your client uses to the current address the detail gives, then send the request again\. |
| <a id="store_unavailable-account_mail"></a>`store_unavailable` | 503 | The plane's database did not respond to the credential lookup the guard runs, so the request was not processed; retry it\. On the storage, egress, and logging wires, the same refusal comes where the gateway had no entry within its stale ceiling\. On submit\_manifest, the control store failed while the manifest's upstreams were written after its record\. A write the failure followed is taken back where it can be, the manifest stays recorded, and the detail lists the upstreams declared, those not, and any left over\. A failure while the realm member or the push entry's providers are recorded, after the upstreams, takes nothing back\. What was recorded remains, and the detail lists the realms, or the push configurations, done and those not\. On the start\-line route, the line was not stored, and the workflow posts it again\. | For a transient refusal before processing, retry after a short wait\. If `submit_manifest` was processed in part, resubmit the same manifest to finish declarations, realms and push configuration before the next deploy or promote\. If the detail says no status record is bound, report it to the platform operator so the binding can be restored\. |

## Dashboard picture

The signed\-in account's picture read at GET /dashboard/account\-picture\. Ordinary refusals carry JSON error and detail\. Admission's rate\_capped also carries contract\_version: 1\. A thrown error returns a 500 HTML failure page, outside this catalogue's refusals\.

| Refusal | Status | Cause | Remedy |
|---|---|---|---|
| <a id="account_picture_not_yet_served-dashboard_picture"></a>`account_picture_not_yet_served` | 403 | The estate's `account_picture` setting reads `off`\. The accounts service mints no token and spends no ticket\. The dashboard picture route and the three page\-only picture actions stop before any ticket, token request or tzMesh call\. | Nothing you do enables account pictures\. The platform operator enables the setting when the estate serves them\. |
| <a id="account_picture_unavailable-dashboard_picture"></a>`account_picture_unavailable` | 503 | The signed\-in account's picture read or picture action could not finish\. A token request, relay call or image\-byte request stopped short; `detail` identifies the step or stage with a short reason\. A stopped act may already have registered a person or stored an image, or left its outcome unconfirmed\. | For generation, retry with the same request\_id and prompt to check the original run\. After an upload or removal refusal, check the current account picture before retrying\. If a read fails again, report the short detail to support\. |
| <a id="account_suspended-dashboard_picture"></a>`account_suspended` | not fixed | The account is suspended\. On the management surface it is the account you act as \(403\), including for `run_job`\. On the router it is the account the served hostname belongs to \(503\)\. At the tunnel seat it is the calling application's account \(403\)\. On the builder sign\-in surface, a suspended account's sign\-in completion is refused with this name \(403\), whether it comes from a provider or a passkey\. That refusal creates no session, sets no cookie, and issues no code\. A grant is refused with this name \(403\) while the account recorded as its owner is suspended\. This covers a transfer grant on the storage surface, an upload grant on the deploy command's progress read, and a secret grant on its one write\. The grant works again once the account is reinstated, if it has not expired\. On the egress surface, an egress key is refused with this name \(403\) while its owning account is suspended\. The platform operator restores the account\. On the support read surface, a consent and a read for a suspended account are refused with this name \(403\)\. The tzMesh site token route also refuses a suspended account with this name \(403\), and mints no token\.<br><br>On the dashboard picture surface, a current dashboard session for a suspended account is refused \(403\)\. | Ask the platform operator about reinstatement\. After reinstatement, sign in again if the prior session ended, or reconnect your tool, then retry\. A still\-live grant can work again within its scope after reinstatement\. |
| <a id="not_found-dashboard_picture"></a>`not_found` | 404 | You gave a pending action, secret, operated account, token, connection, realm action's invitation, synthetic purge, or export that does not exist or is not yours \(the contract for the invitation; the contract for the connection\)\. For clear\_development\_database, the application you gave has no development database\. For query\_database, the environment you gave has no database\. For request\_export with download: true, the export's files are no longer in its export area\. For the four feedback actions, the `space` you gave is no issue space your account has, refused before any token is read\. On the realm surface, the session a revocation from the session list gives is no live session of the signed\-in end user\. On the device routes, the installation identifier matches no registration of the signed\-in user\. On the push surface, the request uses a path or a method under /push/v0 other than POST /push/v0/messages\. On the realm surface, the request uses a path or a method under /\_\_account/ that no realm route serves, the OpenID Connect discovery path among them\. For a staff read of a synthetic account's state, the `account` you gave is an id that belongs to no account, under `super_admin`\.<br><br>The dashboard picture route is unconfigured, the dashboard session does not verify, or the account has no tzMesh profile, person or picture\.<br><br>On the serving router, the serving serverless version has no file or function for the requested path and method\. A pool response can also report that its loaded version has no function for the path\. Nothing was run\.<br><br>On `set_database_size` or `restore_database`, the application has no production database: no database kind is declared, or no version has been promoted to production\. Nothing changes\. | Check the identifier against the listing for its kind: list\_secrets, list\_tokens, or list\_invitations\. For a pending action, a purge, an export, or a seeded or first\-sign\-in account, check it against the id an earlier response returned\. Then repeat the request with an identifier that belongs to your account\. For the feedback actions, pass a space that list\_issue\_spaces or submit\_manifest's receipt returns, or leave `space` out for the platform's own space\. On the realm surface, read the session list at GET /\_\_account/sessions and pass an id it returns\. For clear\_development\_database there is nothing to clear: a development database exists once a submitted manifest declares the database kind\. For query\_database there is nothing to read: an environment's database exists once a submitted manifest declares the database kind\. For a path no realm route serves, read the realm's endpoints at /\.well\-known/oauth\-authorization\-server on the hostname, which is served where the realm declares a client\.<br><br>For a support deployed\-files read, check whether the requested serving or previous version exists\. If the response says its image is no longer kept, tell the person that version's deployed files are unavailable\. If only the path is missing, list that version's deployed files and choose a path it returns\. For a support issue\-space read, choose a space the shared account holds and the support read covers\.<br><br>On the push surface, check the documented request method and path\.<br><br>The dashboard picture route takes no identifier\. Sign in if needed; without a picture, use initials\.<br><br>For a serverless route, check the path and method against the serving version's client files and functions\. Deploy missing code or files, or use a path that version serves\. |
| <a id="rate_capped-dashboard_picture"></a>`rate_capped` | 429 | The request reached a limit on the count for its window\. The limit can be on an application's logging batches per minute or on a source address's client registrations per hour\. The control plane and the router's admission limits count requests in the current UTC minute\. A page view of the site counts in a page window of its own, six hundred a minute\. A call to read\_library on the actions route counts in a library window of its own, four thousand a minute\. A call to search\_documentation presenting no credential counts in a documentation search window of its own, one hundred and twenty a minute\. Where no separate window or exemption applies on the control plane, the source window counts six hundred requests a minute\. A signed\-in approval or dashboard arrival spends no source window\. Across the six gateway routes for storage, egress, logging, push, email, and job start, requests that resolve to the same credential share a limit of six hundred requests per UTC minute, even when they come from different source addresses\. For admission, each of these requests counts only toward the credential's limit\. A presented value there that resolves to no credential counts in a window of its own for the source, six hundred a minute, apart from the source window\. On those routes, a request through the edge whose source is at that bound is refused before its credential is looked up, unless the gateway already has that credential\. On the deploy command's progress read, a read under its upload's started grant counts in a window keyed on that grant's identity\. A read there that presents anything else counts in the source window, which once full refuses the source before any lookup\. At the control plane, the admission window's refusal includes Retry\-After, the seconds to the next minute\. The serving router counts requests to one application on each router replica in the current UTC minute\. Anonymous requests count against their source address\. Signed\-in requests count against both the user and a separate limit for the source address's signed\-in requests\. The refusal comes before the request reaches the application\. `Retry-After` gives the seconds to the next UTC minute\. A `request_route` or `write_route` call counts in one window of their own for the acting account, sixty a minute\. A `check_app_sign_in` call counts in a window of its own for the acting account, ten a minute, and the accounts service counts the checks of each realm in a window of its own, ten a minute\.<br><br>For the dashboard picture route, an arrival without a verified dashboard cookie and current session uses the source window; an admitted arrival counts in its account's own window, sixty reads a minute\. | If the response gives `Retry-After`, wait that many seconds and retry below the limit\. For a request or logging limit without that header, retry below the limit when the next UTC minute starts\. For client registrations, wait until the earliest registration in the hour leaves that window\. |

## Payment event

The payment provider's event delivery at POST /api/v1/payment\-events\. It needs no session; the platform verifies the provider's signature over the raw request bytes\.

| Refusal | Status | Cause | Remedy |
|---|---|---|---|
| <a id="internal-payment_event"></a>`internal` | 500 | An unexpected error while responding\. Where the detail gives a reference, the error is recorded on the platform side under that reference\. The detail is a fixed sentence and never the error's own message\.<br><br>For sign\-in identity removal, failure ending the exchange's tokens before the removal removes no identity\. If ending them again fails after the transaction, the refusal is internal and the identities have been removed\. | For removal of a sign\-in method, read the detail first\. If no method was removed, request the removal again\. If the method was removed, sign in with a remaining method and use Sign out everywhere as directed\. The removal is complete\. If that control fails, report the failure and quote any reference the detail gives\.<br><br>For other calls, check what the detail says about the outcome\. Retry when the request is safe to repeat\. If the refusal repeats, report it and quote the reference its detail gives\. |
| <a id="invalid_request-payment_event"></a>`invalid_request` | not fixed | The input is malformed or missing, and the detail gives the member\. Or the input has a NUL \(U\+0000\) or an unpaired UTF\-16 surrogate, and the detail gives the character\. This is the generic validation refusal of every surface\. On a management action, it also refuses a call that gives a member the action does not declare\. The detail lists that member, a nested one by its path, and every member declared at that place\. Where that list would pass the detail's budget, the detail gives each place's member count instead and points to the action's reference page, which lists them\. It also refuses a body the surface could not read, or a path segment whose escape does not decode, in the surface's own form, repeating nothing from the request\. On `create_space`, it also refuses a `space` deleted within the last 35 days, while its deletion marker remains, and nothing is created\. At a request for the `tzmesh` resource, and at the completion of its sign\-in, it also refuses a browser's prefetch, which holds no confirmation\. On `deploy_files`, a list entry with `content` under a path segment the zip leaves out is refused with `kept` and `refused`\. Its `kept` lists the content entries kept and each entry by `sha256` alone whose file the platform holds and could read as the refusal was built; `refused` lists the entries refused\.<br><br>Over HTTP, a value outside a bound an action's reference states is refused `invalid_request`\. Over MCP, your client's or the SDK's argument check runs first\. A rule checked only by the handler draws `invalid_request` on either route\. On the payment event route, a missing, malformed, invalid or stale signature, an unreadable event, or an event in the other mode receives the same refusal and changes nothing\. The detail discloses no class or request content\.<br><br>On `set_database_size`, the size is not one of its four values, production already has the requested size, or a dedicated size was requested for a serverless application\. A serverless application's database stays `database-shared`\. Nothing changes\.<br><br>The usual validation status is \(400\)\. On the builder's Allow page, a confirmation posted from outside the sign\-in page's origin or without a recent sign\-in receives \(403\)\. Browser checks can also return \(403\) when you confirm or cancel an approval, open or sign in to a test account, or cancel a builder connection\. A provider callback that uses a method the route does not accept receives \(405\)\. | Correct the member the detail gives, or send a member the action declares in place of one it does not; the detail or the action's reference page lists them\. Or remove the character the detail identifies\. Then send the request again\. For a deleted space's identifier, pass another `space`, or leave it out and the platform chooses one\. A refused prefetch needs nothing: the request is served when the person opens it\.<br><br>For payment events, the payment provider sends this request\. The platform operator checks the provider's delivery record and the platform's refusal record\. The response gives the same detail for every payment\-event validation failure\.<br><br>For a 403 on a browser confirmation, return to your tool and sign in again\. Use the confirmation page in the same browser with a recent sign\-in\. For a 405 on a provider callback, use the method its detail gives\. The provider sends that callback\. |
| <a id="not_configured-payment_event"></a>`not_configured` | 503 | The platform\-internal resolve endpoint has no router resolve secret configured, or the serving router's invoke endpoint has no invoke secret configured\. On the start\-line route, a plane whose setting gives no repository, or that has no status record to write to, refuses every line with this before reading the token\. On the payment event route, the estate's provider settings are absent, incomplete or in different modes, so the route accepts no event\. | Nothing you do corrects this\. The platform's operator sets the missing secret or setting and restarts the services that read it\. |
| <a id="rate_capped-payment_event"></a>`rate_capped` | 429 | The request reached a limit on the count for its window\. The limit can be on an application's logging batches per minute or on a source address's client registrations per hour\. The control plane and the router's admission limits count requests in the current UTC minute\. A page view of the site counts in a page window of its own, six hundred a minute\. A call to read\_library on the actions route counts in a library window of its own, four thousand a minute\. A call to search\_documentation presenting no credential counts in a documentation search window of its own, one hundred and twenty a minute\. Where no separate window or exemption applies on the control plane, the source window counts six hundred requests a minute\. A signed\-in approval or dashboard arrival spends no source window\. Across the six gateway routes for storage, egress, logging, push, email, and job start, requests that resolve to the same credential share a limit of six hundred requests per UTC minute, even when they come from different source addresses\. For admission, each of these requests counts only toward the credential's limit\. A presented value there that resolves to no credential counts in a window of its own for the source, six hundred a minute, apart from the source window\. On those routes, a request through the edge whose source is at that bound is refused before its credential is looked up, unless the gateway already has that credential\. On the deploy command's progress read, a read under its upload's started grant counts in a window keyed on that grant's identity\. A read there that presents anything else counts in the source window, which once full refuses the source before any lookup\. At the control plane, the admission window's refusal includes Retry\-After, the seconds to the next minute\. The serving router counts requests to one application on each router replica in the current UTC minute\. Anonymous requests count against their source address\. Signed\-in requests count against both the user and a separate limit for the source address's signed\-in requests\. The refusal comes before the request reaches the application\. `Retry-After` gives the seconds to the next UTC minute\. A `request_route` or `write_route` call counts in one window of their own for the acting account, sixty a minute\. A `check_app_sign_in` call counts in a window of its own for the acting account, ten a minute, and the accounts service counts the checks of each realm in a window of its own, ten a minute\.<br><br>For the dashboard picture route, an arrival without a verified dashboard cookie and current session uses the source window; an admitted arrival counts in its account's own window, sixty reads a minute\. | If the response gives `Retry-After`, wait that many seconds and retry below the limit\. For a request or logging limit without that header, retry below the limit when the next UTC minute starts\. For client registrations, wait until the earliest registration in the hour leaves that window\. |
| <a id="request_too_large-payment_event"></a>`request_too_large` | 413 | The request is over the surface's request bound, or over the bound a transfer grant accepts\. On the builder sign\-in, a client registration's declared body is over 16 KiB\. On every surface, the serving router among them, a body over the bound the surface's parser reads is refused the same way, the detail giving that bound\. | Reduce the request body to the byte bound the refusal detail gives, then send it again\. Keep a storage upload within the size its transfer grant accepts, and keep a client registration at sign\-in at or under 16 KiB\. |
