"API Request Failure: Empty Custom Command File Causes Persistent 400 Error"
Status Closed — not planned
Maintainer reply None cached
Activity 3 comments · opened Jun 25, 2025 · closed Jan 4, 2026
Bug Description
An empty custom command file will brick claude code. If you forget to save the file contents before launching, claude will send the empty prompt to the API which returns a 400. Since this is now in the chat history, all subsequent requests will also return a 400 effectively bricking Claude Code until restarting.
Environment Info
- Platform: darwin
- Terminal: iTerm.app
- Version: 1.0.34
- Feedback ID: aa6ec65a-09b5-4ea8-b136-db6a817bb3fa
Errors
[]This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗