Skip to content

canceled

HTTP 499 · code canceled

The client closed the request before the server answered.

Recorded through photonerr.Canceled() when the request context ends because the client left. 499 is nginx’s “client closed request”; it appears in logs and metrics, and a client that has gone never receives it.

Nothing: the client already left.

{
"type": "https://photon.agenticmarket.dev/errors/canceled",
"title": "canceled",
"status": 499,
"code": "canceled"
}

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