Documentation
Error reference
The error codes the API and MCP server can return: what each one means and how to recover.
Errors are returned in a { error_code, message, details } envelope; the code is what to branch on.
Validation failed
validation_failedThe request shape was rejected: a field is missing, malformed, or out of range.
Recover: Fix the flagged field against the tool's input schema and retry.
Artifact not found
artifact_not_foundNo artifact resolved for the given id in this workspace.
Recover: Check the id; the envelope's details carry ranked suggestions of close matches you likely meant.
Invalid parent type
invalid_parent_typeThe parent you linked isn't an allowed parent for that child type; parenting is type-by-shape.
Recover: Read artifact_types (or hf://types) for the child's allowedParentTypes, pick a valid parent, and retry. Nothing was written.
Internal error
internal_errorAn unexpected server-side failure the caller can't correct.
Recover: Retry once; if it persists, report it via send_feedback with the request details.
Datastore degraded
datastore_degradedA read-only tool could not reach the datastore needed to answer accurately.
Recover: Retry shortly. Do not interpret the failed response as an empty result; the underlying facts were not read.
User declined
user_declinedA proposed change was declined or never applied.
Recover: Nothing landed. Revisit the proposal or adjust it before requesting another decision.
Workspace membership missing
workspace_membership_missingYou're authenticated but not a member of the target workspace (403, not 404; the workspace exists).
Recover: Use a workspace you belong to, or have an admin invite you.
Workspace required
workspace_requiredOn the shared /mcp connection, a tool call named no workspace and you belong to more than one.
Recover: Call workspaces_list, then pass one of its ids as workspace_id on the call. The error's details.active_workspace_id names the workspace the web app opens; it is never used by default, because it changes when you switch workspaces in the app, so pass it as workspace_id to act on it.
Response too large
response_too_largeThe result exceeded the response cap and was withheld or degraded.
Recover: Narrow the request: add filters, lower the limit, page with offset, or pass a slimmer shape.
Rate limited
rate_limitedToo many requests in a short window.
Recover: Back off and retry after a short delay.
Stale base
stale_baseAn optimistic-concurrency conflict: the base you edited against had already moved on.
Recover: Re-read the current state and re-apply your change on top of it.
Workspace not found
workspace_not_foundThe workspace itself didn't resolve (distinct from missing membership).
Recover: Check the workspace id in the URL / pin; use a valid workspace.
Side effect failed
edge_side_effect_failedThe primary write succeeded but a declared side-effect didn't; the operation is retryable and convergent.
Recover: Re-issue the identical call; it keys off live state and completes the outstanding side-effect without duplicating the primary write.
Capability restricted
capability_restrictedYou're authenticated, but this operation isn't permitted for your execution context (the action verb is outside the proposable allowlist, or its payload doesn't fit the allowlist entry's contract).
Recover: Read the details: restricting names what scoped the refusal and next_step says whether to amend and resubmit, await review, or abandon.
Workspace read-only
workspace_read_onlyYou're a member of this workspace, but your role carries no write capability, so tools that mutate workspace content are refused. details.tool names the tool that was refused.
Recover: Don't retry and don't reshape the call: nothing about the request will change the outcome. Read tools still work. A workspace admin must grant write access.
Forbidden
ForbiddenYou may not run this operation. details.reason names why; human_only means only a person can decide it.
Recover: Read details.reason. For human_only, follow the human_only entry: give details.decide_url to a person and stop. For any other reason, don't retry the same call.
Only a person can decide
human_onlyA Forbidden refusal with details.reason: 'human_only': the operation needs a person's decision and no person answered here. details.human_only_cause says why: api_key (no person stands behind the key), client_cannot_ask (the client declared no form elicitation), server_cannot_ask, no_answer (the form was shown but the retry carried no answer), or dismissed (the person closed the form without choosing).
Recover: Follow details.next_action. On open_decide_url, give details.decide_url to a person, who decides there signed in, and stop; never retry it in a loop. On call_again, call once more without requestState to ask the person again, or give them the page.
Artifact not found
ArtifactNotFoundAn artifact the call names (the artifact, a parent, an edge endpoint, or a scope) does not exist in this workspace. details may name the id or suggest close matches.
Recover: Check the id against details, or find the artifact with artifacts_search, then retry. A pending proposal id is not an artifact id.
Artifact not found
ArtifactReadNotFoundNo current artifact has this id in the workspace. details.recently_updated lists recently updated artifacts for orientation, not as matches.
Recover: Find the artifact with artifacts_search and retry with its id.
Read input invalid
ArtifactReadInputInvalidA filter or id did not pass the read's checks. details.reason names which.
Recover: Fix the input details.reason names and retry.
Premise changed
ArtifactUpdatePremiseMovedThe artifact's title, description, content, or clauses changed since you reviewed them. details carries the expected and current premise hashes.
Recover: Re-read the artifact, review the current text, and retry against the current premise. Nothing was written.
Parent declined
ArtifactCreateParentPickerDeclinedThe person declined the suggested parent for this create. Nothing was written.
Recover: Ask the person which parent to use and retry with that parent_id, or pass allow_orphan: true if they want it unparented.
Replacement declined
ArtifactProposeSingletonDeclinedThe person declined replacing the workspace's existing singleton artifact (for example its mission). Nothing was written.
Recover: Don't retry. Update the existing artifact instead, or ask the person what they want.
Replacement prompt closed
ArtifactProposeSingletonDismissedThe person closed the prompt about replacing the workspace's existing singleton artifact without choosing. Nothing was written or filed.
Recover: You may ask once more by retrying the create. If they close it again, ask the person what they want instead.
Create input invalid
ArtifactCreateInputInvalidThe create input is invalid for its type, such as a missing title or a malformed parent id.
Recover: Fix the field the message names and retry.
Parent required
ArtifactCreateParentRequiredThis artifact type needs a parent. details.expected_parent_types lists the valid parent types.
Recover: Find a parent of one of those types with artifacts_search and retry with parent_id, or pass allow_orphan: true (details.opt_out) to create it unparented.
Invalid parent type
ArtifactParentTypeInvalidThe parent you named has a type this artifact cannot sit under. details lists the valid parent types.
Recover: Pick a parent of a listed type (artifact_types shows each type's allowed parents) and retry. Nothing was written.
Field too long
ArtifactFieldTooLongA title, description, or content field is longer than its type allows. The message names the field, the limit, and the actual length (characters, or bytes for the whole content).
Recover: Shorten the field to the limit and retry. Move detail out of a long description into the artifact's content or a child artifact.
Title empty
ArtifactUpdateTitleEmptyThe new title is empty.
Recover: Send a non-empty title, or leave title out to keep the current one.
Priority not applicable
ArtifactUpdatePriorityNotApplicableThis artifact type takes no priority.
Recover: Retry without priority.
Closure invalid
ArtifactUpdateClosureInvalidThe closure fields do not fit this change. closure_reason and closure_successor_id need state: 'closed'. A successor must be an open artifact other than this one, and only a duplicate or migrated close takes one. details.field names the field.
Recover: Send closure fields together with state: 'closed', fix the field details.field names, or close without a successor, and retry.
Owner invalid
ArtifactWriteOwnerInvalidThe owner you named is not a member of this workspace.
Recover: Use the id of a workspace member, or leave the owner unset.
Content rejected
ArtifactWriteValidatorRejectedA write validator refused the content. details.rule_id and details.field name the rule and the field.
Recover: Fix the field to satisfy the rule and retry.
Transition not allowed
ArtifactTransitionRejectedThe artifact's lifecycle does not allow this state change from its current state. details names from, to, and the reason.
Recover: Re-read the artifact's state and pick a transition its type allows from there. Don't retry the same change.
State value invalid
StateValueInvalidThe state or closure reason is not one this artifact accepts. details lists the allowed values.
Recover: Retry with one of the listed values.
Quality check rejected the write
ArtifactQualityAdmissionRejectedDeterministic validation or the quality review refused the write; nothing was saved. details.findings lists format findings, or details.artifact_quality carries the review.
Recover: Fix what the findings or the review name, then retry. Don't resend the same text unchanged.
Graph refused the write
ArtifactGraphValidationFailedThe graph refused the write: a cycle, a self link, an edge it already holds in another form, or a value it does not accept. details names the check.
Recover: Change the edge or value details names and retry. Nothing was written.
Delete confirmation invalid
ArtifactDeleteConfirmationInvalidThe confirmation_token is unknown, expired, or for another delete. details.reason says which.
Recover: Run the delete again without confirmation_token to get a fresh token, then confirm with it.
Clause grammar mismatch
ClauseGrammarMismatchA clause does not hold exactly one token of its grammar. It has none, or more than one. details.clause_index is the clause's position, counting from 0, and details.expected_tokens lists the tokens it can use. details.artifact_type names the type when the check knew it. When it is absent, the check ran before the artifact's type was read, and expected_tokens lists the tokens of every grammar.
Recover: Rewrite that clause with exactly one of the expected tokens (for example MUST or MUST NOT) and retry.
Too many clauses
ClauseLimitExceededThe artifact has more clauses than its type allows. details.limit and details.actual give the counts.
Recover: Cut or merge clauses to the limit, or split the work into more artifacts, and retry.
Clauses not applicable
ClausesNotApplicableThis artifact type takes no clauses.
Recover: Retry without clauses.
Ticket clauses required
TicketClausesRequiredCreating a ticket through MCP needs at least one specification clause, and a description update may not clear the clauses of a ticket that has them. A ticket with no clauses accepts description updates without them.
Recover: Add at least one MUST or MUST NOT statement to clauses, or omit clauses to keep the stored ones, and retry.
Command input invalid
CommandPlaneInputInvalidThe write command was malformed, or it needed a quality admission it did not carry.
Recover: Check the call against the tool's input schema and retry through the documented tool.
Needs a person
CommandPlaneCapabilityRestrictedRatification and validation renewal need an authenticated person. Your credential may not run this write.
Recover: Don't retry. Ask a person to ratify with person_decisions_request (pass artifact_id), which shows them a form, or give them the artifact's page.
Quality input invalid
QualityInputInvalidThe input to the quality grader did not pass its checks.
Recover: Fix the input the message names and retry.
Quality budget exceeded
QualityModelBudgetExceededGrading this content would exceed the grader's model-call budget.
Recover: Shorten the content and retry. Retrying the same content gets the same answer.
Content too large to grade
QualityModelContextOverflowThe content is too large for the grading model's context.
Recover: Shorten the content, or split it into more artifacts, and retry.
Cannot be ratified
RatificationIneligibleThe artifact cannot be ratified. details.reason names why: type_not_ratifiable, draft_authority or closed_authority. details.next_action says what to do: none, promote_draft or reopen.
Recover: Don't retry as is. On promote_draft, ask a person to decide the draft's promotion proposal (person_decisions_request with the draft's artifact_id does this). On reopen, reopen the artifact first. On none, nothing needs ratifying.
Nothing to renew
RatificationRenewalIneligibleThe artifact's current premise has no ratification to renew.
Recover: Ratify the artifact first; renew it only after it has a ratification.
Changed before ratification
RatificationStaleBaseThe artifact changed after the person reviewed it, so the ratification was not recorded.
Recover: Call again so the person reviews and confirms the current text.
Self link
LinksSelfEdgeAn edge cannot point from an artifact to itself.
Recover: Pick a different source or target and retry.
Link side effect outstanding
LinksEdgeSideEffectFailedThe edge was written, but a side effect of it (closing a superseded target) is outstanding.
Recover: Repeat the identical call. It completes the side effect without writing the edge twice.
Payload shape not allowed
PendingActionCreatePayloadShapeRestrictedThe proposal's payload does not have the shape its action type needs.
Recover: Read details: fix the payload against the action type's contract and resubmit when next_step is amend_request.
Proposal scope malformed
PendingActionCreateScopeMalformedThe proposal's scope is not a valid scope object. Its known keys (channel, github, rationale) must have their documented shapes.
Recover: Fix or leave out scope and retry.
Status already set
PendingActionCreateStatusUnchangedThe proposed status is the artifact's current status, so the proposal would change nothing.
Recover: Don't file it. Re-read the artifact if you expected another status.
Proposal subject not found
PendingActionCreateSubjectNotFoundThe artifact the proposal targets does not exist in this workspace.
Recover: Check the artifact id with artifacts_search and retry with a real one.
Other side already queued
PendingActionCreateContradictionSideQueuedThe other side of this contradiction already has a close proposal waiting. The message names that proposal.
Recover: Get that proposal decided first, then file again only if still needed.
Proposer invalid
PendingActionProposerInvalidThe calling credential cannot be recorded as a proposer.
Recover: Don't retry with this credential. Connect with a credential tied to a workspace member.
Finding not found
SignalNotFoundThe finding does not exist in this workspace, or is not a finding of the named artifact. signals_list (with id) and reconcile return this code, and details.signal_id names the id.
Recover: List the findings again with signals_list and retry with a current id.
Nothing to reconcile
SignalsReconcileItemEmptyA reconcile batch item carried neither disposition nor rating. Only that item failed. details.required_one_of lists the two fields, and the item needs at least one of them.
Recover: Add a disposition, a rating, or both to the item and retry that item alone.
Artifact not in the chain
ChainArtifactNotFoundchain_get found no current artifact with this id in the workspace, or none at as_of when details.as_of is set.
Recover: Check the id with artifacts_search. With as_of, pick a time after the artifact was created.
Activity filters cannot be used together
ActivityEventFeedFiltersInvalidThe activity_feed_list call combined filters that cannot be used together. details.reason names the combination, one of artifact_id_with_root_id, include_descendants_without_artifact_id, offset_while_following (offset with since_seq or continuation), since_seq_with_continuation, continuation_filters_changed (a continuation sent with other filters than it started with), follow_position_missing, or options_invalid.
Recover: Change the call as the message says, for example drop root_id or offset, and retry. Nothing was read.
Reference not found
WorkspaceExternalReferenceNotFoundThe feedback reference or the artifact does not exist in this workspace.
Recover: Check both ids and retry.
Feedback inbox access denied
FeedbackInboxAccessDeniedYou may not change the feedback inbox: it belongs to another workspace, or you are not an admin of this one.
Recover: Don't retry. A workspace admin can make the change.
Feedback body empty
CustomerFeedbackBodyEmptyThe feedback body is empty.
Recover: Send a non-empty body.
Feedback body too long
CustomerFeedbackBodyTooLongThe feedback body is longer than the limit. details.max_length is the limit.
Recover: Shorten the body to the limit and retry.
Proposal not found
PendingActionReadNotFoundNo proposal with this proposal_id exists in this workspace.
Recover: Check the id with proposals_list and retry with a proposal from this workspace.