[Bug] Claude Code corrupts local .env file during operation
Resolved 💬 3 comments Opened May 1, 2026 by bnfy Closed May 4, 2026
Bug Description
Claude broke my local .env file and I don't have a backup!
Environment Info
- Platform: darwin
- Terminal: windsurf
- Version: 2.1.123
- Feedback ID: 55689edb-7d46-4e48-8ec3-b485aee1d2ea
Errors
[{"error":"McpToolCallError: **Input Error**\n\nThere was an HTTP 404 error with your request to the Sentry API.\n\nAPI error (404): API request failed: Not Found\n. Please verify the parameters are correct.\n\nYou may be able to resolve the issue by addressing the concern and trying again.\n at iF5 (/$bunfs/root/src/entrypoints/cli.js:4892:63)\n at QB7 (/$bunfs/root/src/entrypoints/cli.js:4892:1409)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-30T23:18:02.816Z"},{"error":"McpToolCallError: **Input Error**\n\nThere was an HTTP 404 error with your request to the Sentry API.\n\nAPI error (404): API request failed: Not Found\n. Please verify the parameters are correct.\n\nYou may be able to resolve the issue by addressing the concern and trying again.\n at iF5 (/$bunfs/root/src/entrypoints/cli.js:4892:63)\n at QB7 (/$bunfs/root/src/entrypoints/cli.js:4892:1409)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-30T23:18:18.661Z"},{"error":"McpToolCallError: **Input Error**\n\nThere was an HTTP 400 error with your request to the Sentry API.\n\nAPI error (400): Error parsing search query: Boolean statements containing \"OR\" or \"AND\" are not supported in this search\n\nYou may be able to resolve the issue by addressing the concern and trying again.\n at iF5 (/$bunfs/root/src/entrypoints/cli.js:4892:63)\n at QB7 (/$bunfs/root/src/entrypoints/cli.js:4892:1409)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-30T23:19:36.209Z"}]This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗