-
-
Notifications
You must be signed in to change notification settings - Fork 69.2k
[Feature]: Surface Browserbase rate limit errors (429) with actionable hints #40390
Copy link
Copy link
Closed
Closed
Copy link
Labels
enhancementNew feature or requestNew feature or request
Description
Summary
When Browserbase returns a 429 (max concurrent sessions exceeded), the browser tool surfaces a generic failure message instead of a specific, actionable error.
Problem to solve
Users running browser automation via Browserbase hit rate limits (especially on free tier with 1 concurrent session). The current error looks like a connectivity or config problem:
Browser control failed. Restart the OpenClaw gateway...
This leads to:
- Unnecessary gateway restarts
- Agent retry loops that keep failing
- Time wasted debugging connectivity when it's a provider rate limit
Proposed solution
- Detect 429 responses from Browserbase API in the browser control client
- Surface a specific error message:
Browserbase rate limit reached (max concurrent sessions: 1).
Wait for current session to complete, or upgrade your plan.
Do NOT retry the browser tool — it will keep failing. - Include explicit "do not retry" guidance to prevent agent loops
Alternatives considered
No response
Impact
- UX: Clear error messaging saves debugging time
- Reliability: Prevents disruptive restart loops and agent retries
- DX: Easier to diagnose cron job failures involving browser automation
Evidence/examples
No response
Additional information
- Related to fix(browser): improve browser control disabled/error hints #34864 (improving browser error hints) — this extends that work to cloud provider rate limits
- Encountered running Stagehand + Browserbase cron jobs on free tier
- OpenClaw 2026.3.7, Browserbase (1 concurrent session limit)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request
Type
Fields
Give feedbackNo fields configured for issues without a type.