# Error codes

Every error the Provenance API returns, what each code means, and how to resolve it.

Every 4xx and 5xx response uses one shape. Branch on `error.code`, show `error.message` to a person, and log `error.request_id`. Each error's `doc_url` links to its row below.

```json
{
  "error": {
    "type": "invalid_request_error",
    "code": "parameter_missing",
    "message": "Missing required parameter 'action_description'.",
    "param": "action_description",
    "doc_url": "https://www.provenanceauth.com/docs/errors#parameter_missing",
    "request_id": "req_01HX..."
  }
}
```

- `param` (string): The input that caused the error, as a dotted path, when there is one.
- `details` (object): Structured context, such as the failing rules on `policy_invalid`, or `limit` and `retry_after` on `rate_limit_exceeded`.
- `billing` (object): On `trial_ended`, `spend_cap_reached` and `seat_limit_reached`: the `kind` of limit, the trial `counter`, `used`, `limit`, `ends_at` and the `upgrade_url`.

## Types

| Type | HTTP status |
| --- | --- |
| `invalid_request_error` | 400, 404, 409, 413 |
| `authentication_error` | 401 |
| `billing_error` | 402 |
| `permission_error` | 403 |
| `rate_limit_error` | 429 |
| `idempotency_error` | 400 |
| `unavailable_error` | 503 |
| `api_error` | 500, 502 |

> **Note: Outcomes are not errors**
>
> A verification that finds a tampered asset, or an intent verify that denies an action, returns 200 with a `reason` or risk `factor`, each listed on [reason codes](https://provenanceauth.com/docs/platform/reason-codes.md).

## Codes

| Code | Status | Description |
| --- | --- | --- |
| [`access_denied`](#access_denied) | 400 `invalid_request_error` | **Access denied.** The person declined the permission (RFC 8628). Stop polling. The person can connect again later. |
| [`account_email_taken`](#account_email_taken) | 409 `invalid_request_error` | **Account email taken.** An account already exists for this email. Sign in with the existing account, or rotate its key from the account portal. |
| [`adjust_link_expired`](#adjust_link_expired) | 409 `invalid_request_error` | **Adjust link expired.** This adjust link has expired: an ask's link lasts as long as the ask, a refusal's 30 minutes and a near-limit notice's until the window resets. Open the agent in the Provenance home to change its limits. |
| [`adjust_link_used`](#adjust_link_used) | 409 `invalid_request_error` | **Adjust link used.** This adjust link was already used for a change. Each link changes a grant once. Open the agent in the Provenance home to change its limits again. |
| [`agent_connect_unavailable`](#agent_connect_unavailable) | 409 `invalid_request_error` | **Agent can't connect from Provenance yet.** The agent's maker hasn't set a Connect URL, so there's nowhere to finish connecting. Ask the agent to connect to Provenance, or enter a code if it shows one. Makers set it with `PUT /v1/mandate/agents/:id/connect_url`. |
| [`agent_key_mcp_only`](#agent_key_mcp_only) | 403 `permission_error` | **Agent key is MCP only.** This key is restricted to one registered agent (`agent_id`). It opens the one MCP server (`/v1/mcp`) and nothing else, so a leaked agent key can't call the rest of the API as the account. Connect the agent to the MCP server with this key, or use an account key for direct API calls. |
| [`agent_locked_down`](#agent_locked_down) | 403 `permission_error` | **Agent locked down.** The agent was locked down after a suspected takeover: it is suspended, and its sessions and outstanding tokens are revoked. Rotate the keys the lockdown lists, then resume the agent with `POST /v1/mandate/takeover_events/:id/recover` from the console. |
| [`agent_suspended`](#agent_suspended) | 403 `permission_error` | **Agent suspended.** The agent is suspended and can't authorize actions. Resume it with `POST /v1/mandate/agents/:id/unsuspend` once you've reviewed why it was suspended. |
| [`agents_paused`](#agents_paused) | 403 `permission_error` | **Agents paused.** An owner or admin paused every agent on this account, so no agent can be authorized to act. Ask an owner or admin to resume agents (`POST /v1/mandate/agents/resume_all`, or Resume all in the console) once the incident is over. |
| [`agreement_invalid`](#agreement_invalid) | 400 `invalid_request_error` | **Agreement invalid.** The agreement request or signature failed validation; the message names the cause. Correct the request per the message. See [agreements](https://provenanceauth.com/docs/mandate/guides/agreements.md). |
| [`agreement_link_invalid`](#agreement_link_invalid) | 401 `authentication_error` | **Signing link invalid.** The agreement signing link is invalid or expired. Ask the agreement's creator for a fresh signing link. |
| [`ai_assist_off`](#ai_assist_off) | 403 `permission_error` | **AI assist off.** The account hasn't turned this AI assist on. Every assist is off until an owner or admin turns it on in the console (Account → AI assists). Turn the assist on in Account → AI assists, after reading what is sent and to whom. |
| [`ai_assist_unconfigured`](#ai_assist_unconfigured) | 503 `unavailable_error` | **AI assists not available.** The operator hasn't configured a model provider for AI assists on this deployment. Nothing was sent to a model and no draft was made up. Rules still work as written; drafts appear once the deployment has a model provider. Operators: see the self-host configuration page. |
| [`alternate_confirmation_required`](#alternate_confirmation_required) | 400 `invalid_request_error` | **Confirmation required.** Saving alternate content needs the member's confirmation that it has no prices, offers or terms. Who confirmed and when are stored on the template. Send `confirm_no_offers: true` after checking the content. |
| [`alternate_content_not_allowed`](#alternate_content_not_allowed) | 400 `invalid_request_error` | **Alternate content not allowed.** Alternate content can't carry a price, a discount, a delivery or return promise, or a form that posts, because a person could rely on it. The error names the text it matched. Remove the matched text, then send the template again with `confirm_no_offers: true`. |
| [`alternate_in_use`](#alternate_in_use) | 409 `invalid_request_error` | **Alternate in use.** A rule in your active or shadow traffic policy still serves this alternate, so deleting it would leave that rule nothing to serve. Change the rules that name it (the error lists the policies), then delete the alternate. |
| [`analysis_query_invalid`](#analysis_query_invalid) | 400 `invalid_request_error` | **Analysis query invalid.** The analysis query can't run: it isn't one SELECT, it names a system catalog or no analysis view, Postgres refused it (a syntax error, an unknown column, a write, a permission it doesn't have; the message says which), or its window is over 13 months or holds too many records. `param` names the part (`sql`, `window`). Nothing was changed. Read the views at `GET /v1/account/analysis/views`, fix the part `param` names, and run it again. |
| [`analysis_unavailable`](#analysis_unavailable) | 503 `unavailable_error` | **Analysis unavailable.** The analysis query passed its 5-second limit, or the account's records couldn't be read. No partial or estimated result is returned. Narrow the window or simplify the query, then retry. If it keeps failing, retry later. |
| [`ap2_app_signature_closed`](#ap2_app_signature_closed) | 409 `invalid_request_error` | **Not waiting for the app's signature.** This approval's AP2 mandates aren't waiting for this phone's key: they were signed already, the issuer key signed them instead, or the approval wasn't opened from this phone. Nothing to do: the agent collects the mandates from the approval's status. |
| [`ap2_issuer_unconfigured`](#ap2_issuer_unconfigured) | 503 `unavailable_error` | **AP2 issuer not configured.** Provenance signs AP2 mandates only where the deployment has turned its AP2 issuer on, so nothing was signed and nothing was recorded. Use the approval's intent token and the AP2 content (`ap2`), or ask the operator to turn the AP2 issuer on. |
| [`ap2_mandates_not_issuable`](#ap2_mandates_not_issuable) | 409 `invalid_request_error` | **No AP2 mandates for this approval.** AP2 mandates are signed only after the person approved this exact cart with a passkey (or the Provenance app's key), and only for an approval created with `ap2.issue`. This one wasn't, or it isn't approved. Create the approval with `ap2: { issue: true }` and a Checkout JWT, and read it again once the person approves. |
| [`api_key_expired`](#api_key_expired) | 401 `authentication_error` | **API key expired.** The API key provided is past its `expires_at`. Create a fresh key and rotate it into your integration. |
| [`api_key_revoked`](#api_key_revoked) | 401 `authentication_error` | **API key revoked.** The API key provided was revoked. Issue a new key and rotate it into your integration. |
| [`api_version_not_newer`](#api_version_not_newer) | 409 `invalid_request_error` | **API version not newer.** An API version upgrade in the console named a version that isn't newer than the one the account uses. The account's version only moves forward. Pick a newer version, or leave the version out to upgrade to the current one. See [versioning](https://provenanceauth.com/docs/reference/versioning.md#upgrade-your-account). |
| [`api_version_unknown`](#api_version_unknown) | 400 `invalid_request_error` | **Unknown API version.** The request's `Provenance-Version` header names a version the API doesn't have. Send one of the versions listed on [versioning](https://provenanceauth.com/docs/reference/versioning.md), or leave the header out to use your account's version. |
| [`appeal_already_filed`](#appeal_already_filed) | 409 `invalid_request_error` | **Appeal already filed.** An appeal was already filed with this single-use link. Contact the carrier about the appeal already on file. |
| [`appeal_token_invalid`](#appeal_token_invalid) | 401 `authentication_error` | **Appeal link invalid.** The appeal link is invalid or expired. Ask the carrier for a new appeal link. |
| [`approval_already_decided`](#approval_already_decided) | 409 `invalid_request_error` | **Approval already decided.** The approval was already approved, denied or expired; resending the same decision returns 200, and a conflicting one returns this. Read the approval's `status` with `GET /v1/mandate/approvals/:id` instead of deciding again. |
| [`approval_already_open`](#approval_already_open) | 409 `invalid_request_error` | **Approval already open.** An approval for this intent token and action already exists: verify opened one, or it was routed to a different approver link. The first routing wins. Poll the existing approval (verify returns its `approval_id`), or authorize a new intent token for a new request. |
| [`approval_biometric_required`](#approval_biometric_required) | 400 `invalid_request_error` | **Biometric required.** The matching rule demands a biometric, so a bare approve is refused. Approve with a verified `biometric_challenge` and `biometric_assertion` (a passkey ceremony). |
| [`approval_device_key_required`](#approval_device_key_required) | 403 `permission_error` | **Approve in the Provenance app.** The rule behind this request says `approval_method: "device_key"`: only the approver's phone, with a face or fingerprint, can approve it. Denying works anywhere. Approve from the Provenance app on a phone you enrolled. |
| [`approval_link_not_resendable`](#approval_link_not_resendable) | 409 `invalid_request_error` | **Link can't be resent.** A new link is sent only for a routed approval that is still open, when the old link has expired. This link still works, was used, or the request is closed (`details.state` says which). Open the link if it still works. If the request expired, use request-resend to ask the company to send it again. |
| [`approval_not_routed_to_you`](#approval_not_routed_to_you) | 403 `permission_error` | **Approval not routed to you.** This approval's route sends it to other people, and you aren't among them yet. Owners can still decide it (recorded as an override); an API key can only withdraw it with a deny. Leave it to the people it's routed to, or ask an owner. The approval's `routing.targets` lists who has it now. |
| [`approval_routed_to_approver`](#approval_routed_to_approver) | 403 `permission_error` | **Approval routed to an approver.** This approval was routed to an approver through an approver link, so only that approver can approve it. The account can still deny it. Wait for the approver's decision (the `mandate.approval.approved` or `mandate.approval.declined` webhook, or poll verify), or deny it to withdraw the request. |
| [`approve_on_declined`](#approve_on_declined) | 400 `invalid_request_error` | **Approve on a decline.** A rule can't turn a customer's no into an order: an Approve or Review rule may not read `approval.decision eq declined`. A decline always ends the approval as `denied`. Use Reject for declined approvals (the default row does), or remove the condition. |
| [`approver_enrollment_failed`](#approver_enrollment_failed) | 400 `invalid_request_error` | **Approver enrollment failed.** The passkey registration or assertion didn't verify; the message names the cause. Retry the passkey ceremony on the same device. |
| [`approver_group_in_use`](#approver_group_in_use) | 409 `invalid_request_error` | **Approver group in use.** A rule in your active policy routes approvals to this group (as `to`, an escalation step or `hours`), so it can't be deleted. Change or remove the rules that name it (`error.details` lists them), then delete the group. |
| [`approver_group_limit_reached`](#approver_group_limit_reached) | 409 `invalid_request_error` | **Approver group limit reached.** The account already has 50 approver groups, the most it can hold. Delete a group no rule routes to (`DELETE /v1/mandate/approver_groups/:id`), or add people to an existing one. |
| [`approver_network_disabled`](#approver_network_disabled) | 503 `unavailable_error` | **Approver network disabled.** The approver network isn't accepting new invites on this server; existing links keep working. Retry later. Operators: turn the approver network back on; see [server configuration](https://provenanceauth.com/docs/self-host/configuration.md). |
| [`approver_not_linked`](#approver_not_linked) | 403 `permission_error` | **Approver not linked to the grant.** The cart is over one of a grant's limits, and the grant's account requires the yes to come from a passkey the grant's person registered (`require_same_person`). This passkey isn't one of theirs. The approval stays open. Approve with the passkey the person used for the grant, or decline. See [over the limit](https://provenanceauth.com/docs/mandate/guides/give-subagents-their-own-limits.md#over-the-limit). |
| [`approver_unauthenticated`](#approver_unauthenticated) | 401 `authentication_error` | **Approver session required.** The approver portal call carried no valid approver session. Sign in to the approver portal with your passkey, then retry. |
| [`arbiter_not_named`](#arbiter_not_named) | 403 `permission_error` | **Arbiter not named.** Only the arbiter the offer named records this dispute's outcome, and this dispute has no named arbiter or names another one. The parties decide disputes on offers with no arbiter: propose an outcome with `POST /v1/authorize/disputes/:id/propose`. |
| [`asked_by_not_a_person`](#asked_by_not_a_person) | 400 `invalid_request_error` | **Asked by not a person.** A brief's `asked_by` names who decides when an offer differs, and that is always a person: the grant's person, a member or an approver link. Never an agent. Leave `asked_by` out (the grant's person, or the account's approval routes), or send `root_person`, `member` or `approver_link`. |
| [`attest_not_set_up`](#attest_not_set_up) | 409 `invalid_request_error` | **Attest not set up.** The account has no Attest key of its own in this environment, so there is no carrier for the captures to land under. Create an Attest key in the console (Developers → API keys), then send the request with an account key. |
| [`attestation_key_revoked`](#attestation_key_revoked) | 400 `invalid_request_error` | **Attestation key revoked.** A certificate in the Android key attestation chain is revoked or suspended in Google's attestation status list, so the device's key can't be trusted. Enroll from another device. A device whose attestation keys leaked can't prove hardware backing. |
| [`authentication_required`](#authentication_required) | 401 `authentication_error` | **Authentication required.** The request carried no API key, session or other credential. Send the key as `Authorization: Bearer prv_test_…` or in the `X-API-Key` header. |
| [`authority_proof_not_allowed`](#authority_proof_not_allowed) | 409 `invalid_request_error` | **Authority proof not allowed.** An authority proof says this agent may commit to this offer, so it is signed only for an option the agent may accept now (within authority, checked again) or one a person accepted, while that acceptance is unused and the offer hasn't ended. `error.details.reason` says why not: `not_accepted`, `used`, `closed`, `expired`, `no_longer_allowed` or `agent_not_registered`. Accept the option first, or wait for the person's decision (`retry: wait_for_person`). The presenting agent must be a registered agent holding the grant. |
| [`authorization_pending`](#authorization_pending) | 400 `invalid_request_error` | **Authorization pending.** The person hasn't entered the code and granted the permission yet (RFC 8628). Keep polling at `interval` seconds until the code expires. |
| [`auto_approve_not_allowed`](#auto_approve_not_allowed) | 400 `invalid_request_error` | **Automatic approval not allowed.** A rule's `auto_approve` clause sits where a person is always required: the rule needs a biometric, a hardware tier, a minimum passkey age, more than one approver or a policy webhook, routes to an outside approver, or doesn't ask for approval. `error.param` names the field and `details[].guard` names the guard. Remove the clause from that rule, or move it to a rule that asks one person in your company. See [automate approvals](https://provenanceauth.com/docs/mandate/guides/automate-approvals.md). |
| [`backtest_in_progress`](#backtest_in_progress) | 409 `invalid_request_error` | **Backtest already running.** A traffic backtest for this account is still running. One runs at a time, because a traffic history can hold far more requests than a checkout history. Wait for the running backtest to answer, then send this one again. |
| [`batch_not_allowed`](#batch_not_allowed) | 409 `invalid_request_error` | **Not allowed in a batch.** One or more requests in the batch need their own review: over the account's `batch_max_amount`, a request with options, a first-time payee, a rule with `require: { individual: true }`, an account on Free, or already decided. Nothing in the batch was decided. Leave those requests out of the batch and approve them one at a time. See [batch approvals](https://provenanceauth.com/docs/mandate/guides/batch-approvals.md#what-cant-be-batched). |
| [`behaviour_only_reject`](#behaviour_only_reject) | 400 `invalid_request_error` | **Reject on behaviour alone.** A checkout rule that rejects (`require.deny`) can't match on behaviour signals alone: `agent.automation_score`, `agent.bot_likelihood`, `agent.bot_likelihood_score`, `agent.typed`, `agent.pointer_seen`, `agent.typing_interval_ms` and `agent.checkout_fill_seconds` come from how a form was filled in, which never decides an order on its own. `error.details` names each rule. Challenge or Review on those signals, or add a condition that must hold too (an amount, `agent.headless`, `agent.bot_score`). See [checkout rules](https://provenanceauth.com/docs/authorize/guides/assess-checkouts.md#bot-facts). |
| [`beta_access_required`](#beta_access_required) | 403 `permission_error` | **Sign-ups paused.** The operator has paused sign-up and sign-in, and this email isn't on the sign-in allowlist. Write to the contact address in the message to ask for access. Operators: add the email to the sign-in allowlist and restart, or empty the list to open sign-up. |
| [`billing_not_configured`](#billing_not_configured) | 503 `unavailable_error` | **Billing not configured.** A billing flow was called, but Stripe isn't configured on this server. Operators: add the Stripe keys; see [server configuration](https://provenanceauth.com/docs/self-host/configuration.md). See [plans and usage](https://provenanceauth.com/docs/account/plans-and-usage.md). |
| [`blocked_by_person`](#blocked_by_person) | 403 `permission_error` | **Blocked by the person.** The person blocked this agent in Provenance, so its requests to them are denied. Stop asking this person. Only they can unblock the agent, in their Provenance settings. |
| [`brief_closed`](#brief_closed) | 409 `invalid_request_error` | **Brief closed.** The brief isn't open: it was fulfilled, abandoned, expired or stopped. `error.details.status` says which. Nothing changed. Record a new brief for what is still wanted. |
| [`brief_exceeds_grant`](#brief_exceeds_grant) | 400 `invalid_request_error` | **Brief exceeds grant.** A brief can only narrow its grant: its price line is past a per-purchase cap or budget in the chain, a counterparty isn't on an allow list, its currency isn't the grant's, or its deadline is after the grant ends. `param` names the field. Ask for less, or ask the person to raise the grant first. See [counter-offers](https://provenanceauth.com/docs/mandate/guides/counter-offers.md#record-the-brief). |
| [`calibration_sharing_off`](#calibration_sharing_off) | 409 `invalid_request_error` | **Calibration sharing is off.** Labelling a decision for the bot-score calibration needs calibration sharing turned on for this account. An owner or admin turns it on with `PUT /v1/identify/settings/scraping` `{ calibration_sharing: true }`. |
| [`call_check_not_verified`](#call_check_not_verified) | 409 `invalid_request_error` | **Call not verified.** A request during the call needs a check that matched a registered call (`result: verified` with an agent). Guest confirmations and relayed codes are for calls without one. Check the call first. For a caller not on Provenance, send a guest confirmation instead. |
| [`call_line_unverified`](#call_line_unverified) | 403 `permission_error` | **Line not verified.** `to` isn't a number your account verified on the answering side, and no `code` was given. A business only checks calls to its own lines, so no account can ask about calls to someone else's. Verify the line with `POST /v1/mandate/call_numbers` (`side: "answering"`), or pass the short code the caller gave you as `code`. |
| [`call_number_code_invalid`](#call_number_code_invalid) | 400 `invalid_request_error` | **Number code invalid.** The verification code is wrong or expired (10 minutes), or the number used its 5 tries. The number isn't verified. Check the code and try again. After 5 tries or 10 minutes, start again with `POST /v1/mandate/call_numbers`. |
| [`calls_not_configured`](#calls_not_configured) | 503 `unavailable_error` | **Verified calls not set up.** Verified calls aren't turned on for this deployment, or the key that seals call credentials isn't set. Nothing was registered or checked. Ask the operator to turn on verified calls. Treat the call as unverified meanwhile. |
| [`canary_ai_labeling_off`](#canary_ai_labeling_off) | 403 `permission_error` | **AI labelling is off.** Your account setting `trace_explanations.ai_labeling` is `off`, so no example text is sent to the AI provider. An owner or admin turns it on with `PUT /v1/trace/settings/explanations` (`{"ai_labeling": "on"}`). |
| [`canary_draft_expired`](#canary_draft_expired) | 409 `invalid_request_error` | **Draft expired.** A draft's example text is kept 24 hours after its last change and 7 days at most, then deleted. Start a new draft with `POST /v1/trace/canary_drafts`. |
| [`canary_draft_mismatch`](#canary_draft_mismatch) | 409 `invalid_request_error` | **Draft does not match.** The set you are saving is not the draft's measured set (model, family or members differ), so the draft's numbers would not describe it. Save the draft's members as built, or save without `draft_id` and validate the set yourself. |
| [`canary_draft_not_built`](#canary_draft_not_built) | 409 `invalid_request_error` | **Draft not built.** The draft has no proposed set yet, or its examples changed since the last build. Build it with `POST /v1/trace/canary_drafts/{id}/build`. |
| [`canary_draft_not_enough_examples`](#canary_draft_not_enough_examples) | 409 `invalid_request_error` | **Not enough examples.** A build needs 20 to 200 confirmed examples, at least 8 flagged and 8 fine. Add or confirm examples, then build again. See [define a family from examples](https://provenanceauth.com/docs/trace/guides/canary-family-builder.md). |
| [`canary_draft_unconfirmed_labels`](#canary_draft_unconfirmed_labels) | 409 `invalid_request_error` | **Unconfirmed labels.** Some kept examples have a proposed label that nobody has confirmed or corrected. Confirm, correct or drop each one with `POST /v1/trace/canary_drafts/{id}/labels`, then build again. |
| [`canary_example_not_retained`](#canary_example_not_retained) | 409 `invalid_request_error` | **Trace text not retained.** That traced call kept hashes only, so it has no text to label. Pick calls made with `provenance.retain: true`, or type or upload the example. |
| [`canary_group_exists`](#canary_group_exists) | 409 `invalid_request_error` | **Canary group exists.** Your account already has a canary group with this slug. Pick another slug, or change the existing group with `PATCH /v1/trace/canary_groups/{id}`. |
| [`canary_group_limit`](#canary_group_limit) | 409 `invalid_request_error` | **Canary group limit.** An account has at most 100 canary groups, and a family can be in at most 20. Delete a group you do not use, or take the family out of one. See [canary families](https://provenanceauth.com/docs/trace/concepts/canary-families.md#groups). |
| [`canary_labeler_limit`](#canary_labeler_limit) | 429 `rate_limit_error` | **Labeler limit.** An account has 1,000 proposed labels and 10 generations a day in each environment. Label by hand meanwhile, or try again tomorrow (UTC). |
| [`canary_set_exists`](#canary_set_exists) | 409 `invalid_request_error` | **Canary set exists.** Your account already has a canary set for this family on this model. Update it with `PATCH /v1/trace/canary_sets/:id`, or delete it first. See [account canary sets](https://provenanceauth.com/docs/trace/guides/registry-builds.md#2-define-your-own-canary-set). |
| [`capture_assessment_not_ready`](#capture_assessment_not_ready) | 404 `invalid_request_error` | **Capture assessment not ready.** The capture request has no assessment yet: it's made at the first upload, and updated at each one and at completion. Read it again after the person takes the first photo, or wait for the capture_request.completed webhook. |
| [`capture_browser_not_allowed`](#capture_browser_not_allowed) | 409 `invalid_request_error` | **Capture needs an app.** This capture request has the browser off: it asks for hardware proof (`require_tier: "hardware"`) or its routing leaves `web` out, so it takes captures in an app only (the company's app, the Provenance app or its App Clip), not the browser camera. The web embed runs on the same routes and is refused for that request too. Open the request in the app the capture page offers, or ask the company for a request that allows the browser. |
| [`capture_contact_blocked`](#capture_contact_blocked) | 409 `invalid_request_error` | **Contact asked not to be contacted.** The person at this phone or email used the stop link on an earlier capture request from your account. Reach the person another way, or send the link yourself with `delivery: "self"`. |
| [`capture_contact_purged`](#capture_contact_purged) | 409 `invalid_request_error` | **Capture contact deleted.** The person's phone and email were deleted with the request's retention, so there is nobody to send a new request to. Create a new capture request with the person's contact. |
| [`capture_document_required`](#capture_document_required) | 409 `invalid_request_error` | **Document not chosen.** This ID session accepts several document kinds (`accepted_documents`), and the person hasn't chosen one for the item yet. Choose one of the accepted kinds (`POST /v1/attest/capture_links/items/:index/document`), then take the photo. |
| [`capture_enrollment_invalid`](#capture_enrollment_invalid) | 409 `invalid_request_error` | **Capture enrollment not live.** A per-capture enrollment of the Provenance app could not be used: its challenge is unknown, used, expired or for another link; the enrollment is not the live one for this request (a newer one replaced it, or the request ended); or the bundle does not carry the enrolled certificate or is not signed by its key. `param` names the field. Enroll again: `POST /v1/attest/capture_enrollments/challenge`, then `POST /v1/attest/capture_enrollments`, and sign the capture with the new key. |
| [`capture_enrollment_not_allowed`](#capture_enrollment_not_allowed) | 409 `invalid_request_error` | **Capture not routed to the app.** This capture request does not open in the Provenance app: its routing places neither the Provenance app nor its App Clip, or the app is not released for this platform in this deployment. Follow the request's `routing.steps` from the capture link: the company's app, or the capture page in the browser. |
| [`capture_enrollment_unavailable`](#capture_enrollment_unavailable) | 503 `unavailable_error` | **Capture enrollment unavailable.** The per-capture enrollment could not be checked or recorded: the attestation verifier or the store failed. No tier was assigned and nothing was enrolled; the server never substitutes a tier it could not verify. Retry shortly. |
| [`capture_file_link_invalid`](#capture_file_link_invalid) | 401 `authentication_error` | **File link invalid.** The capture file link is invalid or expired. Links last 15 minutes by default and one hour at most. List the request's files again (`GET /v1/attest/capture_requests/:id/files`) for fresh links. |
| [`capture_link_in_use`](#capture_link_in_use) | 409 `invalid_request_error` | **Capture link open elsewhere.** This capture link is already open in another browser. A link works in one browser at a time; it frees up after 30 minutes without activity. Continue on the device where the link is open, or ask the company for a new link. |
| [`capture_link_not_resendable`](#capture_link_not_resendable) | 409 `invalid_request_error` | **Capture link can't be resent.** A capture link is resent only while the request is open and was sent by text or email (`details.state` says why not). Open the link you have, or ask the company to send a new request. |
| [`capture_liveness_invalid`](#capture_liveness_invalid) | 409 `invalid_request_error` | **Head-turn challenge not valid.** The selfie's head-turn challenge is missing, expired (2 minutes), already answered, or belongs to another item. An ID session's selfie answers a fresh challenge each time. Start a new challenge (`POST /v1/attest/capture_links/items/:index/liveness`) and send the selfie with its frames within 2 minutes. |
| [`capture_nonce_invalid`](#capture_nonce_invalid) | 409 `invalid_request_error` | **Capture nonce invalid.** The upload carried no shutter nonce, or one that expired (120 seconds), was already used, or was issued for another item. Fetch a fresh nonce for the item (`POST /v1/attest/capture_links/items/:index/nonce`) right before the shutter, then upload once. |
| [`capture_request_closed`](#capture_request_closed) | 409 `invalid_request_error` | **Capture request closed.** The capture request is completed, expired or cancelled (`details.status` says which), so it takes no more captures or changes. Create a new capture request for the case. |
| [`capture_request_replaced`](#capture_request_replaced) | 409 `invalid_request_error` | **Capture request already asked again.** Ask again already made a new request for this one (`details.replaced_by` names it). Work on the newer request, or ask again from it. |
| [`capture_result_not_ready`](#capture_result_not_ready) | 409 `invalid_request_error` | **Capture result not ready.** A capture request's signed result exists once it is completed (`details.status` is its status now). Wait for `attest.capture_request.completed`, then fetch the result. |
| [`capture_review_not_open`](#capture_review_not_open) | 409 `invalid_request_error` | **Capture review not open.** A capture is accepted or rejected only once it is completed and its assessment is Review, and only once (`details.reason`: not_completed, not_in_review or reviewed). Read the capture's assessment; a capture the rules approved or rejected needs no review. To ask the person for new photos, use Ask again. |
| [`capture_routing_unavailable`](#capture_routing_unavailable) | 503 `unavailable_error` | **Capture routing unavailable.** Where capture links open could not be read: the account's routing setting or its plan could not be loaded. Nothing was created or saved; the server never substitutes the default order for a setting it could not read. Retry shortly. |
| [`capture_session_incomplete`](#capture_session_incomplete) | 409 `invalid_request_error` | **Capture session incomplete.** A guided session is sent only when every step has what it needs (`details.items` lists the item indexes still short). Take the missing photos or videos, then send the session again. |
| [`capture_session_needs_link`](#capture_session_needs_link) | 409 `invalid_request_error` | **Guided session needs the capture link.** `<provenance-capture capture-request>` takes capture requests with their own items. A guided ID or claim session runs on the capture page or in your app with the native SDK. Send the person the request's capture link (`delivery: "self"` gives you the URL), or open it in your app. |
| [`capture_type_unavailable`](#capture_type_unavailable) | 400 `invalid_request_error` | **Capture type unavailable.** An item asks for a capture type this server doesn't take yet (`error.param` names the item). Use `photo`, `selfie` or `id_document`, or check the capture requests guide for the types available today. |
| [`card_not_linked`](#card_not_linked) | 409 `invalid_request_error` | **Card not linked.** The card isn't linked from its bank's program, so it has no agent limits to read or set here. Link the card from the bank's app first; a card seen on an order or added by hand is a label only. |
| [`card_number_refused`](#card_number_refused) | 400 `invalid_request_error` | **Card number refused.** A field held what looks like a card number. Provenance never takes a card number: it reads the processor's card token and at most the last four digits. The value was not stored or logged. Send `card.token` (your processor's card token) and `card.last4` instead. See [issuer agent controls](https://provenanceauth.com/docs/authorize/guides/issuer-agent-controls.md). |
| [`cardholder_cap_exceeded`](#cardholder_cap_exceeded) | 409 `invalid_request_error` | **Above the bank's maximum.** The limit is above the most the bank lets a cardholder set for one agent, or above a limit the bank set itself, so nothing was written. Choose a limit at or below `error.details.max`. |
| [`cardholder_controls_off`](#cardholder_controls_off) | 409 `invalid_request_error` | **Cardholder controls off.** The card's bank hasn't turned on cardholder controls for its program, so a cardholder can't link the card or set its agent limits here. Set the card's agent limits in the bank's app, or ask the bank to turn on cardholder controls. |
| [`cart_totals_mismatch`](#cart_totals_mismatch) | 400 `invalid_request_error` | **Cart totals don't add up.** A cart with variants, pictures, adjustments or fulfillment is shown line by line, so its items × quantity plus its adjustments must equal `total`; this one doesn't. Send the cart exactly as `checkoutBinding(order)` builds it from your order record, with every shipping, tax, discount and fee line. See [show the full cart](https://provenanceauth.com/docs/authorize/guides/show-the-full-cart.md). |
| [`chain_unavailable`](#chain_unavailable) | 503 `unavailable_error` | **Chain unavailable.** A grant above this one couldn't be read, so nothing was allowed or minted. A missing chain never allows. Retry with backoff. |
| [`challenge_after_approval`](#challenge_after_approval) | 400 `invalid_request_error` | **Challenge after approval.** An after-approval checkout rule can't Challenge (`require.approval`): the customer was just asked. It approves, reviews or rejects. Pick Approve, Review or Reject for the rule, or move it to the assessment phase. See [checkout rules](https://provenanceauth.com/docs/authorize/guides/assess-checkouts.md#rules-after-the-customer-approves). |
| [`chargeback_state_invalid`](#chargeback_state_invalid) | 409 `invalid_request_error` | **Chargeback not in that state.** The chargeback isn't in a state that allows this: Submit now needs a response staged on Stripe and not yet sent; dismiss and references need a response we haven't finished. We never accept or close a dispute. Read the chargeback with `GET /v1/authorize/chargebacks/{id}` and act on its `state`, or open the dispute in the platform. |
| [`checkout_resend_unavailable`](#checkout_resend_unavailable) | 409 `invalid_request_error` | **New link not available.** A person can ask for a new link only from an expired checkout approval, and only when the store turned on `resend_on_expiry` (`details.state` says which). Ask the agent to start a new approval, or turn on `resend_on_expiry` in your checkout approval settings. |
| [`chunk_index_conflict`](#chunk_index_conflict) | 409 `invalid_request_error` | **Chunk index conflict.** A capture-session chunk index was submitted twice. Send each chunk index once, in order, starting at 0. |
| [`ciba_binding_message_too_long`](#ciba_binding_message_too_long) | 400 `invalid_request_error` | **Binding message too long.** `binding_message` is shown to the person on the approval page, and is at most 64 characters. The OAuth endpoints answer `invalid_binding_message`. Shorten the binding message to 64 characters or fewer. |
| [`ciba_client_invalid`](#ciba_client_invalid) | 401 `authentication_error` | **OAuth client authentication failed.** The OAuth client couldn't be authenticated: the client is unknown, disabled or in another environment, the secret is wrong, or the `private_key_jwt` assertion failed (signature, `aud`, `exp` more than 5 minutes out, a reused `jti`, or a JWKS URL that couldn't be fetched). The OAuth endpoints answer `invalid_client`. Check the client id and its credential. Sign a new assertion with a fresh `jti`, an `exp` within 5 minutes and `aud` set to the endpoint or the issuer. |
| [`ciba_details_invalid`](#ciba_details_invalid) | 400 `invalid_request_error` | **Authorization details invalid.** `authorization_details` must be a JSON array of 1 to 5 objects of type `provenance_action`, each with `action_type` and `description` (and `amount` with `currency` when there's an amount). The OAuth endpoints answer `invalid_authorization_details`. Send up to 5 `provenance_action` details of a type the client is allowed. |
| [`ciba_hint_unknown`](#ciba_hint_unknown) | 400 `invalid_request_error` | **Unknown person.** The `login_hint`, `id_token_hint` or `login_hint_token` didn't name a person this account knows: a member, the owner, or an outside approver with an active link. CIBA never reaches people the account hasn't added. The OAuth endpoints answer `unknown_user_id`. Send the email of a member or an outside approver, the pairwise `sub` from an earlier id token, or an id token we issued to this client. |
| [`ciba_unauthorized_client`](#ciba_unauthorized_client) | 400 `invalid_request_error` | **Not allowed for this client.** The client isn't allowed what it asked for: a scope outside its allowed scopes, an `authorization_details` type it isn't allowed, or ping delivery without a registered notification endpoint. The OAuth endpoints answer `unauthorized_client` (`invalid_scope` for a scope). Change the client's allowed scopes, detail types or delivery modes in Developers → OAuth clients. |
| [`clinical_order_not_pending`](#clinical_order_not_pending) | 409 `invalid_request_error` | **Order not pending.** The order was already authorized or declined. Read the order's `status` with `GET /v1/authorize/clinical_orders/:id` instead of deciding again. |
| [`connect_code_invalid`](#connect_code_invalid) | 400 `invalid_request_error` | **Code invalid.** No pending connect code matches. Codes are 8 letters, single-use and last 10 minutes; five wrong tries lock entry for 15 minutes. Check the code in your agent, or ask it for a new one. |
| [`connect_token_invalid`](#connect_token_invalid) | 400 `invalid_request_error` | **Connect token invalid.** The `provenance_connect` token is unknown, used, expired (10 minutes) or for another maker's agent. Send the person back to Provenance to start again from the directory. |
| [`consent_evidence_too_large`](#consent_evidence_too_large) | 413 `invalid_request_error` | **Image too large.** A consent image can be up to 5 MB. Send a smaller PNG or JPEG, or give a proof link instead. |
| [`console_session_required`](#console_session_required) | 403 `permission_error` | **Console session required.** This page's request only works signed in to the console; an API key or an MCP client's token can't make it. Open the link in your browser, signed in to the console. See [Developer tools](https://provenanceauth.com/docs/provenance-mcp/developer-tools.md#sign-in). |
| [`console_stream_unavailable`](#console_stream_unavailable) | 503 `unavailable_error` | **Live updates unavailable.** The console's account stream can't be served right now (turned off on this server, or the store couldn't be read). Read the lists through their own routes and try the stream again later; the console checks every 15 seconds on its own. See [live lists](https://provenanceauth.com/docs/account/console.md#live-updates). |
| [`contact_blocked`](#contact_blocked) | 409 `invalid_request_error` | **Contact blocked.** This phone or email asked for no demo messages: a STOP to a demo text, or the email's block link. Offer the QR code instead; nothing is sent to this contact. |
| [`contact_not_allowed`](#contact_not_allowed) | 403 `permission_error` | **Contact not allowed.** A demo account messages only the contact its demo app registered for an open session, and this request names someone else, a session that ended, or a message the demo accounts don't send (reminders, approver invites, team invites). Register the visitor's contact for the session first, or create the request with no contact and show its QR code. |
| [`contact_unsupported`](#contact_unsupported) | 400 `invalid_request_error` | **Contact not supported.** The live demos text US phone numbers only (`+1`). Any email address works. Use a `+1` phone number, an email address or the QR code. |
| [`counter_offer_closed`](#counter_offer_closed) | 409 `invalid_request_error` | **Counter-offer closed.** The counter-offer was already accepted (one acceptance each), withdrawn, declined, expired or stopped. `error.details` carries `status` and the accepted `option`, if any. Read the counter-offer; post a new one for a new offer. |
| [`counter_offer_no_longer_allowed`](#counter_offer_no_longer_allowed) | 409 `invalid_request_error` | **Counter-offer not allowed now.** The option was within authority when it was decided, but checked again at acceptance it isn't: a grant in the chain was revoked, lowered or spent, or the run stopped. `error.details.reason` says why. Post the offer again to have it decided now, or find another. |
| [`counter_offer_not_accepted`](#counter_offer_not_accepted) | 409 `invalid_request_error` | **Counter-offer not accepted.** The option isn't within the agent's authority (its result is `ask` or `refused`), and no person has accepted it. Only a person accepts what the grant doesn't cover. Wait for the person's decision (`retry: wait_for_person`), or find another offer (`find_another`). |
| [`counter_offer_terms_changed`](#counter_offer_terms_changed) | 409 `invalid_request_error` | **Purchase doesn't match the counter-offer.** The purchase names a counter-offer (`counter_offer_id`), but it isn't what was accepted: another offer hash, a higher amount than the accepted amount plus the option's declared `tax_and_fees`, another currency or counterparty, a line that wasn't offered, or an action hash other than the option's. `error.details.changes` lists each field with the accepted and the purchase value. Nothing was spent. Buy exactly what was accepted, or post the new terms as a counter-offer with `revises` so they are decided again. |
| [`csrf_invalid`](#csrf_invalid) | 403 `permission_error` | **CSRF token invalid.** A cookie-authenticated request carried a missing or wrong CSRF token. Echo the readable CSRF cookie in the `X-CSRF-Token` header on every state-changing request. |
| [`customer_routing_not_allowed`](#customer_routing_not_allowed) | 400 `invalid_request_error` | **Customer routing not allowed.** A cart approval can go to your own customer only with a contact from your own records: `customer` needs `customer_source: "merchant_account"`, and the request needs an account API key. Pass the phone or email you hold for this customer with `customer_source: "merchant_account"`, or leave `customer` out and let the agent show the approve link. See [ask your own customer](https://provenanceauth.com/docs/authorize/guides/ask-your-own-customer.md). |
| [`dashboard_session_required`](#dashboard_session_required) | 403 `permission_error` | **Dashboard session required.** This needs a signed-in console session: a change here needs an owner or admin, and the live tail streams only to the console. API keys, agents and impersonation sessions can't use it. Sign in to the console and make the change there. See [sign-in and teams](https://provenanceauth.com/docs/account/sign-in-and-teams.md). |
| [`deal_already_rated`](#deal_already_rated) | 409 `invalid_request_error` | **Deal already rated.** Your side already rated this deal; each side rates once. Nothing to do: the first rating stands. |
| [`deal_not_rateable`](#deal_not_rateable) | 409 `invalid_request_error` | **Deal not rateable.** Only a `completed` or `completed_unconfirmed` deal can be rated. Rate the deal once it completes. |
| [`deal_person_required`](#deal_person_required) | 400 `invalid_request_error` | **Approver needed.** A person must approve this deal, and the side named in `error.details.side` has nobody who can: the seller has no approvers set up, or the buyer has no passkey approver and no grant device. The seller adds approvers in Settings → Approvers; the buyer adds an approver or accepts under a grant whose person has a device key. |
| [`deal_state_invalid`](#deal_state_invalid) | 409 `invalid_request_error` | **Deal state invalid.** The action doesn't apply to the deal in its current status (for example, a delivery for a cancelled deal, or a buyer cancel after delivery); `error.details.status` is the status. Read the deal with `GET /v1/authorize/deals/:id` and act on its current status. |
| [`delegation_depth_exceeded`](#delegation_depth_exceeded) | 400 `invalid_request_error` | **Delegation depth exceeded.** A chain goes at most 4 levels below the person's grant, or fewer when a grant above set a lower `max_depth`. `error.details.max_depth` is the limit. Delegate from a grant higher in the chain, or let the subagent work under its own grant without delegating further. |
| [`delegation_exceeds_parent`](#delegation_exceeds_parent) | 400 `invalid_request_error` | **Delegation exceeds parent.** A child grant can only be narrower than the grant it's delegated from: caps at most the parent's, a budget window at most as long, action types and counterparties within the parent's, an expiry no later, and no schedule or check-ins of its own. `param` names the field (`constraints.max_amount`). With `param: "budget.allocation"`, the budget's settings can't be had: a reserved budget or one that keeps going at its limit needs a budget and the mandate's currency, a reserved one the parent's budget window, and the parent's live reserved budgets must fit in its budget (`error.details.available_to_reserve` is what is left). Lower the field named in `param`, or leave it out to inherit the parent's value. For `budget.allocation`, reserve at most what is left, or set it to `shared`. See [delegate to subagents](https://provenanceauth.com/docs/mandate/guides/give-subagents-their-own-limits.md). |
| [`delegation_limit_reached`](#delegation_limit_reached) | 409 `invalid_request_error` | **Delegation limit reached.** A grant has at most 50 active child grants at a time. Revoked and expired children don't count. Revoke child grants whose work is done with `POST /v1/mandate/grants/:id/revoke`, then delegate again. |
| [`delegation_not_allowed`](#delegation_not_allowed) | 403 `permission_error` | **Delegation not allowed.** The person's grant has `hand_on: never`, so its agent can't propose subagents under it. The person sees nothing. A grant gets `hand_on: ask` when the maker's request proposed hand-on (`proposed.hand_on: true`) and the person kept it. Ask for hand-on in the grant request, or work under the agent's own grant. See [propose a plan of subagents](https://provenanceauth.com/docs/mandate/guides/propose-a-plan-of-subagents.md). |
| [`delivery_receipt_invalid`](#delivery_receipt_invalid) | 400 `invalid_request_error` | **Delivery receipt invalid.** The delivery receipt is malformed, isn't signed with the seller agent's registered key, or names another deal or offer. Sign the receipt with `signDelivery()` from `@provenanceauth/rails/deals`, with this deal's `id` and `offer_hash`. |
| [`demo_account_only`](#demo_account_only) | 403 `permission_error` | **Demo accounts only.** Allowed contacts belong to the live demos' own accounts. This account isn't one of them. Send requests to your own customers as usual; nothing here applies to your account. |
| [`demo_unavailable`](#demo_unavailable) | 503 `unavailable_error` | **Demo unavailable.** The demo service couldn't take this call. `details.reason` says why: `unavailable` (its records couldn't be read or saved), `paused` (an ops admin paused demo texts and contact registration) or `busy` (the day's demo texts reached the ceiling). Nothing was registered or sent, and no result was made up. Show the visitor that the demo is busy, and retry after `Retry-After` seconds. |
| [`detector_not_configured`](#detector_not_configured) | 503 `unavailable_error` | **Detector not configured.** This server has no synthetic-media detector set up, so no score is produced. Operators: add the detector credentials; see [server configuration](https://provenanceauth.com/docs/self-host/configuration.md). See [synthetic-media screening](https://provenanceauth.com/docs/attest/concepts/synthetic-media-screening.md). |
| [`device_already_enrolled`](#device_already_enrolled) | 409 `invalid_request_error` | **Device already enrolled.** A device with this `device_id` is already in the device registry, so it can't be enrolled again under another key or carrier. Enroll the phone with a new `device_id`, or leave `device_id` out and the API makes one. |
| [`device_enrollment_closed`](#device_enrollment_closed) | 409 `invalid_request_error` | **Device enrollment closed.** The enrollment link isn't waiting for a passkey any more: the phone was already enrolled, the company revoked the link, or it expired. `error.details.status` says which. A link enrolls one phone, once. Read the enrollment (`GET /v1/mandate/device_enrollments/:id`). To enroll another phone, create a new link. See [enroll a person's phone](https://provenanceauth.com/docs/mandate/guides/biometric-approval.md#enrol-a-persons-phone-with-a-link). |
| [`device_key_invalid`](#device_key_invalid) | 403 `permission_error` | **Device key not valid.** The phone's signature didn't verify over this challenge, the challenge expired or belongs to another request, or the device was removed or its key invalidated (a new fingerprint or face invalidates it). Ask for a new challenge and sign it on the same phone. If the key was invalidated, sign in again in the app to enroll the phone again. |
| [`device_tier_insufficient`](#device_tier_insufficient) | 403 `permission_error` | **Device tier too low.** The rule behind this request needs an approving device at or above `min_tier`, and the server assigned this phone a lower tier. Approve on a phone whose key the server verified at that tier (for example a phone with StrongBox), or ask the company to change the rule. |
| [`directory_unavailable`](#directory_unavailable) | 503 `unavailable_error` | **Agent directory unreachable.** The call credential names an agent directory outside Provenance (`iss`) that didn't answer in time, answered with an error or isn't a valid key set (https only, no redirects, no private hosts). Nothing was registered. Check that the directory serves the agent's public keys over https, then register again. |
| [`disclosure_not_permitted`](#disclosure_not_permitted) | 403 `permission_error` | **Disclosure transition not permitted.** The disclosure request can't move to that state: for neuron disclosure only a `pending` request can be approved or denied, only a `granted` one revoked, and mode `never` grants nothing; for an Identify disclosure only a `pending_consent` request takes a consent or a decline, only an `in_review` one a review decision, and a decided one can't be withdrawn. Check the request's `status` with `GET /v1/trace/disclosure_requests`, or change your mode with `PUT /v1/trace/settings/disclosure`. |
| [`disclosure_requires_human`](#disclosure_requires_human) | 403 `permission_error` | **Human requester required.** The neuron disclosure requester endpoints accept only a passkey-verified requester session; an API key, embed token or expired session gets this. Sign in with a passkey through `/v1/trace/disclosure/auth/*` and send the requester session as the Bearer token. See [neuron disclosure](https://provenanceauth.com/docs/trace/guides/neuron-disclosure.md). |
| [`disclosure_subject_unknown`](#disclosure_subject_unknown) | 400 `invalid_request_error` | **Disclosure subject unknown.** The pseudonym has no decision at your site that carried a person's approval, so there is no one to ask. Pseudonyms are never reversed; only your own recorded decisions resolve one. File the request with a pseudonym from one of your recorded verdicts where `human.backed` was true. |
| [`discovery_origin_unverified`](#discovery_origin_unverified) | 409 `invalid_request_error` | **No verified domain.** A profile is published only for a business with a verified domain: a store origin in the directory or a selling agent's origin, proved by its well-known file or DNS TXT record. Register an origin in Settings → Store → Network and publish its proof, or verify a selling agent's origin, then publish again. |
| [`dispute_already_open`](#dispute_already_open) | 409 `invalid_request_error` | **Dispute already open.** This deal (or tab day) already has a draft, open or responded dispute; `error.details.dispute_id` is its id. One open dispute per deal or tab period. Add to the open dispute with `POST /v1/authorize/disputes/:id/evidence`, or open its draft with `POST /v1/authorize/disputes/:id/open`. |
| [`dispute_evidence_not_configured`](#dispute_evidence_not_configured) | 503 `unavailable_error` | **Dispute evidence not configured.** This server has no key to seal added evidence with. The automatic bundle, findings, responses and outcomes still work. Ask the server's operator to set its dispute evidence key, then add the evidence again. |
| [`dispute_state_invalid`](#dispute_state_invalid) | 409 `invalid_request_error` | **Dispute state invalid.** The action doesn't apply to the dispute in its current state, or to who decides it (for example, a response after the response window, or a rail outcome on a dispute the parties decide); `error.details.status` is the state. Read the dispute with `GET /v1/authorize/disputes/:id`: `status`, `decider` and `actions` say what can happen next. |
| [`dispute_window_closed`](#dispute_window_closed) | 409 `invalid_request_error` | **Dispute window closed.** Disputes open within 30 days of the deal's deadline or delivery, whichever is later (for a tab, 30 days after the day ends). `error.details.closed_at` is when the window closed. Settle it with the seller directly, or through the rail's own dispute process. |
| [`docs_unavailable`](#docs_unavailable) | 503 `unavailable_error` | **Docs tools unavailable.** The developer MCP server couldn't reach the docs MCP server it forwards the docs tools to, or none is set up on this deployment. Its own tools still work. Retry shortly, or connect the keyless docs server directly. See [Developer tools](https://provenanceauth.com/docs/provenance-mcp/developer-tools.md). |
| [`dpop_proof_invalid`](#dpop_proof_invalid) | 401 `authentication_error` | **DPoP proof failed.** The DPoP proof sent with a holder-bound grant didn't check: not an ES256 `dpop+jwt`, a key in its header that isn't a P-256 public key, a bad signature, an `htm` or `htu` that isn't this request, an `iat` more than 60 seconds from now, no `jti`, or an `ath` that isn't the hash of the grant token sent. The message says which. Sign a new proof for each request: `htm` the method, `htu` the URL without its query, `iat` now, a fresh `jti`, and `ath` the base64url SHA-256 of the grant token. See [bind a grant to its holder](https://provenanceauth.com/docs/mandate/guides/bind-a-grant-to-its-holder.md). |
| [`dpop_proof_replayed`](#dpop_proof_replayed) | 401 `authentication_error` | **DPoP proof already used.** This DPoP proof's `jti` was already seen inside its 60-second window. Each proof is good for one request. Sign a new proof with a fresh `jti` for every request, retries included. See [bind a grant to its holder](https://provenanceauth.com/docs/mandate/guides/bind-a-grant-to-its-holder.md). |
| [`dpop_proof_required`](#dpop_proof_required) | 401 `authentication_error` | **DPoP proof required.** The grant is holder-bound (`holder_jkt`, the token's `cnf.jkt`), so it works only with a DPoP proof signed by the holder's key, and the request had none. A copied grant token is useless without that key. Sign a DPoP proof for this request with the holder's private key (`signHolderProof`) and send it in the `DPoP` header. See [bind a grant to its holder](https://provenanceauth.com/docs/mandate/guides/bind-a-grant-to-its-holder.md). |
| [`email_delivery_failed`](#email_delivery_failed) | 502 `api_error` | **Email delivery failed.** The email provider rejected or failed the send, so no email went out; the provider error is logged against your `request_id`. Retry shortly. Operators: check that the sender's domain is verified with the email provider. |
| [`email_domain_taken`](#email_domain_taken) | 409 `invalid_request_error` | **Email domain taken.** Another account already verified this sending domain. Use a domain your company owns that no other account verified, or contact support to move it. |
| [`email_not_configured`](#email_not_configured) | 503 `unavailable_error` | **Email not configured.** This server has no email provider configured, so it can't send email or register sending domains. Retry later. Operators: configure the email provider; see [server configuration](https://provenanceauth.com/docs/self-host/configuration.md). |
| [`email_not_verified`](#email_not_verified) | 403 `permission_error` | **Email not verified.** The password is right but the email hasn't been verified yet, so the password can't sign in. Open the verification link we emailed at signup, or sign up again to get a fresh one. |
| [`email_provider_error`](#email_provider_error) | 502 `api_error` | **Email provider error.** The email provider refused or failed the request; the message names its answer. Check the domain and retry. If it persists, contact support with the request ID. |
| [`embed_filter_pinned`](#embed_filter_pinned) | 400 `invalid_request_error` | **Filter fixed at mint.** A list embed session (`capture_list`, `checkout_list`, `run_list`, `traffic_list`) can carry filters the company's server fixed at mint (`filters`, for example one case reference or one outcome). The browser can't change them: this page asked for another value of a fixed filter. `param` names it. Leave the fixed filter out of the request (the session applies it), or mint a session without it. See [embeds](https://provenanceauth.com/docs/embeds/capture-list.md). |
| [`embed_link_expired`](#embed_link_expired) | 400 `invalid_request_error` | **Hosted page link expired.** A hosted page link opens within its `ttl` (15 minutes at most). This one wasn't opened in time. Nothing was shown. Mint a new link from your server. See [the hosted page](https://provenanceauth.com/docs/embeds/hosted-page.md). |
| [`embed_link_used`](#embed_link_used) | 409 `invalid_request_error` | **Hosted page link already opened.** A hosted page link (`POST /v1/embed/links`) opens once. This one was opened already; the page it opened keeps working for its page session (up to 60 minutes), in the browser that opened it. Mint a new link from your server. See [the hosted page](https://provenanceauth.com/docs/embeds/hosted-page.md). |
| [`embed_object_kind_mismatch`](#embed_object_kind_mismatch) | 400 `invalid_request_error` | **Wrong object kind for widget.** A result widget shows one kind of object, named by its id: `capture_result` takes a capture request (`capr_…`), `checkout_result` a checkout assessment (`cas_…`) or a cart approval (`coap_…`), `run_result` and `counter_offers` an agent run (`run_…`), `traffic_result` a traffic assessment (`tas_…`). The `object_id` sent at mint is another kind. Mint the widget that matches the object, or pass an id of the widget's kind. See [embeds](https://provenanceauth.com/docs/embeds.md). |
| [`embed_origin_not_allowed`](#embed_origin_not_allowed) | 403 `permission_error` | **Embed origin not allowed.** The publishable key lists the sites allowed to render its components, and this request's `Origin` isn't one of them. Add the site to the key's `allowed_origins` with `PATCH /v1/embed/publishable_keys/:id`, or use a key made for this site. See [embeds](https://provenanceauth.com/docs/embeds.md). |
| [`embed_request_out_of_scope`](#embed_request_out_of_scope) | 400 `invalid_request_error` | **Outside the session's options.** A request composer session (`capture_request`) sends only within the options the company's server fixed at mint: its kinds, the hardware requirement when it isn't editable, the longest expiry, a contact only when it may be changed, and no QR when the mint turned it off. The send asked for something else; `param` names the option. Send within the session's options (`GET /v1/embed/capture_request_form` lists them), or mint a session that allows it. See [embeds](https://provenanceauth.com/docs/embeds/capture-request.md). |
| [`embed_result_unavailable`](#embed_result_unavailable) | 503 `unavailable_error` | **Result unavailable.** The object behind a result embed, its photos or its signed result couldn't be read right now. Nothing is shown in its place: the embed shows that the result is unavailable, never a made-up result. Retry shortly. The embed retries on its own when its photo links are next refreshed. |
| [`embed_sends_exhausted`](#embed_sends_exhausted) | 429 `rate_limit_error` | **Session sends used.** A request composer session sends at most `max_sends` requests (1 to 10, 3 by default), so a copied token can't send more. This session has sent them all. Mint a new session from your server. See [embeds](https://provenanceauth.com/docs/embeds/capture-request.md). |
| [`embed_token_invalid`](#embed_token_invalid) | 401 `authentication_error` | **Embed token invalid.** The embed token or publishable key is invalid, expired or scoped to another widget or object. Mint a fresh token server-side with `POST /v1/embed/tokens`. See [embeds](https://provenanceauth.com/docs/embeds.md). |
| [`environment_mismatch`](#environment_mismatch) | 403 `permission_error` | **Environment mismatch.** The resource belongs to a different environment than the API key (sandbox or live). Use a key from the resource's environment; sandbox keys only see sandbox data. |
| [`evidence_limit_reached`](#evidence_limit_reached) | 409 `invalid_request_error` | **Evidence limit reached.** Each side may add up to 20 evidence items to a dispute. Nothing can be removed. Combine related files into one item (an archive or a PDF), or send a content_hash for material you keep yourself. |
| [`exchange_append_failed`](#exchange_append_failed) | 503 `unavailable_error` | **Exchange append failed.** The exchange record couldn't be written or its head couldn't be signed, so the request that would have written it answered 503 and nothing was saved: the object and its entry commit together or not at all. An exchange head is never left unsigned. Retry the same request with the same `Idempotency-Key`; it is safe to repeat. |
| [`expired_token`](#expired_token) | 400 `invalid_request_error` | **Code expired.** The connect code expired, or its permission was already handed over (RFC 8628). Create a new code with `POST /v1/mandate/connect_codes` and show it again. |
| [`explainer_error`](#explainer_error) | 502 `api_error` | **Explainer error.** The AI summary endpoint failed, timed out or returned a malformed answer, and nothing was stored. Retry later; the explanation's template summary and evidence stay available. |
| [`explainer_unavailable`](#explainer_unavailable) | 503 `unavailable_error` | **Explainer unavailable.** No AI summary endpoint is configured on this server, so no summary was written. Read the explanation's template summary and evidence. Operators: configure the explainer as in [self-hosting the worker](https://provenanceauth.com/docs/self-host/configuration.md#trace-worker). |
| [`external_delegation_declined`](#external_delegation_declined) | 403 `permission_error` | **The grantor said no.** The grantor declined the hand-off, or didn't answer before its approval expired, so no grant was minted for the outside agent. Ask again with a new delegate call (leave out `handoff_id`) if the grantor should see it again. See [hand a grant to an outside agent](https://provenanceauth.com/docs/mandate/guides/hand-a-grant-to-an-outside-agent.md). |
| [`external_delegation_refused`](#external_delegation_refused) | 403 `permission_error` | **Hand-offs outside the account are off.** The account's `delegation.external` setting is `refuse`, so a grant can't be handed to an agent outside the account. Nothing was sent to anyone. Delegate to an agent in your own account, or set `external` to `ask` with `PUT /v1/mandate/settings/delegation`. See [hand a grant to an outside agent](https://provenanceauth.com/docs/mandate/guides/hand-a-grant-to-an-outside-agent.md). |
| [`external_delegation_used`](#external_delegation_used) | 409 `invalid_request_error` | **Hand-off already used.** This hand-off already minted its grant. One yes mints one grant; its id is in the message. Use the grant that was minted, or start a new hand-off without `handoff_id`. See [hand a grant to an outside agent](https://provenanceauth.com/docs/mandate/guides/hand-a-grant-to-an-outside-agent.md). |
| [`external_helper_not_allowed`](#external_helper_not_allowed) | 400 `invalid_request_error` | **External subagent not allowed.** A person's grant can't be handed on to an agent outside the registry (an external hand-off). External hand-offs stay a company-grant feature. Use a registered and verified agent for the subagent. |
| [`finding_category_unknown`](#finding_category_unknown) | 400 `invalid_request_error` | **Finding category unknown.** A reported finding named a category that isn't on the fixed list. It's refused, never mapped to a near one. Use one of `prompt_injection`, `indirect_injection`, `jailbreak`, `unsafe_output`, `pii_leak`, `malicious_link`, `credential_exfiltration` or `off_task`. See [findings from other guards](https://provenanceauth.com/docs/trace/guides/trace-rules.md#findings-from-other-guards). |
| [`grant_changed`](#grant_changed) | 409 `invalid_request_error` | **Grant changed.** The network grant changed after it was read (another device, a pause or an automatic revert), so `expected_version` doesn't match and nothing was written. `error.details.grant` carries the current grant. Show the person the current limits from `error.details.grant` and send the change again with its `version`. |
| [`grant_draft_closed`](#grant_draft_closed) | 409 `invalid_request_error` | **Grant draft closed.** The grant draft was already allowed or declined, or its 15 minutes ran out. A draft creates nothing until it's allowed. Create a new draft with `POST /v1/mandate/grant_drafts` and mint a new embed token for it. See [grants](https://provenanceauth.com/docs/mandate/concepts/grants.md). |
| [`grant_invalid`](#grant_invalid) | 400 `invalid_request_error` | **Grant invalid.** The `mandate_token` failed validation: a bad signature, expiry, revocation, another account, or a different device or session binding. Ask the person for a fresh grant, and pass it for the device and session it was granted to. |
| [`guarantee_program_overlap`](#guarantee_program_overlap) | 409 `invalid_request_error` | **Program scopes overlap.** A program on this payment connection already includes part of that checkout scope. One order belongs to one program. End the other program first (`DELETE /v1/authorize/guarantee/programs/{id}`), or list checkout origins it doesn't include. |
| [`guarantee_state_invalid`](#guarantee_state_invalid) | 409 `invalid_request_error` | **Not possible in this state.** The program or order isn't in a state that allows this: an order can be cancelled only before its charge is seen and before it lapses; an ended program can't change. Read it again (`GET /v1/authorize/guaranteed_orders/{id}` or `GET /v1/authorize/guarantee/programs/{id}`) and act on its state. |
| [`guarantee_unavailable`](#guarantee_unavailable) | 503 `unavailable_error` | **Approval Guarantee not open.** This deployment isn't taking Approval Guarantee programs, so nothing was started and no fee applies. Keep answering chargebacks with your approval records meanwhile ([chargeback responses](https://provenanceauth.com/docs/authorize/guides/chargeback-responses.md)). |
| [`helper_not_verified`](#helper_not_verified) | 400 `invalid_request_error` | **Subagent not verified.** Every subagent in a plan under a person's grant is a registered agent with an active signing key. `param` names the helper. Register the agent and add a signing key (`POST /v1/identify/agents/:id/signing_keys`), then propose again. |
| [`holder_mismatch`](#holder_mismatch) | 401 `authentication_error` | **Not the grant's holder.** The DPoP proof checked, but it was signed by a key other than the one the grant is bound to: its thumbprint isn't the grant's `holder_jkt` (`cnf.jkt`). Sign the proof with the private key whose public key was given as `holder_key` when the grant was minted. See [bind a grant to its holder](https://provenanceauth.com/docs/mandate/guides/bind-a-grant-to-its-holder.md). |
| [`holder_proof_invalid`](#holder_proof_invalid) | 401 `authentication_error` | **Holder proof failed.** An agent delegated from the grant it holds, and the proof didn't check: `parent_token` isn't this grant's token or is expired, the grant names no agent, or the request's signature isn't from that agent's registered key (missing, expired, replayed, or not covering `@method`, `@path` and `content-digest`, or a `Content-Digest` that doesn't match the body). The message says which. Send the grant's own token in `parent_token` and sign the request with a key registered to the agent the grant names (`POST /v1/identify/agents/:id/signing_keys`), covering `content-digest`. Name the agent at grant (`agent_id`). See [delegate with the agent's own grant](https://provenanceauth.com/docs/mandate/guides/give-subagents-their-own-limits.md#delegate-with-the-agents-own-grant). |
| [`holder_proof_required`](#holder_proof_required) | 403 `permission_error` | **Holder proof required.** The account requires holder proof to delegate (`require_holder_proof`), so an account key can't mint a child grant. The agent that holds the grant delegates from it with its own signature, or a person delegates in the console. Delegate with `parent_token` and the agent's signature, or turn off `require_holder_proof` with `PUT /v1/mandate/settings/delegation`. See [delegate with the agent's own grant](https://provenanceauth.com/docs/mandate/guides/give-subagents-their-own-limits.md#delegate-with-the-agents-own-grant). |
| [`idempotency_key_in_use`](#idempotency_key_in_use) | 409 `invalid_request_error` | **Idempotency key in use.** Another request with this `Idempotency-Key` is still running. Wait for the first request to finish, then retry with the same key to get its result. |
| [`idempotency_key_reused`](#idempotency_key_reused) | 400 `idempotency_error` | **Idempotency key reused.** The idempotency key (on `POST /v1/attest/attestations`, the `attestation_id`) was already used with a different request body, and the API never overwrites the first result. Send a new key, or resend the original body to replay the first response. See [idempotent retries](https://provenanceauth.com/docs/api/conventions.md#idempotent-retries). |
| [`idempotency_secret_withheld`](#idempotency_secret_withheld) | 409 `invalid_request_error` | **Idempotent replay withheld.** The first request with this `Idempotency-Key` succeeded, but its response carried a secret shown only once (an API key, a webhook signing secret, an OAuth client secret, an authenticator seed or recovery codes). Those are never stored, so the response can't be replayed; the request did not run again. Read the resource named in the message to confirm it exists, then rotate its secret (or delete and recreate it) to get a new one. |
| [`identify_vendor_error`](#identify_vendor_error) | 502 `api_error` | **Vendor error.** The vendor answered with an error, a quota limit, or not in time; the message carries what it said. Verdicts meanwhile report `vendor_score.status` as `error` or `quota_exhausted`. Check the key and its quota in the vendor's dashboard, then retry. |
| [`identify_vendor_not_configured`](#identify_vendor_not_configured) | 503 `unavailable_error` | **Vendor not configured.** No key is stored for that bot-score vendor, so nothing was scored. Identify never invents a vendor score. Store your own key with `PATCH /v1/identify/vendors/:vendor`. |
| [`impersonation_not_active`](#impersonation_not_active) | 409 `invalid_request_error` | **No impersonation session.** The request carried no active impersonation session. Start an impersonation session from the operator console first. |
| [`insufficient_role`](#insufficient_role) | 403 `permission_error` | **Insufficient role.** Your organization role doesn't allow this action; the message lists the roles that do. Ask an owner or admin to change your role or to perform the action. |
| [`insufficient_scope`](#insufficient_scope) | 403 `permission_error` | **Insufficient scope.** The API key is valid but lacks the scope this route requires (`verify`, `attest`, `escalate`, `admin`, `intent` or `screen`). Use a key with the needed scope; the sandbox `prv_test_full_…` key has all of them. See [scopes](https://provenanceauth.com/docs/get-started/authentication.md#scopes). |
| [`intent_token_foreign`](#intent_token_foreign) | 403 `permission_error` | **Intent token from another account.** The `intent_token` was issued to a different account, so this account can't route its approval. Route the token from the account whose API key authorized it. |
| [`intent_token_refused`](#intent_token_refused) | 400 `invalid_request_error` | **Intent token refused.** The `intent_token` attached to this cart approval didn't verify for this cart, so nothing was created and nobody was asked. `error.details.reason` says why: `invalid_token`, `token_expired`, `token_revoked`, `binding_mismatch` (another cart, amount or origin), `approval_missing` (no person approved it and no grant covers it), or an approval hold: `approval_pending`, `approval_denied`, `approval_expired`, `approval_changes_requested` or `option_not_chosen` (the agent's own approval on the token is open or was refused). Leave `intent_token` out to ask the person, or pass the token the agent sent for this exact cart. See [ask once](https://provenanceauth.com/docs/authorize/guides/ask-once.md). |
| [`internal_error`](#internal_error) | 500 `api_error` | **Internal error.** An unexpected error occurred on the Provenance side. Retry with backoff, and quote the `request_id` if it persists. |
| [`invalid_api_key`](#invalid_api_key) | 401 `authentication_error` | **Invalid API key.** The API key provided doesn't match any known key. Check for copy-paste whitespace, and use a sandbox key against the sandbox. See [authentication](https://provenanceauth.com/docs/get-started/authentication.md). |
| [`invalid_client`](#invalid_client) | 400 `invalid_request_error` | **Unknown client.** The client_id isn't registered. Register with `POST /v1/oauth/register` first. |
| [`invalid_credentials`](#invalid_credentials) | 401 `authentication_error` | **Invalid credentials.** The email and password don't match a verified password sign-in. Unknown emails get the same answer, so the response never says whether an account exists. Check the email and password, or reset the password from the sign-in page. See [console sign-in](https://provenanceauth.com/docs/account/sign-in-and-teams.md#1-sign-in-to-the-console). |
| [`invalid_grant`](#invalid_grant) | 400 `invalid_request_error` | **Grant invalid.** The code or refresh token is unknown, used, expired, revoked, or doesn't match the client, redirect_uri or code_verifier. Reusing a rotated refresh token revokes the connection. Start the authorization again. |
| [`invalid_json`](#invalid_json) | 400 `invalid_request_error` | **Invalid JSON.** The request body isn't valid JSON. Send a JSON body with `Content-Type: application/json`, and check for trailing commas or unquoted keys. |
| [`invalid_login_token`](#invalid_login_token) | 401 `authentication_error` | **Invalid login token.** The login link is invalid, expired or already used. Request a new magic link from the sign-in page. |
| [`invalid_redirect_uri`](#invalid_redirect_uri) | 400 `invalid_request_error` | **Redirect URI invalid.** Redirect URIs must be https, a loopback http address, or a reverse-DNS app scheme, with no fragment. Register 1–5 such URIs. |
| [`invalid_scope`](#invalid_scope) | 400 `invalid_request_error` | **Scope invalid.** A scope the client asked for is unknown, or mixes a person's scopes with a business member's. Ask for scopes from one family: `provenance:personal` and `people:control` for a person, `operator:*` for a business member. |
| [`invalid_target`](#invalid_target) | 400 `invalid_request_error` | **Resource invalid.** The `resource` isn't this MCP server. Send this server's MCP address as the resource, or leave it out. |
| [`investigation_busy`](#investigation_busy) | 429 `rate_limit_error` | **Investigation busy.** One question is answered at a time in an investigation, and three at a time across an account. Nothing was asked or charged. Ask again when the current answer finishes (`details.retry_after` seconds is a fair wait). |
| [`investigation_off`](#investigation_off) | 403 `permission_error` | **Investigations off.** The account hasn't turned Investigations on. They are off until a member who manages policies turns them on, after reading what is sent to the model and to whom. Turn Investigations on with `PUT /v1/account/investigations/settings` and the current `notice_version` from `GET /v1/account/investigations/settings`. |
| [`investigation_over_budget`](#investigation_over_budget) | 402 `billing_error` | **Investigations cap reached.** A Free or trial account reached its monthly Investigations spend cap; the message says the cap, the month's use and when it resets. Paid plans have no cap. Nothing was asked or charged. Wait for the next month, or choose Pro or Growth in Settings → Plan & usage to remove the cap. |
| [`investigation_unconfigured`](#investigation_unconfigured) | 503 `unavailable_error` | **Investigations not available.** The deployment can't run Investigations: no model provider is set, the investigation model has no list price, or (in live) the sealing key is missing. The message names the setting. Nothing was sent to a model and no answer was made up. Operators: set the named setting (see the self-host configuration page). Everyone else: retry once the deployment is set up. |
| [`invite_declined`](#invite_declined) | 409 `invalid_request_error` | **Invite closed.** The approver invite was already accepted, declined or revoked. Ask the integrator for a new invite. |
| [`invite_invalid`](#invite_invalid) | 400 `invalid_request_error` | **Invite code invalid.** The invite code isn't valid; unknown, used and expired codes all return this so a code can't be probed. Ask whoever invited you for a fresh link. |
| [`issuer_live_plan_required`](#issuer_live_plan_required) | 402 `billing_error` | **Live mode needs Enterprise.** A card program with processor credentials decides for real (`mode: live`) only on the Enterprise plan, which carries the payment-path uptime commitment and the security review. Shadow mode (Provenance records what it would have answered; the processor decides) works on Pro and Growth. Nothing was changed. Keep the program in `shadow` mode, or move the account to Enterprise. See [issuer agent controls](https://provenanceauth.com/docs/authorize/guides/issuer-agent-controls.md#live-mode). |
| [`issuer_overview_unavailable`](#issuer_overview_unavailable) | 503 `unavailable_error` | **Issuer overview unavailable.** The decisions behind the overview couldn't be read just now, so no numbers were made up in their place. Try again shortly. The decisions themselves are at `GET /v1/authorize/issuer_decisions`. |
| [`issuer_processor_unconfigured`](#issuer_processor_unconfigured) | 503 `unavailable_error` | **Processor credentials not set.** A card processor called a program's decision hook, but the program has no processor credentials yet, so Provenance gave no answer and the processor decides with its own rules. Set them with `POST /v1/authorize/issuer_programs/{id}/processor_credentials`. See [issuer agent controls](https://provenanceauth.com/docs/authorize/guides/issuer-agent-controls.md). |
| [`issuer_program_unavailable`](#issuer_program_unavailable) | 503 `unavailable_error` | **Bank controls unavailable.** The card's bank program couldn't be read right now, so no limit is shown as current and nothing was written. Retry shortly, or set the limit in the bank's app. |
| [`issuer_review_not_open`](#issuer_review_not_open) | 409 `invalid_request_error` | **Issuer review not open.** Only a decision the rules declined or asked about can be reviewed, and only once (`details.reason`: not_reviewable or reviewed). The decision itself never changes. Read the decision's `outcome` and `review`. To change what the rules do next time, edit the issuer rules. |
| [`issuer_signature_invalid`](#issuer_signature_invalid) | 401 `authentication_error` | **Processor signature invalid.** The decision hook request's signature (Lithic) or Basic credentials (Marqeta) did not verify against the program's credentials, or its timestamp is more than 5 minutes off. Nothing was decided or recorded. Check the program's processor credentials match the ones set at your processor, and that the request reaches Provenance unchanged. |
| [`key_draft_unavailable`](#key_draft_unavailable) | 404 `invalid_request_error` | **Key link unavailable.** The sandbox key link has expired (links last 15 minutes), was already used, or was made for another member or account. Ask your AI client for a new link with `create_sandbox_key`, then open it signed in as yourself. See [Developer tools](https://provenanceauth.com/docs/provenance-mcp/developer-tools.md#get-a-sandbox-key). |
| [`last_sign_in_method`](#last_sign_in_method) | 409 `invalid_request_error` | **Last sign-in method.** Removing this method would leave no way to sign in. Add another sign-in method first, then remove this one. |
| [`link_revoked`](#link_revoked) | 403 `permission_error` | **Link revoked.** The approver link was revoked or declined by either side. Send a new invite with `POST /v1/mandate/approver_links`. |
| [`mailer_not_configured`](#mailer_not_configured) | 503 `unavailable_error` | **Mailer not configured.** This server has no email transport, so magic-link sign-in can't send. Operators: set up the email provider and a verified sender; see [server configuration](https://provenanceauth.com/docs/self-host/configuration.md). |
| [`manage_policies_required`](#manage_policies_required) | 403 `permission_error` | **Manage policies required.** Changing policies, approvers or the approval expiry default needs the Manage policies permission. Owners have it; an owner can grant it to admins. Ask an owner to make the change, or to grant you Manage policies in Settings → Team & roles. |
| [`mandate_limits_cap_exceeded`](#mandate_limits_cap_exceeded) | 400 `invalid_request_error` | **Mandate limits cap exceeded.** The account's published mandate limits cap what a parent hands its sub-agents in all: the budgets of its live children and of this delegation (or proposal) together stay within the overall cap, in the cap's currency, and each child under a cap needs a budget. `param` names the child's field; `error.details` has the `cap`, its `currency` and what is `available`. Give the sub-agent a budget of at most `error.details.available`, or raise the overall cap in the account's mandate limits (`PUT /v1/mandate/settings/limits`, or a rules embed session). See [mandate limits](https://provenanceauth.com/docs/mandate/guides/subagent-limits.md). |
| [`mcp_access_off`](#mcp_access_off) | 403 `permission_error` | **AI apps are turned off.** The account's MCP access is off, so no AI app can connect to it or act in it. An owner or admin turns it on in Settings › Connected apps. See [Connected apps](https://provenanceauth.com/docs/account/connected-apps.md#mcp-access). |
| [`mcp_confirmation_changed`](#mcp_confirmation_changed) | 409 `invalid_request_error` | **The change differs from its preview.** What this change would do differs from the preview you were shown, or the app that asked can't make it with its current access, your current role or the account's setting. Nothing was applied. Ask your AI app to make the change again and check the new preview. See [Confirm a change](https://provenanceauth.com/docs/provenance-mcp/confirm-changes.md). |
| [`mcp_confirmation_passkey_required`](#mcp_confirmation_passkey_required) | 403 `permission_error` | **Passkey required.** This change needs your passkey: it loosens a control, touches more than 10 records or approves a held order on live. A one-time code or a link never stands in for it. Confirm it in the console with your passkey. With no passkey yet, add one in Settings › Sign-in & security first. See [Confirm a change](https://provenanceauth.com/docs/provenance-mcp/confirm-changes.md#passkey). |
| [`mcp_confirmation_unavailable`](#mcp_confirmation_unavailable) | 404 `invalid_request_error` | **Change request unavailable.** The change your AI app asked for has expired (requests last 10 minutes), was already confirmed or declined, or was made for another member or account. Ask your AI app to make the change again, then confirm the new request signed in as yourself. See [Confirm a change](https://provenanceauth.com/docs/provenance-mcp/confirm-changes.md). |
| [`mcp_oauth_not_configured`](#mcp_oauth_not_configured) | 503 `unavailable_error` | **MCP sign-in not configured.** This deployment doesn't offer MCP sign-in, so people can't connect their own assistants over MCP. Self-hosting: set the public MCP address that proxies to `/v1/mcp` (see the self-host configuration). |
| [`media_too_large`](#media_too_large) | 413 `invalid_request_error` | **Media too large.** The request body exceeds the size cap (8 MB for an image, 64 MB for a video). Downscale the image or record a shorter video, then resend. |
| [`network_agent_unverified`](#network_agent_unverified) | 403 `permission_error` | **Agent not verified.** Network grants are for agents with an active Identify signing key, so stores and people can tell who is buying. Register a signing key for the agent, then ask again. |
| [`network_grant_inactive`](#network_grant_inactive) | 409 `invalid_request_error` | **Network grant inactive.** The network grant was revoked, paused, expired or missed its check-in, so the order can't be accepted. Don't ship the order. The agent asks the person again. |
| [`network_order_closed`](#network_order_closed) | 409 `invalid_request_error` | **Network order closed.** This network order was already accepted elsewhere, cancelled, released or decided. Check the order's status; a cancelled order needs a new authorization. |
| [`network_report_closed`](#network_report_closed) | 409 `invalid_request_error` | **Report closed.** The report was withdrawn or removed, is already disputed, or is past its 30-day withdrawal window. Check the report's status. |
| [`network_report_duplicate`](#network_report_duplicate) | 409 `invalid_request_error` | **Report already filed.** This account already reported this order for this reason. Withdraw the earlier report first, or report a different reason. |
| [`network_request_closed`](#network_request_closed) | 409 `invalid_request_error` | **Request closed.** This network grant request was already granted, declined or expired. Ask the person again with a new request. |
| [`network_store_taken`](#network_store_taken) | 409 `invalid_request_error` | **Origin already registered.** Another account, or this one, already registered this store origin for the directory. Use the origin's existing entry, or contact support if this origin is yours. |
| [`network_token_expired`](#network_token_expired) | 409 `invalid_request_error` | **Network token expired.** A network intent token works for 10 minutes; its reserved budget was released when it expired. Ask the agent to authorize the order again. |
| [`no_paid_plan`](#no_paid_plan) | 409 `invalid_request_error` | **No paid plan to cancel.** The account has no paid subscription yet (or it already ended), so there is nothing to cancel. Choose a plan in Settings → Plan & usage, or with `POST /v1/account/plan`. See [cancelling](https://provenanceauth.com/docs/account/plans-and-usage.md#cancel). |
| [`note_too_long`](#note_too_long) | 400 `invalid_request_error` | **Note too long.** A steering note or a question is at most 500 characters. Shorten it to 500 characters or fewer. |
| [`oauth_account_mismatch`](#oauth_account_mismatch) | 409 `invalid_request_error` | **Provider account mismatch.** The provider account can't be added here: its verified email isn't yours, or it's already linked to another email. Add a provider account whose verified email matches the one you sign in with. |
| [`oauth_client_jwks_invalid`](#oauth_client_jwks_invalid) | 400 `invalid_request_error` | **Client keys invalid.** A `private_key_jwt` client needs exactly one of `jwks_uri` (https) or `jwks` (`{ "keys": [...] }` with 1 to 10 public EC P-256 or OKP Ed25519 keys, no private parts). Send an https `jwks_uri`, or inline public keys in `jwks`. |
| [`oauth_email_unverified`](#oauth_email_unverified) | 403 `permission_error` | **Provider email unverified.** The provider didn't return a verified email (GitHub: no primary, verified address), so it can't be linked to an account. Verify your primary email with the provider, then try again, or sign in another way. |
| [`oauth_failed`](#oauth_failed) | 401 `authentication_error` | **OAuth sign-in failed.** The provider sign-in didn't complete; the message names the step (state, code exchange or identity check). Start the sign-in again from the sign-in page; the link from the provider works once and for ten minutes. |
| [`oauth_invalid_request`](#oauth_invalid_request) | 400 `invalid_request_error` | **OAuth request invalid.** The authorization or token request is missing a parameter, uses a redirect_uri that isn't registered exactly, or doesn't use PKCE S256 with a state. Register the exact redirect_uri, send code_challenge with code_challenge_method S256 and a state. |
| [`oauth_provider_not_configured`](#oauth_provider_not_configured) | 503 `unavailable_error` | **Sign-in provider not configured.** This server has no OAuth client for that provider, so its sign-in button is hidden. Sign in another way. Operators: set that provider's OAuth client id and secret on the API. |
| [`oauth_unauthorized`](#oauth_unauthorized) | 401 `authentication_error` | **MCP access token required.** The person MCP server needs a valid, unexpired access token for a connection that hasn't been revoked. Follow `WWW-Authenticate` to the protected resource metadata and run the authorization flow, or refresh the token. |
| [`offer_expired`](#offer_expired) | 400 `invalid_request_error` | **Offer expired.** The offer's `exp` has passed. Ask the seller agent for a new offer. |
| [`offer_invalid`](#offer_invalid) | 400 `invalid_request_error` | **Offer invalid.** The signed offer is malformed, its signature doesn't verify against the seller's registered keys, its totals don't add up, it's addressed to another buyer agent, or its confirmation policy differs from the seller's settings; the message says which. Ask the seller agent for a freshly signed offer, and send `agent_id` when the offer has an `aud`. |
| [`offer_key_revoked`](#offer_key_revoked) | 400 `invalid_request_error` | **Offer key revoked.** The offer is signed with a seller key that is revoked or expired. Ask the seller agent to sign the offer with an active key. |
| [`offer_rules_changed`](#offer_rules_changed) | 409 `invalid_request_error` | **Offer rules changed.** Your `expected_version` doesn't match the current offer rules (or rules exist and you sent 0, which creates only). `error.details.current` holds the current rules. Nothing was written. Read the rules again, apply your change to the current version and send its `version` as `expected_version`. |
| [`offer_seller_unknown`](#offer_seller_unknown) | 400 `invalid_request_error` | **Seller unknown.** The offer's `iss` isn't a selling agent in this environment, the agent is suspended, or the offer is signed with a key the seller never registered. Check the seller with `GET /v1/public/counterparties/check` before you accept its offers. |
| [`offer_signature_invalid`](#offer_signature_invalid) | 400 `invalid_request_error` | **Offer signature invalid.** An option's `offer_jwt` didn't verify against the outside agent's registered keys (a key inside the offer is never used), is expired, or is signed by another agent than the counterparty named. `error.details.option` says which option. Send the offer exactly as the outside agent signed it, or send it as a reported option in `offer` (it is labelled as reported and asks the person). |
| [`order_closed`](#order_closed) | 409 `invalid_request_error` | **Order closed.** The order this change would approve was already approved, denied or expired elsewhere, so nothing changed: not the order and not the limit. Send the limit change again without `approve_order`, or leave the order as decided. |
| [`over_ceiling`](#over_ceiling) | 409 `invalid_request_error` | **Above the maker's maximum.** The change raises a limit above the `hard_max` the agent's maker set on its grant request, so nothing was written. A person can raise above the maker's ask up to that line, never past it. Choose a value at or below the maker's maximum, or ask the agent to request more with a new grant request. |
| [`parameter_invalid`](#parameter_invalid) | 400 `invalid_request_error` | **Parameter invalid.** A parameter is present but malformed, out of range or the wrong type (including `limit` outside 1 to 100); `error.param` names it as a dotted path. Correct the parameter named in `error.param` against the endpoint's schema in the [API reference](https://provenanceauth.com/docs/api.md). |
| [`parameter_missing`](#parameter_missing) | 400 `invalid_request_error` | **Parameter missing.** A required parameter is absent from the request; `error.param` names it as a dotted path (`provenance.session.agent_id`). Add the parameter named in `error.param` and resend. |
| [`parameter_removed`](#parameter_removed) | 400 `invalid_request_error` | **Parameter removed.** The request sent a field that was removed (`error.param` names it). It is refused rather than ignored, so no caller believes a setting it sent is still in force. Trace's `provenance.on_trip`, `provenance.shadow` and check's `mode` and `shadow` went with the kill switch: Trace rules decide now. Remove the field. For Trace, write the behavior as [Trace rules](https://provenanceauth.com/docs/trace/guides/trace-rules.md) at `/v1/trace/policies`. |
| [`password_locked`](#password_locked) | 429 `rate_limit_error` | **Password sign-in locked.** Too many wrong passwords in a row locked password sign-in for this email for a while; the lock doubles with each further failure, up to an hour. Wait for `Retry-After` seconds, or use "Forgot password?" on the sign-in page to reset it. |
| [`password_too_weak`](#password_too_weak) | 400 `invalid_request_error` | **Password too weak.** The password is shorter than 10 characters, longer than 256, or appears in a known data breach. Choose a longer passphrase you don't use anywhere else. |
| [`payment_connection_exists`](#payment_connection_exists) | 409 `invalid_request_error` | **Already connected.** This account already has a Stripe connection. One account connects one Stripe account at a time. Disconnect the existing connection first (`DELETE /v1/authorize/payment_connections/{id}`), or change its settings. |
| [`payment_connection_key_invalid`](#payment_connection_key_invalid) | 400 `invalid_request_error` | **Key not usable.** The key isn't a restricted key we can use: not a restricted key, refused by the processor, for the other mode (test or live), or missing permissions (the message names them). Nothing was stored. Create a restricted key in the Stripe Dashboard with the permissions the Connect Stripe sheet lists, then paste it again. |
| [`payment_connection_state_invalid`](#payment_connection_state_invalid) | 400 `invalid_request_error` | **Stripe connect link not valid.** Stripe sent the browser back with a link we can't use: it expired (links last 10 minutes), it was started from another console session, or Stripe didn't name the account. Nothing was connected. Start again from Connect Stripe on Authorize → Stores, in the same browser. |
| [`payment_connection_unconfigured`](#payment_connection_unconfigured) | 503 `unavailable_error` | **Payment connections not configured.** This deployment doesn't offer payment connections for this processor, so nothing was connected and no dispute is answered. Make an evidence pack by hand meanwhile (`POST /v1/authorize/checkout_approvals/{id}/evidence_packs`). Operators: see [server configuration](https://provenanceauth.com/docs/self-host/configuration.md). |
| [`pending_change_failed`](#pending_change_failed) | 409 `invalid_request_error` | **Held change could not be applied.** Approving a held change replays the developer's original request as you; that request was rejected (for example, the policy changed since it was held, or the document fails validation now). The approval stays pending. Read the message for the inner error, then deny the held change and ask the developer to resubmit it against the current state. |
| [`people_invite_required`](#people_invite_required) | 403 `permission_error` | **Invite required.** Personal sign-up is paused on this deployment, so a new Provenance home needs a person invite. Someone who already has a passkey from an approval link signs in without one. Open the invite link from your email, or try again later. If you approved a request before, sign in with that passkey on `/me`. |
| [`person_code_invalid`](#person_code_invalid) | 400 `invalid_request_error` | **Code invalid.** The code is wrong or has expired. Codes work for 10 minutes. Check the code, or ask for a new one. |
| [`person_code_locked`](#person_code_locked) | 400 `invalid_request_error` | **Too many wrong codes.** Five wrong codes in a row lock that code. Ask for a new code. |
| [`person_last_passkey`](#person_last_passkey) | 409 `invalid_request_error` | **Last passkey.** A person keeps at least one passkey; removing the last one would lock the account. Add another passkey first, then remove this one. |
| [`person_passkey_required`](#person_passkey_required) | 403 `permission_error` | **Passkey confirmation required.** Loosening a rule or a limit needs a fresh passkey confirmation. Send `challenge` (from `GET /v1/personal/challenge`) and a passkey `assertion` with the change. |
| [`person_passkey_unknown`](#person_passkey_unknown) | 401 `authentication_error` | **Passkey not set up.** This passkey isn't registered with Provenance. A passkey is set up when you accept an invite or approve a request. Use the passkey you approved with, or open an approval link or invite from a company to set one up. |
| [`person_recently_recovered`](#person_recently_recovered) | 403 `permission_error` | **Recently recovered.** For 7 days after a recovery, rules and limits can't be loosened, new network permissions can't be granted and batch approval is off. Wait until `restricted_until`, or approve each request on its own. |
| [`person_recovery_closed`](#person_recovery_closed) | 409 `invalid_request_error` | **Recovery closed.** This recovery was cancelled, completed or expired. Start a new recovery from "Lost your passkey?". |
| [`person_recovery_not_ready`](#person_recovery_not_ready) | 409 `invalid_request_error` | **Recovery still waiting.** A recovery can finish only 24 hours after the code was confirmed, so the account's other devices and contacts have time to cancel it. Come back after `ready_at`. |
| [`personal_cards_unavailable`](#personal_cards_unavailable) | 503 `unavailable_error` | **Bank card links unavailable.** Linking a bank's card needs the deployment's card key, which isn't set, so nothing was linked. Ask the operator to set the card key. Cards seen on orders and cards added by hand still work. |
| [`personal_signup_country_unavailable`](#personal_signup_country_unavailable) | 400 `invalid_request_error` | **Mobile number's country not available.** Personal accounts are available in the United States and its territories for now, so a personal account takes a US mobile number only, at sign-up and when one is added later. No text was sent. Use a US mobile number. Companies can still reach people anywhere through approval requests. |
| [`plan_changed`](#plan_changed) | 409 `invalid_request_error` | **Plan changed.** The delegation plan moved past `expected_version` (another device decided it, or the agent revised it). `error.details.plan` carries the current plan. Show the person the current plan and decide again with its `version`. |
| [`plan_closed`](#plan_closed) | 409 `invalid_request_error` | **Plan closed.** The plan version isn't waiting: it was accepted, declined, withdrawn, superseded or expired. `error.details.status` says which. Read the plan again: the agent may have proposed another version. |
| [`plan_required`](#plan_required) | 402 `billing_error` | **Plan required.** The endpoint needs a higher plan than the caller's: Pro features (approval routing, automatic approvals, branding, Slack, checkout approvals, risk signals), Growth features (evidence packs and exports, sending capture links to the company's own app and setting where capture links open: the order, the store listing and a request's `routing`) or Enterprise features (SSO, the Attest claims suite, multi-signer policies, the Trace registry, probes and diffs), or more sidecar worker keys than the plan holds (`param: worker_keys`). Upgrade the account's plan. See [billing](https://provenanceauth.com/docs/account/plans-and-usage.md#upgrade). |
| [`plan_seats_over_limit`](#plan_seats_over_limit) | 409 `invalid_request_error` | **More members than the plan's seats.** The plan you chose has no extra seats and more people use seats than it includes, so the change can't be scheduled; or a move to that plan is scheduled and another member would not fit. Nobody is removed for you. Remove members in Settings → Team & roles until they fit, or choose Pro or Growth, which bill extra seats. See [seats](https://provenanceauth.com/docs/account/plans-and-usage.md#seats). |
| [`policy_account_required`](#policy_account_required) | 403 `permission_error` | **Account key required.** Policy management needs a self-serve account key; CLI and enterprise carrier keys use the built-in default policy. Call the policy endpoints with an account-bearing key or a dashboard session. |
| [`policy_ask_unsupported`](#policy_ask_unsupported) | 400 `invalid_request_error` | **Rule set can't ask.** `if_unavailable: "ask"` and spot checks (`require.sample_rate`) send a record to a person. Card issuer authorizations and traffic can't wait for one, so these rule sets refuse both. Use `skip` or `match` for an unavailable fact, and leave spot checks off on these rules. |
| [`policy_cycle`](#policy_cycle) | 400 `invalid_request_error` | **Rules read in a loop.** Signals, scorecards, rule references or rule groups read each other in a cycle. `error.details` names the path (`signal.a → signal.b → signal.a`). Break the loop: one of the things on the path must read something else. |
| [`policy_fact_unknown`](#policy_fact_unknown) | 400 `invalid_request_error` | **Unknown fact.** A condition reads a fact this rule set can't read: it isn't in the fact registry for the domain, matches no family, or names a signal, scorecard, rule or rule group the document doesn't define. `error.details` names each rule and condition. A condition kept exactly as an earlier version had it is only warned about (the plan's `warnings`). Pick a fact from `GET /v1/account/policies/fields` for this rule set, or define the signal, scorecard or rule group it names. |
| [`policy_feature_unsupported`](#policy_feature_unsupported) | 400 `invalid_request_error` | **Not offered for this policy.** Every policy has the same routes, but backtests, shadow mode and trial runs only work where the product keeps the history they read (agent, checkout and capture policies; backtests and shadow mode also on traffic policies). Publish the version directly with `POST {policy}/versions/{version}/publish`, or use the feature on a policy that offers it. |
| [`policy_flow_exists`](#policy_flow_exists) | 409 `invalid_request_error` | **Sub-flow key taken.** The account already has a sub-flow with this key in this environment. A key is fixed once a sub-flow is created. Pick another key, or add a version to the sub-flow you have with `POST /v1/account/policies/flows/{key}/versions`. |
| [`policy_flow_in_use`](#policy_flow_in_use) | 409 `invalid_request_error` | **Sub-flow in use.** A published rule set calls this sub-flow, so it can't be archived. The message names each rule set. Remove the call from each rule set and publish them, then archive the sub-flow. |
| [`policy_flow_input_missing`](#policy_flow_input_missing) | 400 `invalid_request_error` | **Sub-flow input missing.** A sub-flow reads facts a rule set's domain doesn't have. At a rule set's save, `error.details` names the missing facts; at a sub-flow's publish, it names each following rule set whose domain lacks an input. Pin those rule sets to the version they run on, or change the sub-flow's inputs to facts every caller has. |
| [`policy_flow_unpublished`](#policy_flow_unpublished) | 409 `invalid_request_error` | **Sub-flow not published.** A rule set calls a sub-flow that has no published version, so a call that follows the latest has nothing to run. Publish a version of the sub-flow first, or pin the call to one of its versions. |
| [`policy_invalid`](#policy_invalid) | 400 `invalid_request_error` | **Policy invalid.** The policy document failed validation; `error.details` lists each offending rule and field. Fix the rules named in `error.details`, or try the document with `POST /v1/mandate/policies/simulate` first. See [policies](https://provenanceauth.com/docs/concepts/policies.md). |
| [`policy_migration_blocked`](#policy_migration_blocked) | 409 `invalid_request_error` | **Migration blocked.** These rules use behaviour the builder's format can't express yet, so they stay in their own editor; `error.details` lists each gap. Keep editing these rules where they are. Nothing was changed. |
| [`policy_rate_change_unacknowledged`](#policy_rate_change_unacknowledged) | 409 `invalid_request_error` | **Rate change not acknowledged.** Publishing would move the share of records the rules challenge or reject by more than 5 points: a rule set's latest backtest against its live version, or any rule set that follows the sub-flow being published. `error.details` lists each rule set's change: the share live and draft, the change in points, and the kept backtest's id when there is one. One acknowledgement covers every rule set listed. Check the change (a rule set: `GET {policy}/backtest/{id}/changes` lists the records; a sub-flow: `POST /v1/account/policies/flows/{key}/versions/{version}/backtest`), then publish again with `acknowledge_rate_change: true`. |
| [`policy_tier_unsupported`](#policy_tier_unsupported) | 400 `invalid_request_error` | **Fact too slow here.** Card issuer authorizations can't wait for a model call, so their rules may read facts of tiers 0 to 2 only. `error.details` names each rule. Remove the model-scored fact from the issuer rule. |
| [`policy_too_large`](#policy_too_large) | 400 `invalid_request_error` | **Rule set too large.** The document is past a cap: groups nest at most 3 levels deep, and a rule set holds at most 50 signals, 10 scorecards of 30 rows, 20 rule groups, 400 plan nodes and 8 model-scored sources. Every plan has the same caps. Split the rule set's checks into fewer, larger signals or scorecards, or remove the ones it doesn't need. |
| [`policy_trial_not_active`](#policy_trial_not_active) | 409 `invalid_request_error` | **No trial run.** There is no trial run of a draft on this policy right now (it ended, was stopped, or never started). Start one with `POST /v1/mandate/policies/versions/{version}/publish` and `trial_days`, or publish the draft directly. |
| [`policy_type_mismatch`](#policy_type_mismatch) | 400 `invalid_request_error` | **Operator doesn't fit the fact.** A condition's operator never matches the fact's type (`gt` on a string, `contains` on a number). `error.details` names each rule and condition. A condition kept exactly as an earlier version had it is only warned about. Use an operator the fact's type takes: `gt`, `gte`, `lt`, `lte` for numbers, probabilities and scores; `eq`, `ne`, `in` for the rest. |
| [`policy_version_conflict`](#policy_version_conflict) | 409 `invalid_request_error` | **Policy changed since it was read.** A save named a `base_version` older than the policy's latest: a newer version or draft was saved in the console, through the API or by another session. `details` names the latest. Nothing was saved. Read the rules again (`GET /v1/embed/rules`), then save your change on the latest version. |
| [`probe_dimension_mismatch`](#probe_dimension_mismatch) | 400 `invalid_request_error` | **Probe dimension mismatch.** The probe's weights don't match the model's residual width (`d_model` float32 values), or the model has no recorded `d_model`. Send exactly `d_model` little-endian float32 weights, base64-encoded, for the model you name. See [predictive preflight](https://provenanceauth.com/docs/trace/guides/predictive-preflight.md#optional-register-your-own-probe). |
| [`product_not_enabled`](#product_not_enabled) | 403 `permission_error` | **Product not enabled.** The endpoint belongs to a product (Identify, Authorize, Attest, Mandate or Trace) your account doesn't have; `param` names it. Add the product to your account in the console, or call an endpoint of a product you have. |
| [`profile_not_published`](#profile_not_published) | 404 `invalid_request_error` | **No published profile.** No verified business has published a discovery profile under this origin or id. The answer is the same whether the business doesn't exist, hasn't verified a domain, or hasn't published. Check the origin. A business publishes its profile in Settings → Store → Discovery once one of its domains is verified. |
| [`profile_required`](#profile_required) | 403 `permission_error` | **About you not finished.** This account was created through sign-up and hasn't saved its name and company yet, so it can't create or rotate an API key. Finish About you in the console (`PUT /v1/account/profile` with `contact_name` and `company_name`), then try again. |
| [`proposal_closed`](#proposal_closed) | 409 `invalid_request_error` | **Proposal closed.** The proposal isn't waiting for a decision any more: it was approved, declined, superseded by a newer one, went stale or expired. `error.details.status` says which. A decided proposal can't be decided again, and only a pending one can be superseded. Read the proposal (`GET /v1/mandate/delegation_proposals/:id`). To change a structure, the agent sends a new proposal. See [proposals](https://provenanceauth.com/docs/mandate/guides/give-subagents-their-own-limits.md#proposals). |
| [`proposal_limit`](#proposal_limit) | 429 `rate_limit_error` | **Proposal limit reached.** An agent may try at most 5 proposals on one request in an hour, dry runs included, so the other side's agent can't steer it into searching for the company's limits. Send one of the proposals already cleared, or wait for `retry_after_seconds`. |
| [`proposal_stale`](#proposal_stale) | 409 `invalid_request_error` | **Proposal stale.** The grant the proposal is for changed after it was proposed (it was revoked or expired, or its limits moved), and the structure doesn't fit it any more. Nothing was minted and the proposal is now `stale`. `error.details` names the child and field that doesn't fit, when one does. The agent sends a new proposal for the grant as it is now. See [proposals](https://provenanceauth.com/docs/mandate/guides/give-subagents-their-own-limits.md#proposals). |
| [`proposal_structure_mismatch`](#proposal_structure_mismatch) | 409 `invalid_request_error` | **Proposal structure mismatch.** The passkey answered a challenge for another structure than the one sent to approve: the challenge is bound to the hash of the exact structure (and any raise of the parent) the person approves, so a page or agent can't mint anything the person didn't see. Nothing was minted. Check the structure again (`POST /v1/mandate/delegation_proposals/:id/check`), answer the challenge it returns, and approve the same structure. See [proposals](https://provenanceauth.com/docs/mandate/guides/give-subagents-their-own-limits.md#proposals). |
| [`provider_event_invalid`](#provider_event_invalid) | 401 `authentication_error` | **Provider event refused.** The registration event's signature didn't verify for this URL and its body. Nothing was read or marked. Only the text provider calls this route, at the URL set on its event stream. The public API URL must match the one it signs. |
| [`provider_event_unavailable`](#provider_event_unavailable) | 503 `unavailable_error` | **Provider event not recorded.** This deployment has no provider token to check the signature with, or the event couldn't be recorded. The provider can deliver it again. Ask the operator to set the Twilio auth token, or retry after `Retry-After` seconds. |
| [`purpose_required`](#purpose_required) | 400 `invalid_request_error` | **Purpose required.** A delegation needs a `purpose`: one line of plain text (1–200 characters) saying what the subagent is working on. The person sees it when the subagent asks for approval. Send `purpose`, for example "Find A4 paper prices at three stores". |
| [`purpose_tags_exceed_parent`](#purpose_tags_exceed_parent) | 400 `invalid_request_error` | **Purpose tags exceed parent.** Each purpose tag must be one of the parent grant's allowed action types or counterparties. `error.details.tag` is the first tag outside them. Use tags from the parent's `allowed_action_types` or `allowed_counterparties`, or leave `purpose_tags` out. |
| [`push_not_configured`](#push_not_configured) | 503 `unavailable_error` | **Web push not configured.** This server has no VAPID keypair, so a browser can't subscribe to approval push notifications; approvals still arrive by email and in the dashboard inbox. Operators: add a web-push keypair; see [server configuration](https://provenanceauth.com/docs/self-host/configuration.md). |
| [`push_token_invalid`](#push_token_invalid) | 400 `invalid_request_error` | **Push token not valid.** The push token isn't a token APNs or FCM issues (APNs: 64 or more hex characters; FCM: a registration token), or the provider rejected it. Send the token the operating system gave the app (`getDevicePushTokenAsync`), with the matching `provider`. |
| [`raise_not_allowed_on_child`](#raise_not_allowed_on_child) | 400 `invalid_request_error` | **Raise not allowed on a subagent.** A subagent's grant can't allow more than the grant it was handed from. `param` names the limit. Raise the parent grant first, or keep the subagent's limit within the parent's. |
| [`rate_limit_exceeded`](#rate_limit_exceeded) | 429 `rate_limit_error` | **Rate limit exceeded.** The caller exceeded a request window: a per-key or per-IP limit, a daily invite cap, or a per-contact invite cooldown; `error.details` carries `limit` and `retry_after` (seconds). Wait `error.details.retry_after` seconds (also sent as `Retry-After`), then retry with backoff. See [rate limits](https://provenanceauth.com/docs/integrate/rate-limits.md). |
| [`recent_two_factor_required`](#recent_two_factor_required) | 403 `permission_error` | **Recent second factor required.** This change needs a second-factor check from the last 10 minutes, and this session doesn't have one. Confirm with `POST /v1/auth/two_factor/step_up` (the console asks for it inline), then retry the request. |
| [`record_batch_too_large`](#record_batch_too_large) | 413 `invalid_request_error` | **Record batch too large.** A batch holds at most 1,000 spans and 1 MB, and each span at most 64 attributes of 4 KB each. Nothing from the batch was recorded. Send smaller batches (an OTel collector's `batch` processor with `send_batch_max_size: 1000` keeps them under the limit). |
| [`record_signature_invalid`](#record_signature_invalid) | 400 `invalid_request_error` | **Record signature invalid.** A signed batch must name `agent_id` and `signature: { kid, sig }`, and `sig` must be that agent's active Ed25519 key's signature over the canonical JSON of `{ run_id, spans }`. One agent can't submit spans as another. Nothing from the batch was recorded. Sign with the agent's registered key (`RecordExporter` in `@provenanceauth/agent-adapters` does it), or send the batch unsigned. |
| [`release_locale_unsupported`](#release_locale_unsupported) | 400 `invalid_request_error` | **Release language unsupported.** The capture release is served in English (`en`) only for now. Send `locale: "en"`, or leave it out. |
| [`release_text_mismatch`](#release_text_mismatch) | 409 `invalid_request_error` | **Release text changed.** The sheet text or Terms of Service hash sent with the answer is not the one the server serves for this request, version and language. Fetch the release text again (`GET …/release`), show it, and send the answer with its hashes. |
| [`release_unavailable`](#release_unavailable) | 503 `unavailable_error` | **Release unavailable.** The release text could not be served or the answer could not be recorded, so the camera stays closed. Nothing was recorded as agreed. On a record's text or a withdrawal, the stored text for the record's version is missing or the record could not be written. Retry shortly. Operators: the Terms of Service version needs its texts deployed and the store reachable; see [server configuration](https://provenanceauth.com/docs/self-host/configuration.md). |
| [`reminder_already_scheduled`](#reminder_already_scheduled) | 409 `invalid_request_error` | **A reminder is already scheduled.** A reminder for this request is held until quiet hours end. `error.details` carries its `reminder_id` and `scheduled_for`; it goes at that time. Nothing to do: the held reminder goes at `scheduled_for`. |
| [`reminder_cancel_unavailable`](#reminder_cancel_unavailable) | 503 `unavailable_error` | **Reminder not cancelled.** The cancel couldn't be recorded. The reminder is still scheduled and will go at its time unless a retry cancels it. Retry after `Retry-After` seconds. |
| [`reminder_limit_reached`](#reminder_limit_reached) | 409 `invalid_request_error` | **No reminders left.** Every reminder for this request is used (3 per request, a held one included). Stop reminding. Create a new request if the case needs one. See [reminders](https://provenanceauth.com/docs/messaging/reminders.md). |
| [`reminder_not_available`](#reminder_not_available) | 409 `invalid_request_error` | **This request can't be reminded.** We hold no contact for this request, the person's own rules hold requests like it, or a reminder held for quiet hours would go after the request expires. `error.details.reason`: `self_delivery`, `agent_relay`, `no_contact`, `person_rule` or `expires_first`. For `self_delivery`, send the link again yourself. For `expires_first`, name `channel: "email"` when the request carries an email, or create a new request. |
| [`reminder_not_pending`](#reminder_not_pending) | 409 `invalid_request_error` | **Request is not pending.** A reminder goes only to a pending request. This one is completed, decided, expired or cancelled; the message names its status. Nothing to send. Create a new request if the case still needs one. |
| [`reminder_not_scheduled`](#reminder_not_scheduled) | 409 `invalid_request_error` | **Reminder is not scheduled.** Only a held reminder can be cancelled. This one was sent, ended without a send, was dropped or cancelled, or is being sent at this moment. `error.details.status` says which (`sending` for the last). Nothing to cancel. Read the reminder from the request's reminders list to see how it ended. |
| [`reminder_not_sent`](#reminder_not_sent) | 503 `unavailable_error` | **Reminder not sent.** No channel could send the reminder (the provider failed, or the channel is not set up on this deployment). No reminder was used. `error.details.reason` says why. Retry after `Retry-After` seconds. |
| [`reminder_opted_out`](#reminder_opted_out) | 409 `invalid_request_error` | **The person stopped these messages.** The person replied STOP to our texts and the request carries no email address, or you named a channel they stopped. `error.details.channel` names it. Reach the person another way. A reminder never uses a contact the request does not carry. |
| [`reminder_too_soon`](#reminder_too_soon) | 429 `rate_limit_error` | **Too soon for a reminder.** The last message to the person for this request was sent less than the minimum gap ago (10 minutes by default). `error.details.next_allowed_at` says when a reminder can go. Retry at `error.details.next_allowed_at` (also sent as `Retry-After`). |
| [`resource_missing`](#resource_missing) | 404 `invalid_request_error` | **Resource missing.** No resource with that id exists in this environment for your account or carrier; `error.param` names the id and the message names the resource. Another account's resource returns this too, so ids can't be probed. Check the id, the key's environment, and that your account owns the resource; list endpoints return the ids you can see. |
| [`responder_mcp_off`](#responder_mcp_off) | 403 `permission_error` | **Responder tools off for this agent.** An owner or admin hasn't turned on the responder tools for this agent, so its proposals can't be made over MCP. Turn on Responder tools over MCP for the agent in Agents → the agent → Selling (`PATCH /v1/mandate/agents/{id}` with `responder_mcp: true`). |
| [`responder_required`](#responder_required) | 403 `permission_error` | **Responder credential required.** The responder tools need an agent-bound credential holding `responding:read` or `responding:act`: a key restricted to the agent, or a client-credentials token signed with the agent's own key. An account key never lists them. Make a key with `agent_id` and the responding capabilities in Developers → API keys, or sign in with the agent's key. See [Responder tools](https://provenanceauth.com/docs/provenance-mcp/exchange-tools.md#responder-tools). |
| [`response_template_in_use`](#response_template_in_use) | 409 `invalid_request_error` | **Response template in use.** A rule in your active or shadow traffic policy, or an alternate, still names this response template, so deleting it would leave that rule nothing to serve. Change the rules and alternates that name it (the error lists them), then delete the template. |
| [`review_already_decided`](#review_already_decided) | 409 `invalid_request_error` | **Review already decided.** This review was already decided (by your API, the console or the timeout). Sending the same decision again returns the assessment; the other decision returns this. Read the assessment's `outcome` and `reason` with `GET /v1/authorize/checkout_assessments/{id}`. |
| [`review_not_open`](#review_not_open) | 409 `invalid_request_error` | **Not in review.** This order isn't waiting for your review (its assessment's `challenge.status` isn't `in_review`): the customer hasn't decided yet, no after-approval rule asked for a review, or no person was asked. Read the assessment with `GET /v1/authorize/checkout_assessments/{id}`. List open reviews with `?approval_status=in_review`. |
| [`review_outside_after_approval`](#review_outside_after_approval) | 400 `invalid_request_error` | **Review outside after approval.** A checkout rule with the Review action (`require.review`) runs only after the customer approves (`phase: "after_approval"`). At the assessment, a rule approves, challenges or rejects. Set `phase: "after_approval"` on the rule, or pick Approve, Challenge or Reject. See [review orders](https://provenanceauth.com/docs/authorize/guides/review-orders.md). |
| [`revoke_forbidden`](#revoke_forbidden) | 403 `permission_error` | **Revoke forbidden.** The intent token wasn't issued by your account or carrier, and revocation by token is issuer-scoped. Revoke only tokens your account minted. See [revocation](https://provenanceauth.com/docs/mandate/guides/execution-binding.md#6-stop-the-agents-session). |
| [`risk_provider_invalid`](#risk_provider_invalid) | 400 `invalid_request_error` | **Risk provider invalid.** The risk provider's settings don't fit its kind: a lookup needs an HTTPS URL and a secret, a list URL must be HTTPS, and the slug must be unique. Fix the field the message names. See [use your risk providers](https://provenanceauth.com/docs/mandate/guides/use-your-risk-providers.md). |
| [`risk_provider_limit_reached`](#risk_provider_limit_reached) | 409 `invalid_request_error` | **Risk provider limit reached.** The account already has 10 risk providers. Remove a provider you don't use, then add the new one. |
| [`risk_score_answer_in_use`](#risk_score_answer_in_use) | 409 `invalid_request_error` | **Answer in use.** The version drops an answer value a published rule reads, so it can't be promoted. `details.rules` names the rules and `details.values` the values. Change those rules first, or keep the answer value in the new version. |
| [`risk_score_answers_invalid`](#risk_score_answers_invalid) | 400 `invalid_request_error` | **Risk score answers invalid.** The answer set isn't valid: 2 to 8 answers with unique snake_case values (yes and no for a yes_no risk score), labels of at most 40 characters, descriptions of at most 300, boundary examples and the label map naming only answer values. `param` names the part. Fix the part `param` names and save again. |
| [`risk_score_binding_refused`](#risk_score_binding_refused) | 400 `invalid_request_error` | **Binding refused.** A binding names something a risk score can't read: not a field its domains' rules can read, another risk score's answer, a path that isn't a request field, or a field bound twice. Only bound fields are ever sent to the model. `param` names the binding. Choose fields from `GET /v1/account/policies/fields` for each domain, or a request `field` path for free text. |
| [`risk_score_binding_sensitive`](#risk_score_binding_sensitive) | 400 `invalid_request_error` | **Sensitive field.** The binding names a sensitive field (a government id, a full card number, a security code, a card fingerprint, biometric data, a device key, a password, a token, a clinical detail, a precise location). Sensitive fields are never sent to a model. Bind a derived field instead (the card's brand, whether the name matches the account, the country). |
| [`risk_score_in_use`](#risk_score_in_use) | 409 `invalid_request_error` | **Risk score in use.** A published rule reads this risk score, so it can't be archived. `details.rules` names them. Remove the conditions on it from those rules and publish them, then archive. |
| [`risk_score_key_taken`](#risk_score_key_taken) | 409 `invalid_request_error` | **Risk score key taken.** The account already has a risk score with this key in this environment (an archived key is never reused, because stored rules and records name it). Choose another key. |
| [`risk_score_limit`](#risk_score_limit) | 400 `invalid_request_error` | **Too many risk scores.** The account has 50 risk scores in this environment, the limit on every plan (raised by contract). Nothing was created. Archive one you don't use, or ask us to raise the limit. |
| [`risk_score_model_unpinned`](#risk_score_model_unpinned) | 400 `invalid_request_error` | **Model not pinned.** A risk score names a versioned model id (like jev-1.14.0). An alias such as jev-latest moves when a release ships, so its answers could change with no change on your side; it is refused. Send a versioned model id, or leave `model` out to use the deployment's pinned one. |
| [`risk_score_not_live`](#risk_score_not_live) | 409 `invalid_request_error` | **Risk score not live.** The rules you are publishing read a custom risk score that isn't live in this rule set: a draft or one in shadow (no live version yet), an archived one, or one for another domain. Live rules would read it as unavailable on every decision, so the publish is refused. A draft rule set may read it, so you can replay it first. `details.risk_scores` names each key, its status and the rule. Take each risk score live (`POST /v1/account/risk_scores/{key}/versions/{version}/publish`), or remove its conditions, then publish again. |
| [`risk_score_not_ready`](#risk_score_not_ready) | 409 `invalid_request_error` | **Risk score not ready.** The version can't go live (or into shadow) yet. `details.missing` lists each gate still open: an eval run that passed its checks on 20 or more labelled cases covering two answers, 200 shadow evaluations or 7 days of shadow, a viewed replay. Close each gate `details.missing` names, then publish again. |
| [`risk_score_off`](#risk_score_off) | 403 `permission_error` | **Custom risk scores are off.** The account hasn't turned on custom risk scores. Nothing was saved or sent to a model. An owner or admin turns them on with `PUT /v1/account/risk_scores/settings` (`enabled: true`), or in Settings → AI. |
| [`risk_score_over_budget`](#risk_score_over_budget) | 503 `unavailable_error` | **Risk score budget spent.** The call wasn't made: the account's monthly cap, the deployment's daily budget or the model host's daily decisions are spent. Nothing was answered or billed. Raise the monthly cap in `PUT /v1/account/risk_scores/settings`, or retry after the limit resets. |
| [`risk_score_personal_not_cleared`](#risk_score_personal_not_cleared) | 400 `invalid_request_error` | **Personal fields not cleared for live.** Raw personal fields can't be bound in the live environment yet: the model host's data terms are still under review. Sandbox accepts them. Bind a derived field in live, or keep the risk score in sandbox until personal fields are cleared. |
| [`risk_score_personal_terms`](#risk_score_personal_terms) | 400 `invalid_request_error` | **Data terms not accepted.** The binding sends a raw personal field (a name, an email address, a street address, a phone number, an IP address, free text a person wrote, or one of your own fields), which needs the account's acceptance of the risk score data terms first. It is asked once per account. Accept the terms with `PUT /v1/account/risk_scores/settings` (`accept_terms_version`), or bind a derived field. |
| [`risk_score_phase`](#risk_score_phase) | 400 `invalid_request_error` | **After-approval field.** The risk score binds an `approval.*` field, which exists only after the customer approved; it is answered in the after-approval phase, never before. Test it on a case that was approved, or bind fields that exist before approval. |
| [`risk_score_replay_in_progress`](#risk_score_replay_in_progress) | 409 `invalid_request_error` | **Replay already running.** A replay of this risk score is already running; one runs at a time. Wait for it with `GET /v1/account/risk_scores/{key}/replays/{id}`, then start another. |
| [`risk_score_unconfigured`](#risk_score_unconfigured) | 503 `unavailable_error` | **Risk scores not available.** This deployment has no model provider for custom risk scores (or one missing what it needs; the message says which setting). Nothing was sent to a model and no answer was made up. In a decision, every `policy.<key>.*` fact reads unavailable and the rule's `if_unavailable` decides. Rules that don't read a risk score work as written. Operators: see the risk score settings on the self-host configuration page. |
| [`risk_signal_invalid`](#risk_signal_invalid) | 400 `invalid_request_error` | **Risk verdict invalid.** A verdict isn't in the shared format, covers an entity kind the provider doesn't, or the batch is too large. Send `{ entity: { kind, value }, risk, categories, observed_at, expires_at?, reference? }`, at most 1,000 per request. See [send verdicts to Provenance](https://provenanceauth.com/docs/mandate/guides/send-verdicts-to-provenance.md). |
| [`risk_signals_not_configured`](#risk_signals_not_configured) | 503 `unavailable_error` | **Risk signals not configured.** This server has no encryption key for risk-provider secrets, so it can't add a provider. Retry later. Operators: add the risk-signals encryption key; see [server configuration](https://provenanceauth.com/docs/self-host/configuration.md). |
| [`route_invalid`](#route_invalid) | 400 `invalid_request_error` | **Route invalid.** A rule's approval `route` failed validation: an escalation step outside `wait`, `approve_below` on a rule that needs more than one person, a biometric or a hardware tier, or a group, person or approver that doesn't exist on your account. `error.param` names the field. Fix the field `error.param` names (for example `rules.2.require.route.escalate.0.after`). See [route approvals](https://provenanceauth.com/docs/mandate/guides/route-approvals.md). |
| [`route_moved`](#route_moved) | 404 `invalid_request_error` | **Route moved.** The endpoint moved to a new path when the API was grouped by product; `details` names its new method and path, and `details.alternatives` any other endpoint the old call may belong to. Call `details.method` `details.path` instead. The [API reference](https://provenanceauth.com/docs/api.md) lists every endpoint under its product. |
| [`route_not_found`](#route_not_found) | 404 `invalid_request_error` | **Route not found.** No endpoint matches the method and path; every endpoint lives under `/v1/`. Check the method and path against the [API reference](https://provenanceauth.com/docs/api.md). |
| [`rules_embed_backtest_required`](#rules_embed_backtest_required) | 400 `invalid_request_error` | **Preview before publishing.** A rules embed publish (`POST /v1/embed/rules/versions/{version}/publish`) needs the `backtest_id` of a preview (`POST /v1/embed/rules/backtest`) of exactly that draft's rules, from the same session, in the last 10 minutes. The id was missing, was for other rules or another session, or had expired. Nothing was published. Preview the draft's rules (the same `base_version` and changes the save sent), then publish with the `backtest_id` it answers. See [the rules embed](https://provenanceauth.com/docs/embeds/rules.md). |
| [`rules_embed_out_of_scope`](#rules_embed_out_of_scope) | 400 `invalid_request_error` | **Outside the session's scope.** A rules embed save (`POST /v1/embed/rules/versions`) changed something the session's scope doesn't allow: a rule it doesn't show, a locked rule, a value that isn't a blank or is outside its bounds, turning off a rule it may not turn off, or a template it may not add. `param` names the change. Nothing was saved. Change only the blanks, within their bounds, on rules the session shows. To allow more, mint a new session with a wider scope. See [the rules embed](https://provenanceauth.com/docs/embeds/rules.md). |
| [`rules_embed_rule_missing`](#rules_embed_rule_missing) | 400 `invalid_request_error` | **Rule not in the policy.** A rules embed session (`rules`) shows rules of the account's policy by id. A rule listed in `rules.show` isn't in the kind's live policy (or the built-in default when there is none); `param` names the entry. Nothing was minted. List rule ids from the policy (`GET /v1/authorize/policies` for checkout, `GET /v1/mandate/policies` for intent), or save the rule first. See [the rules embed](https://provenanceauth.com/docs/embeds/rules.md). |
| [`rules_embed_unavailable`](#rules_embed_unavailable) | 503 `unavailable_error` | **Rules unavailable.** The policy behind a rules embed couldn't be read right now. Nothing is shown in its place: the embed says the rules are unavailable, never made-up rows. Retry shortly. |
| [`run_halted`](#run_halted) | 409 `invalid_request_error` | **Run halted.** The run is halted: its grants are revoked, its sessions locked, and it takes no new members until a person resumes it. `error.details.run_id` is the run. Ask an owner or admin to review the run in the console and resume it, or start a new run. See [halt a run](https://provenanceauth.com/docs/mandate/guides/halt-a-run.md). |
| [`run_outside_counts_unavailable`](#run_outside_counts_unavailable) | 503 `unavailable_error` | **Outside agent counts unavailable.** A run's outside-agent counts (`outside_proposals`, `outside_briefs`, `latest_outside_proposal`) couldn't be read right now, so the runs aren't shown rather than shown with made-up zeros. Retry shortly. |
| [`run_record_not_configured`](#run_record_not_configured) | 503 `unavailable_error` | **Run record not configured.** This deployment has no key to seal run records at rest, so it doesn't accept, show or verify them. Runs, halts and the run guard still work. Ask the operator to set the run record encryption key (see the deployment guide). |
| [`run_state_invalid`](#run_state_invalid) | 409 `invalid_request_error` | **Run state invalid.** The action doesn't apply to the run in its current status (for example, resuming a run that isn't halted, or joining one that ended); `error.details.status` is the status. Read the run with `GET /v1/mandate/runs/:id` and act on its `status`. |
| [`sandbox_only`](#sandbox_only) | 403 `permission_error` | **Sandbox only.** This works with sandbox keys only. Live events go to your registered webhook endpoints, and a live text is sent, never recorded. Use a `prv_test_` key. See [forwarding events with the CLI](https://provenanceauth.com/docs/integrate/test-webhooks.md#4-forward-events-to-your-machine) and [test mode](https://provenanceauth.com/docs/messaging/test-texts.md). |
| [`screening_provider_error`](#screening_provider_error) | 502 `api_error` | **Screening provider error.** The screening provider returned an error; its message is logged against your `request_id`. Retry with backoff, and quote the `request_id` if it persists. |
| [`seat_limit_reached`](#seat_limit_reached) | 402 `billing_error` | **Seat limit reached.** Adding this console member would go past the plan's included seats plus the seats the account bought. Outside approvers and people using the Personal app are not seats. Buy a seat (prorated) with `POST /v1/account/seats` or in Settings → Plan & usage, or upgrade. See [seats](https://provenanceauth.com/docs/account/plans-and-usage.md#seats). |
| [`secret_scanning_keys_unavailable`](#secret_scanning_keys_unavailable) | 503 `unavailable_error` | **Scanner keys unavailable.** The scanner's published signing keys couldn't be fetched, so the report was held rather than trusted. Retry the delivery later; the report is processed once the keys can be read. |
| [`secret_scanning_not_configured`](#secret_scanning_not_configured) | 503 `unavailable_error` | **Secret scanning not configured.** This deployment doesn't accept secret scanning reports from GitHub yet. Report a leaked key with `POST /v1/public/leaked_keys`, which works on every deployment. |
| [`secret_scanning_signature_invalid`](#secret_scanning_signature_invalid) | 401 `authentication_error` | **Signature invalid.** The report's signature didn't verify against the scanner's published keys. Send the report exactly as the scanner signed it, with its key identifier and signature headers. |
| [`self_delivery_not_allowed`](#self_delivery_not_allowed) | 400 `invalid_request_error` | **Self-delivery not allowed.** This request can't be delivered by you (`delivery: "self"`): it is a bare-jti routing or an in-house step-up. Route an intent token to an approver link with `delivery: "self"`, or let Provenance send it. |
| [`seller_confirmation_not_offered`](#seller_confirmation_not_offered) | 400 `invalid_request_error` | **Seller doesn't confirm this order.** You asked for a person at the seller to confirm (`require_seller_person`), and the seller's confirmation policy doesn't cover this order; `error.details.seller_confirmation` is the policy. Accept without `require_seller_person`, ask your own person instead, or don't buy. |
| [`sending_number_exists`](#sending_number_exists) | 409 `invalid_request_error` | **Sending number already set up.** An account has one sending number. It already has saved details or a number that isn't released, so nothing was stored. Edit the saved details (`PATCH`), resubmit a number that needs a fix, or release or delete the current row first. |
| [`sending_number_not_editable`](#sending_number_not_editable) | 409 `invalid_request_error` | **Details already sent.** Only saved details that haven't become a number request can be edited. This row was already sent to the provider. When the carriers ask for a change, send it with `POST /v1/account/sending_numbers/:id/resubmit`. |
| [`sending_number_not_rejected`](#sending_number_not_rejected) | 409 `invalid_request_error` | **Number doesn't need a fix.** A resubmission or a consent image is only taken for a number whose review came back needing a fix. Read the number's `status`; resubmit only while it is `rejected`. |
| [`sending_numbers_unavailable`](#sending_numbers_unavailable) | 503 `unavailable_error` | **Sending number unavailable.** The sending number couldn't be read or saved (`details.reason: store_failed`), the text provider didn't take a resubmission or a release (`provider_failed`), or an opt-in image couldn't be drawn (`render_failed`). Nothing changed, and no number, status or image was made up. Retry after `Retry-After` seconds. |
| [`service_unavailable_maintenance`](#service_unavailable_maintenance) | 503 `unavailable_error` | **Down for maintenance.** The API is in maintenance mode and processed nothing; only `/health` and `/health/deep` answer. Retry after the `Retry-After` interval (3600 seconds by default). |
| [`session_already_finalized`](#session_already_finalized) | 409 `invalid_request_error` | **Session already finalized.** The capture session is already finalized and accepts no more input. Open a new session with `POST /v1/attest/capture_sessions`. |
| [`session_expired`](#session_expired) | 401 `authentication_error` | **Session expired.** The capture session expired 10 minutes after its last chunk. Open a new capture session and record again. |
| [`shopify_session_token_invalid`](#shopify_session_token_invalid) | 401 `authentication_error` | **Shopify session token invalid.** The request from the Provenance app in Shopify's admin carried no session token, or one that is expired, signed for another app, or names no shop. Reload the app in Shopify's admin: App Bridge issues a fresh token for each request. |
| [`short_link_expired`](#short_link_expired) | 400 `invalid_request_error` | **Short link expired.** A short link answers until the link it points to expires (the approval, capture request or hosted page link). This one has expired. Nothing was opened. Ask the sender for a new link. |
| [`short_link_missing`](#short_link_missing) | 404 `invalid_request_error` | **Short link not found.** No short link has this code in this environment. Codes are random, so a mistyped one finds nothing. Open the link from the text again, or ask the sender for a new one. |
| [`short_link_unavailable`](#short_link_unavailable) | 503 `unavailable_error` | **Short links unavailable.** The short link couldn't be looked up right now. Nothing was opened. Retry shortly. The long link in the request still works. |
| [`sign_in_required`](#sign_in_required) | 401 `authentication_error` | **Sign in required.** A signed plan link can read a plan, decline it or tighten it. Accepting gives spending authority to other agents, so it needs the person signed in. Open the plan in the people home or the app and accept there. |
| [`signing_key_exists`](#signing_key_exists) | 409 `invalid_request_error` | **Signing key exists.** This public key (the same JWK thumbprint) is already registered for the agent. List the agent's keys with `GET /v1/identify/agents/:id/signing_keys`; a key is registered once. |
| [`signing_key_limit_reached`](#signing_key_limit_reached) | 409 `invalid_request_error` | **Signing key limit reached.** The agent already has five active signing keys, the most its directory publishes. Revoke a key you've rotated away from with `DELETE /v1/identify/agents/:id/signing_keys/:key_id`, then add the new one. |
| [`slow_down`](#slow_down) | 400 `invalid_request_error` | **Slow down.** Polled faster than `interval` (RFC 8628). Wait `interval` seconds between polls (add 5 seconds after a slow_down). |
| [`sms_webhook_invalid`](#sms_webhook_invalid) | 401 `authentication_error` | **Text reply refused.** The request's `X-Twilio-Signature` didn't verify for this URL and its parameters. Nothing was read or recorded. Only Twilio calls this route, at the exact URL set on the sending number. The public API URL must match the one Twilio signs. |
| [`sms_webhook_unavailable`](#sms_webhook_unavailable) | 503 `unavailable_error` | **Text reply not recorded.** This deployment has no Twilio auth token to check the signature with, or the stop list couldn't be written. Nothing was recorded, so a STOP isn't lost: Twilio can deliver it again. Ask the operator to set the Twilio auth token, or retry after `Retry-After` seconds. |
| [`spend_cap_reached`](#spend_cap_reached) | 402 `billing_error` | **Spend cap reached.** The account's usage this billing month reached the monthly cap it set. `error.billing.upgrade_url` links to the setting. Raise or remove the cap in Settings → Plan & usage, or with `PUT /v1/account/spend_limit`. See [spend caps](https://provenanceauth.com/docs/account/plans-and-usage.md#spend-caps). |
| [`spend_limit_exceeded`](#spend_limit_exceeded) | 402 `billing_error` | **Spend limit exceeded.** The account reached its monthly spend limit. Raise the limit in the account portal or with `PUT /v1/account/spend_limit`. See [spend limits](https://provenanceauth.com/docs/account/plans-and-usage.md#spend-limits). |
| [`spend_summary_unavailable`](#spend_summary_unavailable) | 503 `unavailable_error` | **Spend summary unavailable.** The spend entries behind `GET /v1/mandate/spend_summary` couldn't be read right now. Nothing is returned in their place: a summary of zero would read as nothing spent. Retry shortly. A grant's own spend is still at `GET /v1/mandate/grants/{id}/spend`. |
| [`sso_error`](#sso_error) | 401 `authentication_error` | **SSO error.** The single sign-on flow failed; the message names the step (state, code exchange or ID token). Restart sign-in from `/v1/auth/sso/start`. Operators: check the IdP configuration. See [SSO](https://provenanceauth.com/docs/account/sign-in-and-teams.md#4-invite-members-and-set-up-sso). |
| [`stepup_delivery_not_configured`](#stepup_delivery_not_configured) | 503 `unavailable_error` | **Step-up delivery not configured.** A checkout step-up has no way to reach the person: the account has no webhook endpoint subscribed to `mandate.approval.created` (for the approval embed), and the call routes to no approver link. A step-up never falls back to the account's own inbox. Subscribe a webhook endpoint to `mandate.approval.created` and show the approval in your app with the approval embed, or pass `approval.route.approver_link_id` for an active approver link. See [ask the shopper to approve](https://provenanceauth.com/docs/authorize/guides/verify-agent-checkout.md#ask-the-shopper-to-approve). |
| [`store_agent_channel_exists`](#store_agent_channel_exists) | 409 `invalid_request_error` | **Channel already listed.** A channel with this platform and identifier is already on the agent channel list. Change the channel that is listed, or retire it first. |
| [`store_billing_elsewhere`](#store_billing_elsewhere) | 409 `invalid_request_error` | **Billed through another shop.** The account's Shopify plan is billed through another of its connected shops. Shops on one platform share one plan. Change the plan from the Provenance app in the shop that carries the bill (named in the message). |
| [`store_connection_conflict`](#store_connection_conflict) | 409 `invalid_request_error` | **Shop connected elsewhere.** This shop is already connected to another Provenance account. One shop connects to one account. Disconnect the shop from the other account (or uninstall the app from the shop), then connect it here. |
| [`store_integration_unconfigured`](#store_integration_unconfigured) | 503 `unavailable_error` | **Store integration not configured.** This deployment has no app credentials for this platform, so its connect, webhook and store routes are off and nothing was changed. Use the checkout approvals API from your own checkout meanwhile. Operators: add the platform's app credentials; see [server configuration](https://provenanceauth.com/docs/self-host/configuration.md). |
| [`store_oauth_state_invalid`](#store_oauth_state_invalid) | 400 `invalid_request_error` | **Connect link not valid.** The platform sent back a connect state that is unknown, already used, older than 10 minutes, or started in another console session. Start again from Connect a store in the console, in the same browser. |
| [`store_order_not_held`](#store_order_not_held) | 409 `invalid_request_error` | **Order not held.** This store order isn't held by Provenance (it was never held, or it was already released or cancelled), so there is nothing to release or cancel. Read the order with `GET /v1/authorize/store_orders/{id}` and act on it in the platform's admin. |
| [`store_platform_unavailable`](#store_platform_unavailable) | 503 `unavailable_error` | **Platform unavailable.** The platform's API didn't answer or refused the call, so the hold, release or cancel didn't happen. Nothing was changed on the order. Retry in a minute. If the shop's access was removed, connect it again. |
| [`store_shop_not_connected`](#store_shop_not_connected) | 409 `invalid_request_error` | **Shop not connected.** The shop the Provenance app in Shopify is open in isn't connected to a Provenance account, or its app was removed. Connect the shop from Authorize → Stores in the Provenance console, then reload the app in Shopify. |
| [`store_site_unreachable`](#store_site_unreachable) | 400 `invalid_request_error` | **Site not reachable.** Connecting a WooCommerce store checks with the Provenance plugin on the site itself. The site didn't answer, or its plugin didn't name this connect, so nothing was connected. Make sure the site is public (not a local or password-protected copy) and the plugin is active, then press Connect in WordPress again. |
| [`store_webhook_signature_invalid`](#store_webhook_signature_invalid) | 401 `authentication_error` | **Signature invalid.** The platform's signature over the request didn't match this deployment's app secret, so nothing in it was read. Send the request exactly as the platform signed it. Operators: check that the app secret matches the one in the platform's partner dashboard. |
| [`storefront_script_unavailable`](#storefront_script_unavailable) | 503 `unavailable_error` | **Storefront script unavailable.** This deployment's build doesn't carry the storefront check script, so nothing was served. A store's pages load as usual without it. Operators: build `@provenance/embed` with the API (`pnpm build`) and redeploy. |
| [`tab_cap_exceeded`](#tab_cap_exceeded) | 409 `invalid_request_error` | **Tab cap exceeded.** The statement would take today's usage past the tab's `daily_cap`, or the grant's budget can't cover today's reservation; the tab is paused until the next UTC day (it's in the revocation list's `paused`). Nothing from the statement was recorded. Stop serving calls on this tab until the next UTC day, or ask the buyer to open a tab with a higher cap. |
| [`tab_closed`](#tab_closed) | 409 `invalid_request_error` | **Tab closed.** The tab is closed, expired, declined or still waiting for approval, so it can't take this action; `error.details.status` is the status. Read the tab with `GET /v1/authorize/tabs/:id`. A closed tab stays closed: the buyer opens a new one. |
| [`tab_statement_invalid`](#tab_statement_invalid) | 400 `invalid_request_error` | **Usage statement invalid.** The usage statement isn't signed with the seller agent's registered key, names another tab, differs from the body, overlaps an earlier statement, spans two UTC days, lies outside the tab's life, or charges more than `max_per_call` per call; the message says which. Sign each period with `signUsageStatement()` from `@provenanceauth/rails/tabs`, after the previous one, within one UTC day. |
| [`takeover_event_closed`](#takeover_event_closed) | 409 `invalid_request_error` | **Takeover event closed.** The takeover event was already answered, so it can't take this response. Read the event with `GET /v1/mandate/takeover_events/:id`; a new suspicion opens a new event. |
| [`takeover_rotation_incomplete`](#takeover_rotation_incomplete) | 409 `invalid_request_error` | **Key rotation incomplete.** The agent can't resume while a key the lockdown named is still active. Rotate or revoke each key in `compromised_key_ids`, then recover the agent again. |
| [`task_not_manual`](#task_not_manual) | 409 `invalid_request_error` | **Task closes by itself.** This console task closes when its source is resolved (an approval is decided, a lock is cleared, a payment goes through), so it can't be marked done by hand. Resolve the source from the task's link. See [the Inbox](https://provenanceauth.com/docs/account/console.md#3-work-through-the-inbox). |
| [`terms_acceptance_required`](#terms_acceptance_required) | 409 `invalid_request_error` | **Terms acceptance required.** A face or ID capture needs the person's acceptance of the Terms of Service first. `details` gives the `variant`, the current `terms_version` and the `reason`: `not_shown` (no answer yet), `declined` (the person chose Not now) or `version_changed` (the terms the person accepted changed since). Show the release sheet and let the person choose I agree, or, when your own screen asked, send `terms_accepted: true` on the call that starts the item. See [the capture release](https://provenanceauth.com/docs/attest/guides/capture-release.md). |
| [`test_message_no_contact`](#test_message_no_contact) | 409 `invalid_request_error` | **No contact for a test message.** A test text goes to your verified phone and a test email to your sign-in email; you have no verified phone (or no email) for the channel asked. Add and verify your phone in Settings → Notifications, or send the test by email. |
| [`test_message_unavailable`](#test_message_unavailable) | 503 `unavailable_error` | **Test message not available.** This deployment has no sender for that channel (texts or email), so nothing was sent and nothing was made up. Try the other channel, or ask the operator to set up the text or email provider. |
| [`text_consent_link_expired`](#text_consent_link_expired) | 400 `invalid_request_error` | **Manage texts link expired.** This **Manage texts** link is more than 90 days old. Nothing was changed. Every request email carries a new one, and a reply of STOP to the company's number always works. Open **Manage texts** from a newer email, or reply STOP to the company's number. |
| [`text_consent_mode_mismatch`](#text_consent_mode_mismatch) | 409 `invalid_request_error` | **Consent mode doesn't allow this.** A statement that a person agreed to texts needs the account's consent mode to be `company` (We have it). Under `provenance` (Provenance asks), or with no mode chosen, Provenance asks the person instead. Nothing was recorded, and a request that carried the statement was not created. Set the mode with `PUT /v1/account/text_consent` (`{ "mode": "company" }`), or leave out `text_consent`. |
| [`text_consent_screenshots_full`](#text_consent_screenshots_full) | 409 `invalid_request_error` | **Five screenshots already.** The account already holds five screenshots of its opt-in, the most the carrier review takes. Nothing was added. Delete one with `DELETE /v1/account/text_consent/screenshots/{id}`, then upload again. |
| [`text_consent_withdrawn`](#text_consent_withdrawn) | 409 `invalid_request_error` | **Consent already withdrawn.** This consent was already withdrawn. `error.details.withdrawn_at` says when. Nothing to do: texts to this phone stay stopped until the person agrees again. |
| [`text_consents_unavailable`](#text_consents_unavailable) | 503 `unavailable_error` | **Consent records unavailable.** The consent records couldn't be read or written, so nothing was recorded and no answer is guessed. `error.details.reason` says why. Retry after `Retry-After` seconds. |
| [`threeds_bank_check_closed`](#threeds_bank_check_closed) | 409 `invalid_request_error` | **Bank check not open.** This approval has no bank check waiting for a result: it wasn't asked for, it already has an outcome, or it timed out. Read the approval's `bank_check` for its state. A new bank check needs a new approval. |
| [`threeds_bank_step_not_configured`](#threeds_bank_step_not_configured) | 503 `unavailable_error` | **Bank check not configured.** The bank-check step (3-D Secure on the approval page, through your payment provider) isn't on for this deployment, so nothing was started and nothing was recorded. Create the approval without `bank_check`, or use the approval's receipt and evidence. It turns on once a payment provider's sandbox confirms its adapter. |
| [`threeds_bridge_not_configured`](#threeds_bridge_not_configured) | 503 `unavailable_error` | **Payment provider bridge not configured.** The bridge that hands a Provenance approval to a payment provider's 3-D Secure server is waiting for a partner integration, so it is off on this deployment and nothing was sent. Use the approval's receipt and signals directly, or build an evidence pack. Operators: the bridge turns on once a payment-provider partner is integrated. |
| [`threeds_provider_not_configured`](#threeds_provider_not_configured) | 503 `unavailable_error` | **Payment provider not configured.** This deployment hasn't confirmed the named payment provider's 3-D Secure adapter in that provider's sandbox, so it can't run a bank check through it. Name a provider this deployment supports, or leave out `bank_check`. A provider is added once its sandbox check passes. |
| [`tool_call_allowance_reached`](#tool_call_allowance_reached) | 429 `rate_limit_error` | **Monthly tool calls used.** This person used the free tool calls for this month. Wait for the next month; calls start again on the first. |
| [`tool_connect_invalid`](#tool_connect_invalid) | 400 `invalid_request_error` | **Connection attempt not valid.** The sign-in at the service didn't finish: the attempt expired, was already used, belongs to someone else, or the service refused the code. Start again with `POST /v1/personal/tool_connections`. |
| [`tool_connect_issuer_mismatch`](#tool_connect_issuer_mismatch) | 400 `invalid_request_error` | **Sign-in came from another server.** The sign-in response didn't come from the authorization server this connection started with (RFC 9207 `iss` didn't match, or was missing when the server promised it). Nothing was connected, and the response's error text isn't shown. Start again with `POST /v1/personal/tool_connections`. If it happens again, don't sign in through that link. |
| [`tool_connect_unavailable`](#tool_connect_unavailable) | 503 `unavailable_error` | **Service sign-in unavailable.** The service's authorization server couldn't be identified: its metadata couldn't be read, or it contradicted itself (an issuer that doesn't match, or no PKCE S256). Nothing was connected. Try again later. If it keeps failing, the service's sign-in setup changed; contact support. |
| [`tool_connection_needs_reconnect`](#tool_connection_needs_reconnect) | 409 `invalid_request_error` | **Reconnect needed.** The service stopped accepting this connection's sign-in: a refresh was refused, or access was withdrawn at the service. Reconnect the service in Provenance (`POST /v1/personal/tool_connections/{id}/reconnect`). |
| [`tool_denied_by_rule`](#tool_denied_by_rule) | 403 `permission_error` | **Denied by the person's rule.** A rule the person set (or a suspected takeover of the agent) denies this tool call. Don't retry another way; tell the person what you need. |
| [`tool_gateway_not_configured`](#tool_gateway_not_configured) | 503 `unavailable_error` | **Tool gateway not set up.** Connecting tools isn't available on this deployment: the gateway is off, or its token encryption key isn't set. Use a deployment with the tool gateway turned on; a self-hosted API needs the gateway and its key configured. |
| [`tool_not_granted`](#tool_not_granted) | 403 `permission_error` | **Tool not given to this agent.** The person hasn't given this agent (or this session) this tool. Ask the person to give the agent this tool in Provenance. |
| [`tool_service_unavailable`](#tool_service_unavailable) | 409 `invalid_request_error` | **Service not offered.** This service isn't in the catalog here, or its OAuth app isn't registered on this deployment. Pick a service from `GET /v1/personal/tool_catalog` whose `available` is true. |
| [`tool_upstream_unavailable`](#tool_upstream_unavailable) | 503 `unavailable_error` | **Service unavailable.** The connected service didn't answer in time, refused the connection or answered with an error. No result was made up. Try again later; the service's own status page says whether it is down. |
| [`trace_backend_cold`](#trace_backend_cold) | 503 `unavailable_error` | **Trace backend cold.** The trace worker is loading the model (a serverless GPU cold start). Retry after a few seconds, or pass a `trace_id` from an earlier traced inference. |
| [`trace_backend_error`](#trace_backend_error) | 502 `api_error` | **Trace backend error.** The trace worker answered with an error, timed out or returned a malformed response, and nothing was substituted. Retry, then check the worker's `/health`. |
| [`trace_backend_not_configured`](#trace_backend_not_configured) | 503 `unavailable_error` | **Trace backend not configured.** This server has no trace worker connected; the registry stays readable. Operators: connect a trace worker. See [self-hosting the worker](https://provenanceauth.com/docs/self-host/trace-worker.md). |
| [`trace_backend_unavailable`](#trace_backend_unavailable) | 503 `unavailable_error` | **Trace backend read unavailable.** The trace worker in this environment does not serve the read this request needs yet, and nothing was made up in its place. Use the sandbox, or ask the operator to turn on the worker's batched read. See [define a family from examples](https://provenanceauth.com/docs/trace/guides/canary-family-builder.md). |
| [`trace_baseline_exists`](#trace_baseline_exists) | 409 `invalid_request_error` | **Baseline exists.** A learning or ready baseline already covers this agent (or the account), model and family. Re-learn it with `POST /v1/trace/baselines/:id/relearn`, or delete it first. See [baselines](https://provenanceauth.com/docs/trace/concepts/baselines.md). |
| [`trace_eval_run_active`](#trace_eval_run_active) | 409 `invalid_request_error` | **Eval run already running.** The suite already has a queued or running run; a suite runs one at a time. Poll the running one with `GET /v1/trace/eval_runs/:id`, then start the next. See [eval explorer](https://provenanceauth.com/docs/trace/guides/eval-explorer.md#2-run-the-suite). |
| [`trace_explanations_disabled`](#trace_explanations_disabled) | 403 `permission_error` | **AI summaries are off.** Your account setting `trace_explanations.ai_summary` is `off`. An owner or admin turns it on with `PUT /v1/trace/settings/explanations` (`{"ai_summary": "on"}`). See [explanations](https://provenanceauth.com/docs/trace/guides/trace-rules.md#optional-ai-summary). |
| [`trace_fixture_miss`](#trace_fixture_miss) | 503 `unavailable_error` | **Fixture miss.** The sandbox replays recorded fixtures only, and this input wasn't recorded. Use one of the documented example prompts. See [traced inference](https://provenanceauth.com/docs/trace/guides/traced-inference.md). |
| [`trace_labeler_error`](#trace_labeler_error) | 502 `api_error` | **Labeller error.** The labeller failed, timed out or returned a malformed answer for a neuron. That neuron got no label and was not billed. Retry later. Labels made before the error in the same request are kept and billed. |
| [`trace_labeler_not_configured`](#trace_labeler_not_configured) | 503 `unavailable_error` | **Labeller not configured.** This server has no neuron labeller configured, so no label was made and nothing was billed. Run your sidecar with your own labeller key and post its labels, or ask the operator to configure the labeller. See [neuron labels](https://provenanceauth.com/docs/trace/guides/neuron-labels.md). |
| [`trace_model_not_built`](#trace_model_not_built) | 503 `unavailable_error` | **Model not built.** The model is listed in the registry, but its neuron registry and canary sets aren't built yet, so it has no readings. Use a built model from `GET /v1/trace/registry/models` (status `ready` or `fixture`). See [the neuron registry](https://provenanceauth.com/docs/trace/concepts/neuron-registry.md). |
| [`trace_pause_needs_session`](#trace_pause_needs_session) | 403 `permission_error` | **Trace pause needs a console session.** Pausing or resuming Trace is done by an owner or admin in a signed-in console session with a fresh second factor. No API key can, whatever its scopes. Sign in to the console as an owner or admin and use Trace › Pause. |
| [`trace_paused`](#trace_paused) | 403 `permission_error` | **Trace paused.** An owner or admin paused Trace on this account: model calls, signed readings, new trace jobs and eval runs are refused. Reads, lists and offline verification keep working. Ask an owner or admin to resume Trace (Trace › Pause in the console) once the incident is over. See [pause Trace](https://provenanceauth.com/docs/trace/guides/trace-rules.md#pause-trace). |
| [`trace_prompt_too_large`](#trace_prompt_too_large) | 413 `invalid_request_error` | **Prompt too large.** The messages exceed the server's prompt limit, 32,000 characters by default. Trim the prompt or split the request. |
| [`trace_reading_replayed`](#trace_reading_replayed) | 409 `invalid_request_error` | **Reading replayed.** A reading for this `trace_id` was already ingested for your account. Mint a fresh `trace_id` for every reading. |
| [`trace_reading_signature_invalid`](#trace_reading_signature_invalid) | 401 `authentication_error` | **Reading signature invalid.** A sidecar reading's JWS didn't verify: a wrong `typ` or `alg`, an unknown or revoked `kid`, or a signature that doesn't match the registered key. Sign with the private half of an active key from `POST /v1/trace/worker_keys`. See [sidecar](https://provenanceauth.com/docs/self-host/sidecar.md). |
| [`trace_rules_unavailable`](#trace_rules_unavailable) | 503 `unavailable_error` | **Trace rules unavailable.** Your Trace rules couldn't be read, so the action wasn't assessed. This is never answered with an allow, whatever the policy's fail setting says: that setting is about a finding, never the rules themselves. Retry with the same `Idempotency-Key`. Keep the tool from running until an assessment answers. See [Trace rules](https://provenanceauth.com/docs/trace/guides/trace-rules.md#when-something-is-unavailable). |
| [`trial_ended`](#trial_ended) | 402 `billing_error` | **Free trial ended.** A billable call on a Free account after its trial: the 30 days are over, or the counter this call draws on is used up (100 billable API calls or 10 Trace minutes). With `counter` `texts`, a reminder could go only as a text, and Free sends no texts to your customers. `error.billing` names the counter (`counter`, `used`, `limit`, `ends_at`) and the console's plan picker (`upgrade_url`). Reads, the console, keys and data keep working. Choose Pro or Growth in Settings → Plan & usage to continue. See [the Free trial](https://provenanceauth.com/docs/account/plans-and-usage.md#free-trial). |
| [`two_factor_challenge_expired`](#two_factor_challenge_expired) | 401 `authentication_error` | **Second-factor step expired.** The second-factor step after your password, Google, GitHub or email link has expired (5 minutes), was already used, or ended after 5 wrong answers. Sign in again from the start, then enter your second factor. |
| [`two_factor_invalid`](#two_factor_invalid) | 400 `invalid_request_error` | **Second factor invalid.** The authenticator code, passkey or recovery code didn't verify. A code works once, and only within a minute or so of the time it shows. Enter the current code from your authenticator app, use a passkey, or use one of your recovery codes. |
| [`two_factor_locked`](#two_factor_locked) | 429 `rate_limit_error` | **Second factor locked.** Too many wrong second factors in a row locked two-factor sign-in for this person for a while; the lock doubles with each further failure, up to an hour. Wait for `Retry-After` seconds, then try again with a fresh code or a recovery code. |
| [`two_factor_required_by_org`](#two_factor_required_by_org) | 409 `invalid_request_error` | **Two-factor required by your org.** Your organization requires two-factor sign-in, so the last second factor can't be removed. Add another authenticator app or passkey first, or ask an owner or admin to turn the requirement off. |
| [`two_factor_setup_required`](#two_factor_setup_required) | 403 `permission_error` | **Two-factor setup required.** This account requires two-factor sign-in, and this person hasn't set up a second factor yet; until they do, only the setup endpoints answer. Set up an authenticator app or a passkey on Settings → Sign-in & security. See [two-factor sign-in](https://provenanceauth.com/docs/account/sign-in-and-teams.md#2-turn-on-two-factor-sign-in). |
| [`ucp_checkout_invalid`](#ucp_checkout_invalid) | 400 `invalid_request_error` | **UCP checkout not readable.** The `checkout` isn't a UCP checkout response this API can read: it needs `id`, `currency`, `line_items` with `item.id` and `quantity`, and a `totals` entry of type `total` in minor units. Send your own checkout response exactly as you return it to the platform ([UCP guide](https://provenanceauth.com/docs/authorize/guides/ucp.md)). |
| [`ucp_private_key_refused`](#ucp_private_key_refused) | 400 `invalid_request_error` | **Private key refused.** A key in `keys` carries private key material (`d`). Only public keys belong in a UCP profile, and Provenance never stores a private key. Send each key's public members only (`kid`, `kty`, `crv`, `x`, `y`), then rotate that key: it has left your systems. |
| [`ucp_profile_not_published`](#ucp_profile_not_published) | 404 `invalid_request_error` | **No hosted UCP profile.** This business hasn't turned on a UCP profile hosted by Provenance. Fetch the business's own `/.well-known/ucp` instead. |
| [`ucp_unconfigured`](#ucp_unconfigured) | 503 `unavailable_error` | **UCP rails not turned on.** This deployment has the Universal Commerce Protocol routes turned off, so nothing was assessed, stored or metered. Keep your UCP checkout as it is and use checkout assessments meanwhile; the operator of this deployment turns UCP rails on ([server configuration](https://provenanceauth.com/docs/self-host/configuration.md)). |
| [`ucp_version_unsupported`](#ucp_version_unsupported) | 400 `invalid_request_error` | **UCP version not supported.** The checkout names a UCP version this API doesn't map yet. Negotiate a supported version (`2026-08-25`) with the platform, or contact support about the version you need. |
| [`unsupported_grant_type`](#unsupported_grant_type) | 400 `invalid_request_error` | **Unsupported grant type.** The token endpoint takes `authorization_code` and `refresh_token`. Send one of the two grant types. |
| [`unsupported_media_type`](#unsupported_media_type) | 400 `invalid_request_error` | **Unsupported media type.** The media isn't a supported image or video type for this route. Send a JPEG image or a WebM/MP4 video, base64-encoded. |
| [`usage_limit_reached`](#usage_limit_reached) | 402 `billing_error` | **Usage limit reached.** A limit outside the plans was reached: the environment's synthetic-media screening budget, or a per-plan quota such as baselines or OAuth clients. Free trial counters answer `trial_ended` instead. Wait for the budget to reset (it resets daily and monthly), or upgrade for a higher quota. See [billing](https://provenanceauth.com/docs/account/plans-and-usage.md#upgrade). |
| [`use_cancel`](#use_cancel) | 400 `invalid_request_error` | **Cancel the plan instead.** `plan: "free"` on `POST /v1/account/plan` is refused: a paid plan ends through its own cancel route, which keeps it to the end of the paid period. Send `POST /v1/account/plan/cancel`, or cancel in Settings → Plan & usage. See [cancelling](https://provenanceauth.com/docs/account/plans-and-usage.md#cancel). |
| [`usual_spend_unavailable`](#usual_spend_unavailable) | 503 `unavailable_error` | **Usual spend unavailable.** The spend entries behind `GET /v1/mandate/grants/{id}/usual_spend` couldn't be read right now. Nothing is returned in their place: an empty answer would read as a person with no baseline. Retry shortly. A grant's own spend is still at `GET /v1/mandate/grants/{id}/spend`. |
| [`voice_callback_invalid`](#voice_callback_invalid) | 401 `authentication_error` | **Voice callback refused.** The callback's `X-Twilio-Signature` didn't verify for this URL and its parameters, or its single-use token is unknown, expired or already used. Nothing was run. Only Twilio calls this route, at the exact URL Provenance gave it. A token works once. |
| [`voice_confirmations_not_configured`](#voice_confirmations_not_configured) | 503 `unavailable_error` | **Phone-call confirmations not available.** This deployment can't place confirmation calls: the channel is off, or there's no Twilio voice number. Nothing was saved. Use another channel, or ask the operator to turn on phone-call confirmations. |
| [`voice_destination_blocked`](#voice_destination_blocked) | 400 `invalid_request_error` | **Calls to this number aren't offered.** Provenance doesn't place confirmation calls to this destination (its call cost is over the limit for the channel). Use another channel, such as the app, a text or email. |
| [`voice_not_configured`](#voice_not_configured) | 503 `unavailable_error` | **Voice not set up.** This deployment has no Twilio credentials, so it can't place calls or accept voice callbacks. Ask the operator to set the Twilio account, auth token and a voice-capable number. |
| [`voice_phone_not_verified`](#voice_phone_not_verified) | 400 `invalid_request_error` | **Verify your phone first.** Confirmation calls go only to a phone you verified. This account or person has no verified phone. Add and verify a phone number, then turn on phone calls. |
| [`webhook_endpoint_disabled`](#webhook_endpoint_disabled) | 409 `invalid_request_error` | **Webhook endpoint disabled.** The endpoint is disabled (by you, or automatically after repeated failed deliveries), so nothing is sent to it. Fix the endpoint, re-enable it with `PATCH /v1/webhook_endpoints/{id}` and `status: active`, then resend. See [testing webhooks](https://provenanceauth.com/docs/integrate/test-webhooks.md). |
| [`webhooks_unavailable`](#webhooks_unavailable) | 503 `unavailable_error` | **Webhook delivery is off.** This deployment's webhook delivery worker is turned off, so a delivery can't be resent and an endpoint can't replay events. Nothing was queued. Ask the operator to turn webhook delivery on, then retry. See [testing webhooks](https://provenanceauth.com/docs/integrate/test-webhooks.md). |
| [`wrong_party`](#wrong_party) | 403 `permission_error` | **Not your side of the exchange.** `record_fulfilment` records only your own side's steps: the responder records `delivered`, either party `paid`, and the requester `done`. This kind belongs to the other party. Record the kind your side owns, or ask the other party to record theirs. |
