ObraLedger

Type to search.

malformed_request

The request could not be read as a request.

What to do

Usually malformed JSON, or a query parameter that cannot be parsed - an unparseable updatedSince, for instance, which is refused rather than ignored so that a typo cannot silently become a full export.

Should you try again?

No. The same request will fail the same way. Change something first.

How you'll see it

{
  "type": "https://www.obraledger.com/api/errors/malformed_request",
  "detail": "..."
}

The body also carries a title and a status. The detail is written for a person and we may reword it, so don't match on it. Some failures also carry a violations list naming the fields at fault.

Where it comes from

4 of the 10 calls can return this.

Building something and stuck? Tell us - we'd rather hear it than have you guess.