Skip to content

not_found

HTTP 404 · code not_found

No route matches the path, or the resource does not exist.

Sent by the router when no route matches (unless you set a custom NotFound handler), and by handlers through photonerr.NotFound(what), whose message is “what not found”.

Check the URL and the resource identifier.

{
"type": "https://photon.agenticmarket.dev/errors/not_found",
"title": "not found",
"status": 404,
"code": "not_found"
}

Match on the code field rather than on title, which is meant for people and may change. See all error codes.