[Bug] Anthropic API Error: Internal Server Error (500)
Bug Description
Getting this error: I agree OPtion A -- but it needs to be there even if there are portfolios/scenarios. A user might want to use the wizard for additional portfolio/scenarios . Your thoughts
⎿ API Error: 500 {"type":"error","error":{"type":"api_error","message":"Internal server error"},"request_id":"req_011CXoM6iXaydcshPe6FdaNo"}
❯ I agree OPtion A but it needs to be there even if there are portfolios/scenarios. A user might want to use the wizard for additional portfolio/scenarios . Your thoughts
⎿ API Error: 500 {"type":"error","error":{"type":"api_error","message":"Internal server error"},"request_id":"req_011CXoMAc8EDarFfyb4QBAKZ"}
Environment Info
- Platform: darwin
- Terminal: Apple_Terminal
- Version: 2.1.12
- Feedback ID: 68d7115c-1f6f-400f-b85f-2953085299a9
Errors
[{"error":"Error: String not found in file. Failed to apply edit.\n at twT (/$bunfs/root/claude:1524:731)\n at u6R (/$bunfs/root/claude:1524:107)\n at xc_ (/$bunfs/root/claude:1585:123)\n at QqB (/$bunfs/root/claude:2563:2280)\n at Pq (/$bunfs/root/claude:524:20763)\n at cC (/$bunfs/root/claude:524:39155)\n at fm (/$bunfs/root/claude:524:49774)\n at yM (/$bunfs/root/claude:524:86045)\n at Js (/$bunfs/root/claude:524:85019)\n at xm (/$bunfs/root/claude:524:84844)","timestamp":"2026-02-04T01:22:26.459Z"},{"error":"Error: String not found in file. Failed to apply edit.\n at twT (/$bunfs/root/claude:1524:731)\n at u6R (/$bunfs/root/claude:1524:107)\n at xc_ (/$bunfs/root/claude:1585:123)\n at QqB (/$bunfs/root/claude:2563:2280)\n at Pq (/$bunfs/root/claude:524:20763)\n at cC (/$bunfs/root/claude:524:39155)\n at fm (/$bunfs/root/claude:524:49774)\n at yM (/$bunfs/root/claude:524:86045)\n at Js (/$bunfs/root/claude:524:85019)\n at xm (/$bunfs/root/claude:524:84844)","timestamp":"2026-02-04T01:22:26.466Z"},{"error":"Error: String not found in file. Failed to apply edit.\n at twT (/$bunfs/root/claude:1524:731)\n at u6R (/$bunfs/root/claude:1524:107)\n at xc_ (/$bunfs/root/claude:1585:123)\n at QqB (/$bunfs/root/claude:2563:2280)\n at Pq (/$bunfs/root/claude:524:20763)\n at cC (/$bunfs/root/claude:524:39155)\n at fm (/$bunfs/root/claude:524:49774)\n at yM (/$bunfs/root/claude:524:86045)\n at Js (/$bunfs/root/claude:524:85019)\n at xm (/$bunfs/root/claude:524:84844)","timestamp":"2026-02-04T01:23:13.443Z"},{"error":"Error: String not found in file. Failed to apply edit.\n at twT (/$bunfs/root/claude:1524:731)\n at u6R (/$bunfs/root/claude:1524:107)\n at xc_ (/$bunfs/root/claude:1585:123)\n at QqB (/$bunfs/root/claude:2563:2280)\n at Pq (/$bunfs/root/claude:524:20763)\n at cC (/$bunfs/root/claude:524:39155)\n at fm (/$bunfs/root/claude:524:49774)\n at yM (/$bunfs/root/claude:524:86045)\n at Js (/$bunfs/root/claude:524:85019)\n at xm (/$bunfs/root/claude:524:84844)","timestamp":"2026-02-04T01:23:13.464Z"},{"error":"Error: String not found in file. Failed to apply edit.\n at twT (/$bunfs/root/claude:1524:731)\n at u6R (/$bunfs/root/claude:1524:107)\n at xc_ (/$bunfs/root/claude:1585:123)\n at QqB (/$bunfs/root/claude:2563:2280)\n at Pq (/$bunfs/root/claude:524:20763)\n at cC (/$bunfs/root/claude:524:39155)\n at fm (/$bunfs/root/claude:524:49774)\n at yM (/$bunfs/root/claude:524:86045)\n at Js (/$bunfs/root/claude:524:85019)\n at xm (/$bunfs/root/claude:524:84844)","timestamp":"2026-02-04T01:23:32.395Z"},{"error":"Error: String not found in file. Failed to apply edit.\n at twT (/$bunfs/root/claude:1524:731)\n at u6R (/$bunfs/root/claude:1524:107)\n at xc_ (/$bunfs/root/claude:1585:123)\n at QqB (/$bunfs/root/claude:2563:2280)\n at Pq (/$bunfs/root/claude:524:20763)\n at cC (/$bunfs/root/claude:524:39155)\n at fm (/$bunfs/root/claude:524:49774)\n at yM (/$bunfs/root/claude:524:86045)\n at Js (/$bunfs/root/claude:524:85019)\n at xm (/$bunfs/root/claude
Note: Error logs were truncated.
3 Comments
FYI : When it crashed , it lost the context. As a result, when it came back up, the code is of much lower quality ( it does not remember the instructions I gave)
Hi folks, thanks for reporting this. These 500 errors were caused by transient API outages on the Anthropic side — not a bug in Claude Code itself. The API is currently healthy, so I'm closing this out. If you're still experiencing 500 errors, you can check the API status at https://status.anthropic.com, and if the issue persists while the status page is green, please open a new issue with your request ID and we'll investigate.
This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.