{"version":"2.1.302","anchor":"api-error-fields-preserved-on-a-message-copy","canonical_anchor":"api-error-fields-preserved-on-a-message-copy","heading":"API error details are now kept when a message is copied","tier":"internal","area":"API Requests","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.302\/e\/api-error-fields-preserved-on-a-message-copy","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.302","markdown":"### API error details are now kept when a message is copied\n\nClaude Code now keeps the type, details and code of an API error when it copies a message, instead of dropping them\n\n**What**\n\nWhen a request to the API fails, Claude Code attaches details to the message: what kind of error it was, extra details, and an error code. One place where Claude Code copies messages used to drop those three details. It now keeps each one whenever it is present.\n\n**Why**\n\nThe kind of error should no longer be lost when messages are copied, for example in transcripts or in output for programs that use Claude Code.\n\n- Area: API Requests\n- Tier: Under the hood\n- Useful: 1\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: no"}