A journal with no lines. 422.
OPDC API error code
JOURNAL_EMPTY
HTTP status 422
The API answers with a problem document (RFC 9457) whose type is https://twinn.engineering/errors/journal-empty, and with X-Error-Code: JOURNAL_EMPTY. Branch on the code, never on the detail text.