{"version":"2.1.334","anchor":"artifact-403-handling-keys-off-structured-reason-not-messag","canonical_anchor":"artifact-403-handling-keys-off-structured-reason-not-messag","heading":"Artifact permission errors now rely on a reason code from the server","tier":"internal","area":"Artifacts","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.334\/e\/artifact-403-handling-keys-off-structured-reason-not-messag","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.334","markdown":"### Artifact permission errors now rely on a reason code from the server\n\nDeleting an artifact or resolving its comment session now reads a reason code such as `not_owner` from a refusal, not the error's wording\n\n**What**\n\nAn artifact is a web page Claude builds and shares. Two artifact actions can be refused by the server with a \"forbidden\" error: deleting the artifact, and resolving its comment session. To work out why it was refused, Claude Code used to search the error message text, for example for the words \"not owner\". It now reads a separate reason field in the response, such as `not_owner`.\n\n**Why**\n\nA reason code is more reliable than matching words in a message, because the wording can change. It does depend on the server sending that reason field.\n\n- Area: Artifacts\n- Names: `not_owner`\n- Tier: Under the hood\n- Useful: 1\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: no"}