Skip to content
Docs
Reference

LEDGER_INVALID_JOURNAL

Journal is malformed

Journal is malformed

HTTP status 500 Internal Server Error, code LEDGER_INVALID_JOURNAL.

What it means#

A journal was about to be written that breaks a ledger invariant other than balance: mixed currencies, no postings, or a posting with no amount. The write was refused. A defect in the code that built it.

What to do#

Report the request id. Nothing was written.

On the wire#

Every error response carrying this code names this page in error.moreInfo, with the request id in the query string. See Error codes for the response shape and the list of every code.