Skip to main content
Every error response carries a code you can match on, a type that groups codes, and a request_id to quote when you contact support. The same id is in the X-Request-ID response header. The doc_url field links to the entry for that code on this page.
Match on code, not on message. Messages can change. Some errors also carry param (the field at fault), fields (one entry per invalid field), or details. A validation_error lists every failing field in fields in one response. The API introduction describes each field.

Retry rules

Codes on failed events

Some event checks run after POST /v1/events returns 202. When one fails, the event’s status becomes FAILED and its error_code holds a code from this page, such as program_inactive, participant_inactive or unknown_participant. No HTTP status comes with it. Use the code’s entry for the cause and fix, then send a new event or retry the failed one. Rule warnings, configuration analysis findings and rule configuration revision caveats also have a code. They are advisories, not errors, so this page does not list them. The API reference describes them where they appear.

Invalid request

The request is malformed or breaks a rule on its own. Fix the request and send it again. Type: invalid_request.

Authentication

Scrip could not tell who is calling. Type: authentication.

Permission

Scrip knows who is calling, and that caller cannot do this. Type: permission.

Not found

The resource does not exist, or no longer exists. Type: not_found.

Conflict

The request is valid but conflicts with the current state of a resource. Read the resource, then decide whether to retry. Type: conflict.

Unprocessable

The request is well formed and breaks a business rule. Type: unprocessable.

Rate limited

You sent requests faster than the limit allows. See Limits and durations. Type: rate_limited.

Server and upstream

Something failed on the Scrip side or at a service Scrip depends on. Retry with backoff. Type: internal.

Codes outside the public API

The public API does not return these codes. They come from the Scrip dashboard and other Scrip surfaces. Each keeps an entry here so its doc_url works.