[BUG] API 500 Error Overloaded

Resolved 💬 3 comments Opened Jul 18, 2025 by nikolayv Closed Aug 19, 2025

Environment

  • Platform (select one):
  • [x ] Anthropic API
  • [ ] AWS Bedrock
  • [ ] Google Vertex AI
  • [ ] Other: <!-- specify -->
  • Claude CLI version: 1.0.55 (Claude Code)
  • Operating System: macOS 13.0
  • Terminal: iTerm2

Bug Description

Randomly getting:
CC randomly stops with a message like this:
⏺ Update(app/api/shadow-users/route.ts)
⎿  Updated app/api/shadow-users/route.ts with 1 addition and 2 removals
43 const { data: shadowUser, error } = await supabase
44 .from('shadow_users')
45 .insert({
46 - email: email || null,
47 - phone: phone || null,
46 first_name: first_name || null,
47 last_name: last_name || null,
48 + invite_token: inviteToken,
49 created_by_user_id: user.id
50 })
51 .select()
⎿  API Error: 500 {"type":"error","error":{"type":"api_error","message":"Overloaded"}}

Steps to Reproduce

  1. Launch
  2. Give a prompt, mine right now happens to be moderately beefy:

nikolay ~ % pbpaste | wc
23 423 4156

  1. Go through a few interactions. Get the error eventually. Prod -- sometimes works. Sometimes errors constantly for minutes at a time.

Expected Behavior

no error

Actual Behavior

error, returns input control to me

Additional Context

none

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗