OPDC API error code

SCRIPT_FAILED

HTTP status 500

A script that failed in a way with no more specific code. 500.

The detail is in the server log under the correlation id, never in the response. Quote correlationId when raising a ticket.

The API answers with a problem document (RFC 9457) whose type is https://twinn.engineering/errors/script-failed, and with X-Error-Code: SCRIPT_FAILED. Branch on the code, never on the detail text.

How errors work, and what to retryEvery error code