Refusals #

View this page as Markdown

On this page

Find a tzTrack tool or REST API error by its refusal code. Each row explains the status, cause, and remedy. If the service refuses the input or access, correct the request before retrying. If a server or network failure leaves the result unknown, check what happened before repeating a write.

The tzTrack tools on the Turn Zero connection and the REST API use the same refusal codes. Turn Zero Cloud handles tztrack_share_space, tztrack_list_space_members, tztrack_create_space, submit_feedback, tztrack_rename_space, and tztrack_delete_space, whose errors are listed separately below. The response's error field contains the code.

At the server #

Refusal Status Cause Remedy
credential_required 401 The call carried no sign-in. Sign in through your tool. In Claude or ChatGPT, reconnect turnzero-tools in the app's connector settings. In Claude Code, run /mcp and choose turnzero. In Codex, run codex mcp login turnzero. A REST API call sends its tzTrack token in the authorization header (REST API).
credential_refused 401 The server does not accept your sign-in: it expired or was revoked, your account's access to tzTrack ended, or your account is suspended. The detail says which. Sign in again through your tool, as above. A REST API caller sends a fresh tzTrack token (REST API). A suspended account works again only once Turn Zero restores it.
space_mismatch 403 The named space does not exist or your account cannot work in it. The platform's own account also gets this refusal when it names Turn Zero feedback in a tzTrack issue call or tries to make it the default. For ordinary issue work, name a space you own or belong to, or omit space to use your default. For Turn Zero feedback, the platform's account uses submit_feedback, read_feedback, settle_feedback, or relay_issue_act in Turn Zero Cloud as its credential permits. To read that space's settings, use relay_issue_act with act: read_space and owner access.
grant_required 403 The call exceeds your member level or account bound. Contributor (contribute) closes and reopens only tasks; other kinds, duplicate closes, kind changes to or from task, and unmerge need Admin (owner). A bounded row admits only its listed reads, filing and work on group-opened tasks. For a level refusal, the detail names your level and the call's required level, or lists Viewer's four reads. Read actions in tztrack_list_spaces. Stay within that access or ask the Owner to change the row. Only the Owner manages membership. Sharing a space gives the names and visibility.
renamed 404 for REST; tool error over MCP The call used an old name. Nothing was done. Use the name in successor on the direct server or in detail on the Turn Zero connection. If the answer names several tools, choose one and use its arguments.
route_missing 502 A space action reached the wrong service. Nothing was done. Try again after a short wait; this is a fault on Turn Zero’s side.
invalid_request 400 An input is missing, malformed, or unsupported. The detail identifies the field or value and the correction needed. Use the current inputs in The tools or REST API, correct the request, and retry.
space_needed 409 The call left out space and the account has no space its tzTrack issue tools can work in. If the platform's own account can see only Turn Zero feedback, the MCP next lists spaces and the feedback row's note names the Cloud tools. The REST detail names those tools directly. Use the tools your credential permits. Otherwise use the MCP next to create your first space, then retry. You can create that first space without asking your person. On the REST route, create it through tzTrack's MCP tools or the Turn Zero account page.
default_space_needed 409 The call left out space, your account can reach several spaces, and none is your default. Over MCP, call tztrack_list_spaces as the refusal's next says. Ask the person which space to use, then pass it as space. With agreement to set the default, call tztrack_choose_space with that space. Over the REST API, pass space.
default_space_changed 409 The call changes the space, its issues, settings, or sharing, and left out space, and your default space changed in the last 24 hours. The detail gives the new default and when the 24 hours end. Repeat the call with space set to the space you mean; the refusal's next holds the new default's ID. Calls that only read are not refused.
issue_not_found 404 The selected space has no issue with that number. Check the space and number with tztrack_find.
report_not_found 404 An add_report or a REST raise naming amends or withdraws named a report that could not be found or that is not yours. For add_report through MCP or REST, callers below Contributor get issue_not_found in this case. Read the issue, whose reports list their numbers, and name one of yours.
build_not_found 404 A REST API ship, or a close naming fixed_in, named a build no "deploy" recorded. Record the build with "deploy" first, then repeat the call.
attachment_not_found 404 A REST API read_attachment named an image the space does not hold. Read the issue, whose reports and comments list each image's id.
attachment_space_full 409 The images would take the space past its storage for images. Send fewer or smaller images, or file the point without them.
open_issue_cap_reached 409 The owner's spaces together hold at least 100,000 open issues. The filing or split would open a new issue. Nothing was stored. The detail gives the total and the limit. Keep the point in your own notes and tell your person. Close issues that are done to make room. Space limits and tzTrack AI reviews explains the limit.
state_conflict 409 The act does not fit the issue's state, such as a change to a closed issue, or a waiting_for other than evidence on a waiting issue. A tztrack_update is also refused when it would leave the issue more than 20 labels; the detail gives the count. Bring the issue to a state that fits first, such as tztrack_reopen before changing a closed issue or a waiting one. For too many labels, remove labels in the same tztrack_update, or add fewer.
lease_conflict 409 Another claim stands on the issue: a session's or agent's label, or a branch's lease. Leave the issue to that claim, which is given back when its work ends. A label claim an ended session left may be given back with tztrack_give_back and a reason; a branch's lease only by the session that holds its secret.
watch_refused 409 No watch was set. The issue has 20 watches, the minute's confirmations are spent, a confirmation could not be sent, or the service has no sender. Email can fail on development, with a credential that names no account, through relay_issue_act, without a verified address, at a mail limit, or when mail is unreachable for five seconds. The detail says which. For email, use tztrack_watch on the Turn Zero connection or the REST API. On development, read the issue again later for updates. Verify a sign-in address where none stands. For a spent allowance, wait until the reset the detail names; for a minute limit, wait for the next minute. With 20 watches, remove one or wait for one to lapse. For messaging, let the participant admit signed-in senders. For a missing sender or a mail service that stays unreachable, read the issue instead and report the refusal.
relation_refused 409 The server refused the link between two issues. Correct the link the detail names.
body_too_large 413 The call's text is too long. Shorten the text, or split it into comments.
rate_limited 429 A per-minute limit was exceeded for the space, account, or an address without valid sign-in. The detail identifies which limit. Wait for the rate window to reset, then retry.
platform_unreachable 503 A forwarded call got no usable answer, so its outcome is unknown. A write may already have taken effect. Read the current state before repeating a write. A read can be tried again after a short wait.

An email-watch stop link answers an HTML page, not a JSON refusal. An expired or invalid link answers 401 and changes nothing. Ask your AI assistant to call tztrack_unwatch with issue and email: true, or wait for the watch to lapse (Watching an issue).

A row's restricted setting governs restricted-issue access separately from its level. Viewer (view), Reporter (report) and bounded rows read none. An unreadable restricted issue or an issue outside your bound answers as absent, including on attachment reads. Filters do not widen access.

From Turn Zero Cloud #

tztrack_share_space, tztrack_list_space_members, tztrack_create_space, submit_feedback, tztrack_rename_space, and tztrack_delete_space answer these refusals as Turn Zero Cloud gives them.

Refusal Status Cause Remedy
invalid_request 400 Input is malformed or missing. The detail identifies the field. Creation requires name, 1 to 100 printable characters, and refuses a space ID deleted in the last 35 days. Renaming requires explicit space and a printable name of 1 to 100 characters. Deletion requires explicit space. Neither renaming nor deletion accepts application or platform spaces. Correct that field, then retry. For a deleted space's ID, choose another ID or leave it out when creating a space.
space_not_owned 403 Sharing, listing members, renaming, or deletion named a space your account does not own. Membership at any level, including owner, does not make your account its owner. Name a space your account owns. For access through sharing, ask the owning account to share it. To change sharing or list members, ask that account to make the call.
tztrack_bounded 403 A tzTrack token minted with mint_token was used to rename or delete a space. Even a token with the destructive permission class cannot make these requests. Reconnect tzTrack from your AI assistant to sign in again, then retry. A person must still approve deletion in the browser.
destructive_class_required 403 Deletion requires the destructive permission class, which this connection lacks. Reconnect tzTrack from your AI assistant to sign in again, then retry. A person must still approve deletion in the browser.
tztrack_required 403 Your account does not have tzTrack access. Every account has tzTrack, so there is nothing to add. Repeat the request; read_account lists the products your account has.
no_such_account 404 tztrack_share_space named an email address no Turn Zero account signs in with, so nothing was kept. Check the address, or have the person create an account first, then add them again.
space_creation_ceiling 403 Creating the space would exceed the account's limit of 5 spaces; nothing was created. An application's own space counts toward neither this limit nor the open-issue limit. Use an existing space, or delete an unneeded space with Turn Zero Cloud's tztrack_delete_space, which you approve in the browser. Retrying with an existing space's ID returns that space.
feedback_rate_limited 429 A per-minute limit was exceeded for account feedback, space creation, or renaming. Renaming is limited to five calls per account per minute. The detail identifies which limit. Wait for the rate window to reset, then retry.
issue_service_unreachable 503 Turn Zero Cloud could not reach the issue service. A lost reply can leave the rename's outcome unclear. Read detail. Check what a write did before repeating it, including a rename. Repeat only if the read confirms no change or the action documents a safe repeat with the original key. Retry reads after a short wait. If the outcome is unclear or the refusal continues, report its name and reference through another route.

tztrack_set_ai_passes can also answer balance_short (402) or rates_unread (503) when turning on a space's tzTrack AI reviews option. Cloud's refusal reference gives those rows.