Docs / Errors
MASJID_NOT_FOUND
404Masjid not foundWhy it happens
No published masjid has this id. The id is well formed, but the masjid is no longer published, or never was.
On the masjid API (/v1/masjid/*), it means Masjidbox holds no prayer times for your masjid yet.
What to do
- Search for the masjid again: if it is listed, keep the
idit comes with. - Drop ids you stored long ago when they answer this code: they will not come back.
- On the masjid API, set up your prayer times in your Masjidbox dashboard first.
Example response
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"
}