Skip to content

BAD_REQUEST

HTTP 400 — Malformed request

A field or query parameter is the wrong shape, or (413) the body is over 64 kB.

What to do

Check the field named in your logs against the reference. The body limit is generous; a request near it is carrying something it should not.

Can I retry?

Not unchanged. Something in the request has to change first — retrying as-is gets the same answer.

The body you received

json
{
  "error": {
    "code": "BAD_REQUEST",
    "doc": "https://docs.pamopay.co/errors/BAD_REQUEST",
    "request_id": "req_5f3a9c2b1d4e6f7a8b9c0d1e"
  }
}

Quote request_id when you write to us; it finds the call without anybody grepping by timestamp.

All error codes

Every code, scope and route on this site is rendered from the API's own source.