Troubleshooting Guide
Common issues and solutions for OpenClaw bots, billing, and platform operations
Troubleshooting Guide
Quick solutions for common OpenClaw issues. If you can't find a solution, contact support at support@openclaw.ai.
Quick Diagnostics
Check System Status
Before troubleshooting, verify OpenClaw services are operational:
- Visit status.openclaw.ai
- Check your bot status in Portal dashboard
- Review recent error logs in Portal > Bot > Logs
Common Issue Categories
- Bot Issues - Bot not responding, connection errors, webhook failures
- Billing Issues - Payment failures, subscription problems, invoice questions
- API Issues - Authentication errors, rate limits, invalid requests
- Performance Issues - Slow responses, timeouts, high latency
Most Common Issues
Bot Not Responding
Symptoms: Bot online but doesn't reply to messages
Quick Fixes:
- Check bot status:
GET /api/bots/:id/status - Verify webhook connection in Portal dashboard
- Review error logs for exceptions
- Restart bot:
POST /api/bots/:id/restart
Full bot troubleshooting guide →
Payment Failed
Symptoms: Subscription shows "past_due" status
Quick Fixes:
- Check payment method in Polar.sh dashboard
- Verify card hasn't expired
- Ensure sufficient funds available
- Update payment method and retry
Full billing troubleshooting guide →
Quota Exceeded
Symptoms: Bots stop processing, "quota exceeded" errors
Quick Fixes:
- Check quota status:
GET /api/usage/quota - Upgrade tier if consistently hitting limits
- Wait for monthly reset
- Review usage patterns:
GET /api/usage
Unauthorized API Errors
Symptoms: 401 errors on API requests
Quick Fixes:
- Verify logged in to OpenClaw Portal
- Include
credentials: 'include'in fetch calls - Check session hasn't expired
- Clear cookies and re-login
Bot Stuck in Provisioning
Symptoms: Bot status stays "provisioning" for >5 minutes
Quick Fixes:
- Wait up to 10 minutes (Cloud Run deployment)
- Check GCP quota limits in account
- Review bot creation logs in Portal
- Delete and recreate bot if stuck >15 minutes
Error Code Reference
HTTP Status Codes
| Code | Meaning | Common Causes |
|---|---|---|
| 400 | Bad Request | Invalid parameters, missing required fields |
| 401 | Unauthorized | Not logged in, session expired |
| 403 | Forbidden | Insufficient permissions, quota exceeded |
| 404 | Not Found | Bot doesn't exist, invalid ID |
| 409 | Conflict | Bot username already exists |
| 429 | Rate Limit | Too many requests, wait before retry |
| 500 | Server Error | Internal error, contact support |
Application Error Codes
| Code | Description | Solution |
|---|---|---|
INVALID_TOKEN | Telegram bot token invalid | Verify token from BotFather |
BOT_LIMIT_REACHED | Max bots for tier | Upgrade subscription or delete unused bots |
QUOTA_EXCEEDED | Monthly quota exhausted | Upgrade tier or wait for reset |
WEBHOOK_FAILED | Telegram webhook setup failed | Check bot token, verify permissions |
PROVISIONING_FAILED | Cloud Run deployment error | Check GCP limits, retry creation |
SUBSCRIPTION_REQUIRED | No active subscription | Subscribe to a plan |
Debugging Steps
Step 1: Gather Information
Collect details before investigating:
// Get bot details
const bot = await fetch(`/api/bots/${botId}`, {
credentials: 'include'
}).then(r => r.json());
// Get live status
const status = await fetch(`/api/bots/${botId}/status`, {
credentials: 'include'
}).then(r => r.json());
// Get recent usage
const usage = await fetch(`/api/usage/${botId}?period=daily`, {
credentials: 'include'
}).then(r => r.json());
console.log({ bot, status, usage });
Step 2: Check Logs
Review error logs in Portal dashboard:
- Navigate to Portal > Bots > [Your Bot]
- Click "Logs" tab
- Filter by error severity
- Look for patterns in timestamps
Step 3: Test Connectivity
Verify bot can reach Telegram API:
// Test webhook connectivity
const testResponse = await fetch('/api/telegram/test', {
method: 'POST',
credentials: 'include',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify({ botId })
});
const result = await testResponse.json();
console.log('Webhook test:', result);
Step 4: Restart Services
Restart bot to clear transient issues:
// Restart bot
await fetch(`/api/bots/${botId}/restart`, {
method: 'POST',
credentials: 'include'
});
// Wait for provisioning
await new Promise(resolve => setTimeout(resolve, 5000));
// Check status
const newStatus = await fetch(`/api/bots/${botId}/status`, {
credentials: 'include'
}).then(r => r.json());
console.log('New status:', newStatus);
Performance Optimization
Slow Response Times
Symptoms: Bot responses taking >3 seconds
Solutions:
- Review enabled skills (disable unused)
- Check
avgLatencyin usage stats - Optimize message processing logic
- Consider upgrading to Pro/Ultra tier
High Error Rates
Symptoms: Success rate below 95% in usage stats
Solutions:
- Review error logs for patterns
- Check Telegram API limits
- Verify bot token still valid
- Ensure webhook URL accessible
Memory/Resource Issues
Symptoms: Bot crashes, automatic restarts
Solutions:
- Review Cloud Run logs in GCP console
- Check for memory leaks in custom skills
- Upgrade to higher tier for more resources
- Contact support for resource limit increase
Getting Help
Self-Service Resources
- Bot Issues Guide - Detailed bot troubleshooting
- Billing Issues Guide - Payment and subscription help
- Portal Guide - Portal feature documentation
- Community Forum - Ask community for help
Contact Support
When contacting support, include:
- Bot ID (if bot-related)
- Error messages (exact text)
- Timestamps (when issue occurred)
- Steps to reproduce (what triggered issue)
- Expected vs actual behavior
Support Channels:
- Email: support@openclaw.ai
- Discord: discord.gg/openclaw
- Priority support (Pro/Ultra): Live chat in Portal
Average response time: 24 hours (email), under 4 hours (Pro/Ultra priority)
Known Issues
Current Known Issues
Bot Restarts During High Load (Investigating)
- Affects: Basic tier users during peak hours
- Workaround: Upgrade to Pro tier
- ETA: Fix deployed by Feb 2026
Webhook Delays (Acknowledged)
- Affects: All tiers during Telegram API outages
- Workaround: None, Telegram-side issue
- Status: Monitoring Telegram status
Recently Resolved
Bot provisioning timeout(Fixed Jan 15, 2025)Invoice PDF generation errors(Fixed Jan 10, 2025)Dashboard analytics lag(Fixed Jan 5, 2025)
Maintenance Windows
Scheduled maintenance announced 48 hours in advance:
- Time: Tuesdays, 2-4 AM UTC
- Frequency: Monthly (first Tuesday)
- Impact: Portal read-only, bots continue running
- Notifications: Email + Portal banner
Preventive Measures
Regular Checks
Daily:
- Monitor bot status indicators
- Check error notification count
- Review message processing success rate
Weekly:
- Analyze usage trends
- Review performance metrics
- Check quota consumption
Monthly:
- Audit active bots
- Review billing and invoices
- Update bot configurations
- Test disaster recovery
Best Practices
- Test changes in development bot first
- Monitor alerts for quota warnings
- Keep payment method up to date
- Review logs regularly for anomalies
- Document custom configurations
Emergency Procedures
Bot Completely Down
- Check status.openclaw.ai
- Verify subscription active:
GET /api/billing - Check bot exists:
GET /api/bots/:id - Review GCP console for service status
- Contact emergency support (Pro/Ultra only)
Data Loss Concern
- OpenClaw doesn't store message history (Telegram does)
- Bot configuration backed up automatically
- Contact support for disaster recovery
- Review backup retention (30 days for deleted bots)
Security Incident
- Immediately revoke bot token in BotFather
- Delete bot in OpenClaw Portal
- Contact security@openclaw.ai
- Monitor account activity logs
- Reset account password
For security incidents, email security@openclaw.ai immediately with "SECURITY" in subject line.