Troubleshooting
Common issues when building, deploying, and running Agentbot agents.Installation Issues
npm install fails with peer dependency errors
npm install fails with peer dependency errors
--legacy-peer-deps flag resolves most conflicts.Prisma generate fails
Prisma generate fails
@prisma/client did not initialize, run the generate command manually.Port 3000 already in use
Port 3000 already in use
Deployment Issues
Vercel build fails with module not found
Vercel build fails with module not found
Check that all imports use the
@/ alias correctly. The @/ prefix maps to the web/ directory. Common mistake:Render deploy fails — health check timeout
Render deploy fails — health check timeout
The health check at
/health must respond within 60 seconds. Common causes:- Database connection string is wrong (check
DATABASE_URL) - Redis isn’t reachable (check
REDIS_URL) - Missing environment variables causing startup crash
Environment variables not loading
Environment variables not loading
Agentbot reads env vars at startup. After changing them:
- Vercel: Redeploy from dashboard or
vercel --prod - Render: Service auto-restarts on env change
- Local: Restart the dev server (
npm run dev)
Agent Issues
Agent not responding to messages
Agent not responding to messages
- Check agent status:
GET /api/agents/{id} - Verify the channel token (Telegram/Discord/WhatsApp) is valid
- Check the agent container logs
- Ensure the AI provider API key is set and has credits
Agent running out of memory
Agent running out of memory
Each agent has a memory limit based on plan:
If you’re hitting limits, check for memory leaks in custom skills or upgrade your plan.
| Plan | Memory |
|---|---|
| Solo | 2GB |
| Collective | 4GB |
| Label | 8GB |
| Network | 16GB |
Skills not loading
Skills not loading
Billing Issues
Stripe checkout returns 410 Gone
Stripe checkout returns 410 Gone
The legacy
/api/checkout endpoint is deprecated. Use:BYOK not working
BYOK not working
- Verify your API key is valid (test it with curl)
- Check the provider name matches exactly:
openrouter,anthropic,openai,google,groq - Ensure the key has credits/quota remaining
- Disable and re-enable BYOK from the billing dashboard
Getting Help
- Discord: discord.gg/eskyee — Community support
- GitHub Issues: Eskyee/agentbot-opensource — Bug reports
- GitHub Discussions: Eskyee/agentbot-opensource/discussions — Questions and ideas