forbidden
HTTP 403 · code forbidden
The credentials are valid, but not allowed to do this.
When Photon sends it
Section titled “When Photon sends it”Sent by your authorization code through photonerr.Forbidden(msg).
What the client should do
Section titled “What the client should do”Do not retry with the same credentials; ask for the needed permission.
Example response
Section titled “Example response”{ "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.