Skip to content

forbidden

HTTP 403 · code forbidden

The credentials are valid, but not allowed to do this.

Sent by your authorization code through photonerr.Forbidden(msg).

Do not retry with the same credentials; ask for the needed permission.

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

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