OPDC API error code

JOURNAL_LINE_INVALID

HTTP status 422

A line missing something structural, typically an account. 422.

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

How errors work, and what to retryEvery error code