View as Markdown

Integrate · Reference

Troubleshooting

Find the symptom you see, then apply the fix. Each row links to its entry on Errors or Reason codes, which carry the full description.

Requests and keys

SymptomCauseFix
404 route_movedThe path is an old one that moved to its product's /v1/{product}/… pathCall details.method details.path instead; the API reference lists every endpoint under its product.
401 authentication_requiredNo Authorization: Bearer headerSend your key as Authorization: Bearer $PROVENANCE_KEY.
401 invalid_api_keyThe key is wrong, revoked or from the other environmentCopy the key again from the console, or use a sandbox key against the sandbox.
403 insufficient_scopeThe key lacks the scope this route needsUse a key with that product's scope; Sandbox and keys lists each key's scopes.
403 product_not_enabledYour account doesn't have this productAsk for the product on your account, or call the product your key is for.
403 beta_access_requiredThe operator has paused sign-ups and limited sign-in to a list of emailsWrite to the contact address in the message, or sign in with an email on the list.
400 idempotency_key_reusedThe same Idempotency-Key was sent with a different bodyUse a new key for a new request; reuse a key only to retry the same body.

Limits and plans

SymptomCauseFix
402 trial_endedA Free trial counter is used up, or the 30 days endedChoose a plan in Settings → Plan & usage; see Plans and usage.
402 spend_cap_reachedThe month's usage reached the spend cap you setRaise the cap in Settings → Plan & usage, or wait for the next billing month.
402 plan_requiredThe feature needs a higher planUse the plan the error names in error.details.
429 rate_limit_exceededToo many requests in the windowWait the seconds in the Retry-After header, then retry; see Rate limits.

Mandate and Authorize

SymptomCauseFix
approval_pending that never resolvesNobody received the request, or it expired after 10 minutesCheck the approval in the console's Approvals inbox and the account's delivery channels; authorize again after it expires.
payload_hash_mismatchThe payload you verify isn't the one the token was issued forVerify with the exact payload the agent authorized; never rebuild it from the request.
binding: "mismatch", binding_mismatchThe order or payload you sent to POST /v1/verify differs from the token'sRefuse the order, or ask the person to approve the new one.
POST /v1/verify answers status_unavailableThe revocation check couldn't runRetry; accept on the offline checks alone only if your risk policy allows it.
An assistant reports session_stoppedThe person stopped that session in ProvenanceStart a new session in the assistant.
An assistant reports session_limitThe session's limits don't allow the requestAsk the person to change the session's limits, or stay within them.

Identify, Trace and webhooks

SymptomCauseFix
A signed request fails with signature_invalid and "created is in the future" or "created more than"The signing machine's clock is offSync the clock with NTP and sign with created set to now.
503 trace_fixture_miss in the sandboxThe sandbox model answers only recorded promptsSend one of the prompts on the Trace quickstart exactly.
A webhook's signature doesn't verifyThe body was parsed and re-serialized, or the secret is from another endpointVerify the raw request body with that endpoint's secret; see Webhooks.