OpenPoly logo
Troubleshooting

Common errors

Common integration errors and how operators should respond.

Common errors

Use error code plus surrounding record state together.

Authentication and scope

ErrorLikely causeNext action
INVALID_API_KEYmissing bearer token, revoked key, wrong tokenconfirm key value, revocation state, and target environment
INSUFFICIENT_SCOPEkey missing route scopeadd required scope or use different key

Request validation

ErrorLikely causeNext action
INVALID_NAMEAPI key create request missing namesend non-empty key name
INVALID_SCOPESscope list empty or unsupporteduse source-truth scopes from /docs/reference/scopes
INVALID_IDpath param not positive integervalidate resource ID before request
INVALID_URLwebhook endpoint URL invalid or not alloweduse HTTPS except allowed localhost testing cases
INVALID_ENABLED_EVENTSwebhook event name unsupporteduse event names from /docs/webhooks/event-types
INVALID_STATUSwebhook endpoint patch sent unsupported statususe active or disabled
INVALID_ENDPOINT_IDreplay or patch target ID invalidconfirm webhook endpoint or delivery ID
INVALID_DELIVERY_IDwebhook replay target invalidconfirm delivery ID from Webhook Deliveries
INVALID_MARKET / INVALID_MARKET_IDmarket filter or visibility target invaliduse a positive numeric ID or exact slug where supported
INVALID_DIRECTIONsimulator direction invaliduse debit, credit, debit_reversal, or credit_reversal
INVALID_AMOUNT_MINORsimulator amount not positive integersend positive integer in minor units
FULL_CONTRACT_CONFIRMATION_REQUIREDwallet adapter full contract test missing explicit confirmationsend confirmation: true only for a dedicated test user and small amount

Resource and state

ErrorLikely causeNext action
NOT_FOUNDresource missing or not visible to authenticated operatorverify ownership and ID
SIMULATOR_DISABLEDsimulator route called outside staging/localuse staging/local simulator tools or use real wallet adapter flow
OPERATOR_USER_NOT_FOUNDuser not created or wrong external_user_idcreate launch/session first, then retry simulator call
SIMULATOR_USER_NOT_FOUNDsimulator user ID missing or not tagged as simulatorcreate/select a simulator user in staging
STAFF_SESSION_REQUIREDstaff-management endpoint called with API keysign in as dashboard staff with required staffs:* scope
WILDCARD_SCOPE_NOT_ALLOWEDstaff create/update attempted *assign explicit staff scopes
CANNOT_ASSIGN_SCOPEstaff tried assigning a scope they do not holduse a higher-privilege staff account or reduce requested scopes

Webhook receiver failures

These may appear in receiver logs or delivery samples rather than operator API JSON.

ErrorLikely causeNext action
MISSING_SIGNATURE_HEADERSreceiver expected headers missinginspect reverse proxy or framework raw request handling
INVALID_SIGNATUREwrong secret or wrong raw-body handlingverify stored secret and use raw body bytes
INVALID_TIMESTAMPtimestamp header unparsableinspect header handling
TIMESTAMP_SKEW_TOO_LARGEreceiver clock drift or replayed old requestfix system clock and reject stale delivery
EVENT_ID_MISMATCHbody and header mismatchinspect custom middleware or body transforms
DUPLICATE_EVENT_IDdelivery already processedkeep idempotent receiver behavior

When to escalate

Escalate after you collect:

  • request path
  • response status
  • operator API key scope set
  • event_id or idempotency_key
  • relevant UTC timestamps
Copyright © 2026