DATA_INCORRECT:3006 error in the BrowserStack Binary

Explanation and next steps

Error Code 3006
Fatal Yes, this is an error that the Binary can’t auto-recover from, and the process will exit with exit code 127.
Class DATA_INCORRECT
Class Meaning This class of errors arises by provided incorrect critical information to the BrowserStack Binary.
Message(s) [ERROR] Invalid value for “–only“
[ERROR] Expected format is <server_hostname>,<port_number>,<ssl>

Then, based on the incorrect part of the input,
[ERROR] <server_hostname> was invalid and could not be resolved: {provided_hostname}

OR

[ERROR] <port_number> was invalid: {provided_port}
[ERROR] Provide a numeric value between [0 - 65536]

OR

[ERROR] <ssl> only accepts either 0 or 1, you supplied: {provided_ssl}
Error Meaning The “–only“ parameter lets you manage the domains that you would like to receive requests for, in your Local tunnel. For example, if you have two domains internal-1.mysite.com and internal-2.mysite.com, and you would only want BrowserStack Local to be able to access https://internal-2.mysite.com, then you can supply the following command:

$BrowserStackLocal –key <your-key> –only internal-2.mysite.com,443,1

This error is thrown when one or more of the input sub-params are incorrect.
Mitigation Steps You need to ensure that your input conforms to the pattern expected by the “–only“ parameter.
1. <server_hostname> is a valid hostname
2. <port_number> is a valid port
3. <ssl> is either 0 or 1, based on whether you want to allow access of HTTP or HTTPS

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

Is this page helping you?

Yes
No

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!

Talk to an Expert
Talk to an Expert