Skip to content

API errors & troubleshooting ​

Local API requires Pro membership and a running client. Use the port and api-key from the API screen.

Definition: Apifox. Troubleshooting below is supplemented from the current client; exact error strings can vary by version.

Response shape ​

Success commonly uses { "success": true, "data": {} }.

Failure: { "success": false, "error": "..." }

data can be an object, array, boolean, or absent. Some endpoints return only success, or include top-level message, total, majors, or crxPath.

Running-state exception

Apifox defines isBrowserRunning as a raw boolean, while current clients return a success/data wrapper. See Check running state for compatible parsing. MCP uses its own protocol messages, not this REST format.

Check both HTTP status and the body. HTTP 200 alone is not proof of success. Check success for object responses and apply the boolean compatibility rule above for running state. Non-2xx responses are failures even if the body cannot be parsed as JSON.

HTTP status codes ​

CodeMeaningExamples
200HandledOK or success: false in body
400Bad requestMissing id, Invalid id format
401UnauthorizedBad/missing api-key; cloud sync not signed in
403ForbiddenCloud sync without Pro
404Not foundUnknown profile/group id
409State conflictMonitors missing or windows not ready
429Rate limitedWrite queue full
500Server errorUsually error.message from client
501UnsupportedWindow arrangement outside Windows

Auth & permissions ​

ErrorHTTPFix
Unauthorized: Invalid API key401Copy fresh key from API
VIP capability lease is missing or expired403Verify Pro, sign-in, and connectivity; preserve client logs rather than retrying endlessly
Connection refused—Start client; verify port
请先登录后再进行云同步401Sign in to the client
仅限会员使用云同步功能403Subscribe to Pro

Validation (400) ​

ErrorMeaning
Missing required parameter: idBody missing id
Missing required parameter: id, name, or remark.launchBrowser needs one identifier
Missing required parameter: cookiesCookie update
Missing or invalid parameter: accounts (must be an array)Platform accounts API
Invalid id formatid not a valid integer

Not found (404) ​

PatternMeaning
browser(id: N) not foundProfile missing
Browser with id N not foundSame (variant wording)
group(id: N) not foundGroup missing
Browser data directory not found for id: NData dir deleted
Browser list is empty or not found.No profiles

Launch / stop ​

ErrorAction
browser(id: N) is runningCurrent clients may return this as a successful message; check success and data.debuggingPort
No browser found with …Fix id/name/remark via getBrowserList
Multiple browsers found with …Use unique id
No browser data found for worker ID: NRestore backup or recreate
Failed to parse proxy from API responseFix proxy extract URL format
Failed to fetch proxy from API: …Network/auth on proxy API
Browser process closed before DevTools port was detected.Kernel/proxy/AV issue
Failed to detect DevTools port for worker N…Close conflicting Chromium
Worker authentication failed for worker N: …Preserve the full error, core version, and client logs; check running state before retrying

Rate limiting ​

ErrorHTTP
Too many concurrent write requests, please retry later429

See Arrange running windows for error codes, skipped items, and Windows support. Close profiles before calling cookie endpoints; getCookie.data is an array. Fingerprint randomization accepts only id, not custom fingerprint fields.

INFO

Exact strings follow the installed client—see Apifox after upgrades.

Checklist ​

  1. Pro active, client running
  2. api-key header
  3. Correct port
  4. Check HTTP status and body; handle boolean responses as documented
  5. Connect CDP using data.debuggingPort: Playwright guide

Additional current-client states ​

  • Launch may return 409 during cache-directory migration; wait for migration to finish.
  • A full write queue returns 429; limit concurrency and use backoff rather than endless retries.
  • An unavailable core returns 400 and may include local core paths; redact them before sharing.
  • Redact account, Cookie, full-profile and log data as described in security and access logs.

Per-endpoint success responses and handler statuses ​

The table reflects explicit branches in the current client source. Business requests can first receive 401 or 403 from shared authentication. JSON parsing failures or oversized bodies can return 400 or 413 before a handler, not necessarily in JSON. Indirect errors are not exhaustively listed.

Method and endpointSuccess response fieldsOther explicit handler statuses
POST /api/clearCachesuccess, message400, 500
GET /api/getBrowserListsuccess, data[], total500
POST /api/getBrowserListsuccess, data[], total500
GET /api/getBrowserRunningListsuccess, data[]: id/name/debuggingPort/webdriverPath500
GET /api/isBrowserRunningsuccess, data:boolean400, 404
GET /api/getBrowserFullParameterssuccess, data: array/object/possibly absent500
GET /api/getCoreVersionssuccess, data[], total, majors500
GET /api/getAvailableCoreVersionssuccess, data[], total, majors500
POST /api/addBrowsersuccess, data.id400, 429, 500
POST /api/updateBrowsersuccess400, 401, 403, 404, 429, 500
GET /api/getCookiesuccess, data[] / possibly absent400, 404, 500
POST /api/updateCookiesuccess400, 404, 500
POST /api/deleteBrowsersuccess400, 429, 500
POST /api/deleteBrowserDatasuccess, message400, 500
GET /api/getGroupListsuccess, data[]500
POST /api/addGroupsuccess500
POST /api/updateGroupsuccess404, 500
POST /api/deleteGroupsuccess404, 500
POST /api/randomizeFingerprintsuccess, data.id, data.message400, 404, 429, 500
POST /api/launchBrowsersuccess, data.debuggingPort, data.webdriverPath? / message?400, 401, 403, 404, 409, 500
POST /api/arrangeWindowssuccess, data.arrangedCount/arrangedIds/skipped/monitor400, 403, 409, 500, 501
POST /api/stopBrowsersuccess, message?400, 404, 500
GET /api/getCrxListsuccess, data[]500
POST /api/addCrxsuccess500
POST /api/deleteCrxsuccess, crxPath500
GET /api/getAccountListsuccess, data[]400, 404, 500
POST /api/addAccountsuccess400, 500
POST /api/deleteAccountsuccess400, 500
POST /api/updateAccountListsuccess400, 500

MCP POST, GET and DELETE use JSON-RPC / Streamable HTTP responses rather than this REST table.