{"version":"2.1.311","anchor":"file-attachment-path-rejected-gives-a-different-error-for-pr","canonical_anchor":"file-attachment-path-rejected-gives-a-different-error-for-pr","heading":"Refused file attachments get a separate error for protected paths","tier":"notice","area":"File Mentions","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.311\/e\/file-attachment-path-rejected-gives-a-different-error-for-pr","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.311","markdown":"### Refused file attachments get a separate error for protected paths\n\nWhen a file attachment is refused because of its path, Claude Code now picks between two error messages based on the path\n\n**What**\n\nWhen Claude Code refuses to attach a file because of its path, it now chooses between two error messages depending on what the path looks like, with protected paths getting their own message. Before, there was one error for every refused path.\n\n**Why**\n\nThis changes the wording Claude sees when an attachment fails.\n\n- Area: File Mentions\n- Tier: You'll notice\n- Useful: 1\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: no"}