You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
🐛 The Problem
Hit Anthropic's 30,000 tokens/minute rate limit because the script made 15 API calls back-to-back with no delays.
✅ The Fix
Three-layer protection:
3-second delays between each category search
Prevents hitting rate limit in the first place
15 categories × 3 sec = ~45 seconds total (acceptable for weekly runs)
Automatic retry if rate limit hit anyway
Waits 10 seconds and tries again once
Recovers automatically without manual intervention
Graceful degradation if all else fails
Continues processing remaining categories
Logs failures but doesn't crash the whole workflow
0 commit comments