Docs / Errors

MASJID_NOT_FOUND

404Masjid not found

Why it happens

No published masjid has this id. The id is well formed, but the masjid is no longer published, or never was.

What to do

  • Search for the masjid again: if it is listed, keep the id it comes with.
  • Drop ids you stored long ago when they answer this code: they will not come back.

Example response

http
HTTP/1.1 404
{
  "type": "https://hub.masjidbox.com/docs/errors/MASJID_NOT_FOUND",
  "title": "Masjid not found",
  "status": 404,
  "detail": "No published masjid has this id.",
  "instance": "/v1/masjids/msj_abc123defg",
  "code": "MASJID_NOT_FOUND",
  "requestId": "req_8f14e45fceea167a5a36dedd4bea2543",
  "requestLogUrl": "https://hub.masjidbox.com/console/logs/req_8f14e45fceea167a5a36dedd4bea2543"
}