Errors

identity_scope_mismatch

403 – Another Identity's key. The credential is an Identity Key for a different Identity of the same Org.

Another Identity's key. Answered with 403.

What it means

The credential is an Identity Key for a different Identity of the same Org. An Identity Key reads and acts on its own Identity and no other.

What to do

Use that Identity's own key, or an Admin Key for the whole Org.

The body

{
  "type": "https://tigby.eu/problems/identity_scope_mismatch",
  "title": "Another Identity's key",
  "status": 403,
  "detail": "…what was refused, naming this request's own values",
  "code": "identity_scope_mismatch",
  "doc_url": "https://docs.tigby.eu/errors/identity_scope_mismatch",
  "agent_hint": "…the next step, for software"
}

Branch on code. The detail names this request's own Handle, id or limit and is not part of the contract.