Skip to main content
An app-facing error answers with a code alongside the message. Branch on the code, not the message: messages are written for a developer to read and may be improved, while codes are stable.
Some older endpoints answer with the message only. Treat a missing code as generic and fall back to the HTTP status.

Registration errors

These come from registering a payment provider, a server-side tool or a subagent. They mean the request was refused and nothing was stored.

Runtime errors

These come from a call Salesive makes to you, and they describe why your endpoint did not answer usefully.
A 5xx with one of these codes is a failure of your endpoint, not of Salesive. Retry what is safe to retry, and treat tool_disabled and installation_inactive as terminal.

Auth and scope errors

A missing scope answers 403 with the missing permission named in the message, for example This app is missing the required permission(s): READ_ORDERS. There is no code on that one; read the message, or compare your granted scopes from the token response.

Handling 429

A rate-limited call answers 429 with Retry-After and the RateLimit-* headers. See rate limits for the bucket and the backoff recipe. Do not retry a 4xx that names a registration code: fix the request.