Skip to main content
Version: v1.0

Troubleshooting

Use this page when something fails during integration. For unresolved issues, contact support with x-request-id, timestamp, and environment (test / live). Never share the raw API key.


Common mistakes​

MistakeFix
Test key with environment: "live"Match key prefix to SDK environment — Authentication
Parsing webhook body before verifyVerify HMAC on raw bytes — Webhooks
Missing allowed originRegister the domain under Allowed origins
Draft policy only (not published)Publish in Policies — Policies
Expecting consent.recorded after a test-key grantTest ledger skips automatic webhooks — use Send Test Event
Expecting proof on the test ledgerUse a live key — Sandbox
Duplicate consent rowsSend Idempotency-Key on writes
Wrong policy_ref in grant bodyMust match a published artifact ref

Webhook failures​

SymptomLikely causeAction
No deliveries after test-key consentExpected — test plane skips automatic webhooksUse Send Test Event or testEndpoint()
No deliveries on live keyEndpoint not ACTIVE or not subscribedConfirm status and event list under Webhooks
401 on verifyWrong secret or body mutatedVerify on raw body; use the active secret after rotation
Intermittent 5xxYour server timeoutReturn 2xx quickly; process async
Stuck after retriesDeliveries exhaustedFix your endpoint; ask support to replay if needed

Diagnostics: Company Portal → Webhooks → Diagnostics.


Authentication issues​

SymptomLikely causeAction
401 UnauthorizedMissing or invalid Bearer tokenAuthorization: Bearer smm_*
401 after key rotateOld key revokedUpdate secret store; create a new key
SDK throws on constructKey prefix mismatchsmm_test_ + environment: "test"

Policy errors​

SymptomLikely causeAction
404 on policy versionWrong policy_ref or versionclient.policies.listVersions
Validation error on draftSchema violationCompare to Policies
Widget shows wrong copyUnpublished draftPublish the policy version

SymptomLikely causeAction
400 validationMissing field or bad purpose_codeCheck ConsentWriteBody in the API Reference
409 conflictIdempotency key reused with a different bodyNew key or same body
Status shows REVOKED unexpectedlyPrior revoke for user + purposegetConsentTimeline

See Consent Integration.


Proof status​

SymptomLikely causeAction
Stuck PENDINGPipeline still processingWait; check Platform health. Contact support with request id if it stays pending
No proof on test keyExpected sandbox limitationSandbox
proof.ready not receivedWebhook not subscribedAdd proof.ready on the endpoint
Verify failsWrong batch or leafConfirm you are on a live key

Timestamp / receipt status​

SymptomLikely causeAction
No evidence.link.issuedNot subscribed, or JWT not yet issuedSubscribe; poll receipt API if needed
No proof.anchor_confirmedTimestamping still in progressWait on live ledger; check Platform health
TSA verify failsWrong receipt or rootVerify against the batch root (API or live verification)

Widget issues​

SymptomLikely causeAction
Blank iframeOrigin not allowedRegister the domain under Allowed origins
Session expiredTTL elapsedCreate a new session
postMessage not receivedWrong origin filterWidget events
Submit failsInvalid session tokengetWidgetSession status

Getting help​

  1. Capture x-request-id from API error responses.
  2. Note environment (test vs live) — never share the raw key.
  3. Check Integration Center / Platform health in the portal.
  4. Contact support with request ID and timestamp.

Next steps​