Docs / Errors

INVALID_INPUT

400Invalid input

Why it happens

A query parameter is missing or outside its range: an empty or too long q on search, or a month other than current and next on the monthly times.

What to do

  • Read detail: it names what is wrong with this call.
  • Check the parameters against the operation's page in the reference.
  • Do not retry the same call: it will be refused again.

Example response

http
HTTP/1.1 400
{
  "type": "https://hub.masjidbox.com/docs/errors/INVALID_INPUT",
  "title": "Invalid input",
  "status": 400,
  "detail": "A query parameter is missing or out of its range.",
  "instance": "/v1/masjids/msj_abc123defg",
  "code": "INVALID_INPUT",
  "requestId": "req_8f14e45fceea167a5a36dedd4bea2543",
  "requestLogUrl": "https://hub.masjidbox.com/console/logs/req_8f14e45fceea167a5a36dedd4bea2543"
}