conflict
HTTP 409 · code conflict
The request conflicts with the current state of the resource.
When Photon sends it
Section titled “When Photon sends it”Sent by handlers through photonerr.Conflict(msg), for example when creating something that already exists.
What the client should do
Section titled “What the client should do”Fetch the current state, resolve the conflict, and retry.
Example response
Section titled “Example response”{ "type": "https://photon.agenticmarket.dev/errors/conflict", "title": "conflict", "status": 409, "code": "conflict"}Match on the code field rather than on title, which is meant for people and may change. See all error codes.