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
| Symptom | Cause | Fix |
|---|---|---|
404 route_ | The path is an old one that moved to its product's / path | Call details. details. instead; the API reference lists every endpoint under its product. |
401 authentication_ | No Authorization: Bearer header | Send your key as Authorization: Bearer $PROVENANCE_. |
401 invalid_ | The key is wrong, revoked or from the other environment | Copy the key again from the console, or use a sandbox key against the sandbox. |
403 insufficient_ | The key lacks the scope this route needs | Use a key with that product's scope; Sandbox and keys lists each key's scopes. |
403 product_ | Your account doesn't have this product | Ask for the product on your account, or call the product your key is for. |
403 beta_ | The operator has paused sign-ups and limited sign-in to a list of emails | Write to the contact address in the message, or sign in with an email on the list. |
400 idempotency_ | The same Idempotency-Key was sent with a different body | Use a new key for a new request; reuse a key only to retry the same body. |
Limits and plans
| Symptom | Cause | Fix |
|---|---|---|
402 trial_ | A Free trial counter is used up, or the 30 days ended | Choose a plan in Settings → Plan & usage; see Plans and usage. |
402 spend_ | The month's usage reached the spend cap you set | Raise the cap in Settings → Plan & usage, or wait for the next billing month. |
402 plan_ | The feature needs a higher plan | Use the plan the error names in error.. |
429 rate_ | Too many requests in the window | Wait the seconds in the Retry-After header, then retry; see Rate limits. |
Mandate and Authorize
| Symptom | Cause | Fix |
|---|---|---|
approval_ that never resolves | Nobody received the request, or it expired after 10 minutes | Check the approval in the console's Approvals inbox and the account's delivery channels; authorize again after it expires. |
payload_ | The payload you verify isn't the one the token was issued for | Verify with the exact payload the agent authorized; never rebuild it from the request. |
binding: "mismatch", binding_ | The order or payload you sent to POST / differs from the token's | Refuse the order, or ask the person to approve the new one. |
POST / answers status_ | The revocation check couldn't run | Retry; accept on the offline checks alone only if your risk policy allows it. |
An assistant reports session_ | The person stopped that session in Provenance | Start a new session in the assistant. |
An assistant reports session_ | The session's limits don't allow the request | Ask the person to change the session's limits, or stay within them. |
Identify, Trace and webhooks
| Symptom | Cause | Fix |
|---|---|---|
A signed request fails with signature_ and "created is in the future" or "created more than" | The signing machine's clock is off | Sync the clock with NTP and sign with created set to now. |
503 trace_ in the sandbox | The sandbox model answers only recorded prompts | Send one of the prompts on the Trace quickstart exactly. |
| A webhook's signature doesn't verify | The body was parsed and re-serialized, or the secret is from another endpoint | Verify the raw request body with that endpoint's secret; see Webhooks. |