-
Notifications
You must be signed in to change notification settings - Fork 4
Error Codes
Alessio Rocchi edited this page Jan 27, 2026
·
1 revision
Common error codes and solutions.
| Code | Message | Cause | Solution |
|---|---|---|---|
ENOENT |
File not found | File doesn't exist | Check file path |
EACCES |
Permission denied | Insufficient permissions | Fix file permissions (chmod) |
EADDRINUSE |
Address in use | Port already bound | Change port or kill process |
ECONNREFUSED |
Connection refused | Service not running | Start the service |
| Code | Message | Cause | Solution |
|---|---|---|---|
SQLITE_BUSY |
Database locked | Concurrent access | Close other connections, increase timeout |
SQLITE_NOTFOUND |
No such table | Schema not initialized | Run init command |
SQLITE_CONSTRAINT |
Constraint violation | Duplicate key | Use different key or update existing |
| Code | Message | Cause | Solution |
|---|---|---|---|
401 |
Unauthorized | Invalid API key | Check API key |
429 |
Rate limit exceeded | Too many requests | Reduce request rate, upgrade tier |
500 |
Internal server error | Server error | Check logs, retry |
503 |
Service unavailable | Service down | Wait and retry |
| Code | Message | Cause | Solution |
|---|---|---|---|
-32600 |
Invalid request | Malformed JSON-RPC | Check request format |
-32601 |
Method not found | Unknown tool | Use valid tool name |
-32602 |
Invalid params | Wrong parameters | Check parameter schema |
-32603 |
Internal error | Server error | Check logs |
Error: providers.default is required
Solution: Add "default": "anthropic" to providers config
Error: ANTHROPIC_API_KEY environment variable not set
Solution: export ANTHROPIC_API_KEY="sk-..."
Error: Invalid agent type: unknown-type
Solution: Use valid agent type (see agent types command)
Related:
Getting Started
Core Concepts
Agent Guides
- Overview
- Coder
- Researcher
- Tester
- Reviewer
- Adversarial
- Architect
- Coordinator
- Analyst
- DevOps
- Documentation
- Security Auditor
MCP Tools
- Overview
- Agent Tools
- Memory Tools
- Task Tools
- Session Tools
- System Tools
- GitHub Tools
- Review Loop Tools
- Identity Tools
Recipes
- Index
- Code Review
- Doc Sync
- Multi-Agent
- Adversarial Testing
- Full-Stack Feature
- Memory Patterns
- GitHub Integration
Advanced
- Plugin Development
- Custom Agent Types
- Workflow Engine
- Vector Search Setup
- Web Dashboard
- Programmatic API
- Resource Monitoring
Reference