unavailable
HTTP 503 · code unavailable
The server cannot handle the request right now.
When Photon sends it
Section titled “When Photon sends it”Sent through photonerr.Unavailable(reason), for example during maintenance or when a dependency is down.
What the client should do
Section titled “What the client should do”Retry later, honouring Retry-After if present.
Example response
Section titled “Example response”{ "type": "https://photon.agenticmarket.dev/errors/unavailable", "title": "service unavailable", "status": 503, "code": "unavailable"}Match on the code field rather than on title, which is meant for people and may change. See all error codes.