Skip to content

timeout

HTTP 504 · code timeout

The server, or a service it called, did not finish in time.

Sent through photonerr.Timeout(), typically when a deadline on an upstream call expires.

Retry later, possibly with a smaller request.

{
"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.