Common Issues & Troubleshooting
1. SSE Connection Dropped Prematurely
Symptom: The browser or HTTP client terminates the stream before receiving the done event.
Fix:
- Ensure intermediate proxies (Cloudflare, NGINX) have buffering disabled (
X-Accel-Buffering: no). - Configure proxy timeouts to at least
300sfor extended-profile runs. - Pass the
Last-Event-IDheader upon reconnecting to resume the event stream.
2. Run Stuck in AWAITING_APPROVAL
Symptom: Execution stops and remains paused for hours.
Fix:
- The Super Agent triggered a guarded action (e.g., sending an email or posting to Slack).
- Check the Runs dashboard or query
POST /runs/{run_id}/approveto submit a decision. - Note: Approvals automatically expire after 24 hours.
3. insufficient_credits (HTTP 402)
Symptom: Requests return a 402 status code.
Fix:
- Your workspace has exhausted its credit balance.
- Top up credits in Settings → Billing or downgrade your task complexity.