timeout
HTTP 504 · code timeout
The server, or a service it called, did not finish in time.
When Photon sends it
Section titled “When Photon sends it”Sent through photonerr.Timeout(), typically when a deadline on an upstream call expires.
What the client should do
Section titled “What the client should do”Retry later, possibly with a smaller request.
Example response
Section titled “Example response”{ "type": "https://photon.agenticmarket.dev/errors/timeout", "title": "timeout", "status": 504, "code": "timeout"}Match on the code field rather than on title, which is meant for people and may change. See all error codes.