Skip to main content

How an error looks

Branch on error, never on message. A malformed request answers with message as a list of every field to fix:
A body with error_description, or a bare {"message": "..."}, comes from the gateway before the request reaches the API: check the bearer token (Sandbox and authentication).

Not found

An id that does not exist and an id outside your account answer the same way, so a caller never learns what exists.

Bad requests

Limits and faults

Treat a code you do not recognise as a refusal of that call.

What is safe to retry

Getting help

When you contact Securitize about a response, send the operation and the time of the call, the ids involved (tokenId, sourceCaId, sourceEventId), and the error, message and statusCode you received. Never send your client secret or your webhook signing secret.