Local binary error codes
Find the error codes that the BrowserStack Local binary returns when it fails to start or connect, and open each code for its cause and fix.
When the Local binary hits an error that it can’t recover from, it prints an error message with an error code and exits. Your CI console, such as the GitHub Actions workflow log, also shows the error code. Find your code in the error codes table to see its cause and fix.
Error classes
Each error code belongs to one of the following classes:
| Class | Code range | Cause |
|---|---|---|
SYS_CONFLICT |
1xxx | The binary’s start-up parameters conflict with restrictions set by BrowserStack or your system. |
DATA_INSUFFICIENT |
2xxx | Critical information, such as your access key, is missing. |
DATA_INCORRECT |
3xxx | Critical information passed to the binary is incorrect. |
CONN_FAIL |
4xxx | The binary runs into a network problem. |
Error codes
Select an error code to open its page with the error messages, the cause, and the steps to fix it:
| Error code | Class | Cause |
|---|---|---|
| 1001 | SYS_CONFLICT |
Port 45691 is in use by another process or another instance of the binary. |
| 1004 | SYS_CONFLICT |
The local identifier uses the reserved name browserstack-fork. |
| 2001 | DATA_INSUFFICIENT |
The --key parameter is missing. |
| 3001 | DATA_INCORRECT |
The access key is invalid. |
| 3003 | DATA_INCORRECT |
The local identifier contains special characters or whitespace. |
| 3005 | DATA_INCORRECT |
The folder passed to --folder doesn’t exist. |
| 3006 | DATA_INCORRECT |
The value passed to --only has an invalid hostname, port, or SSL value. |
| 3009 | DATA_INCORRECT |
The value passed to --local-proxy-port isn’t numeric. |
| 3010 | DATA_INCORRECT |
The value passed to --proxy-port isn’t numeric. |
| 3012 | DATA_INCORRECT |
The PAC file has syntax errors. |
| 3013 | DATA_INCORRECT |
No PAC file exists at the given location. |
| 4002 | CONN_FAIL |
The binary can’t reach the BrowserStack cloud. |
| 4003 | CONN_FAIL |
The binary can’t establish a stable connection after five retries. |
| 4004 | CONN_FAIL |
SSL inspection on your network blocks the tunnel connection. |
Related topics
The following pages cover Local binary flags, SSL inspection, and common Local Testing questions:
We're sorry to hear that. Please share your feedback so we can do better
Contact our Support team for immediate help while we work on improving our docs.
We're continuously improving our docs. We'd love to know what you liked
We're sorry to hear that. Please share your feedback so we can do better
Contact our Support team for immediate help while we work on improving our docs.
We're continuously improving our docs. We'd love to know what you liked
Thank you for your valuable feedback!