Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

geoLocation feature states it doesn't work with browserstack local , when browserstack local is not being used. #705

Open
ernestosolis-discovery opened this issue Sep 27, 2023 · 0 comments

Comments

@ernestosolis-discovery
Copy link

ernestosolis-discovery commented Sep 27, 2023

Using the geolocation entry in browserstack.json throws an error, stating it doesn't work with browserstack local however,
the local config under the connection_settings is set to false:

{
  err: null,
  status: 422,
  body: '"{\\"message\\":\\"IP Geolocation feature is not available in conjunction with BrowserStack Local.\\"}"'
}
[9/26/2023, 6:07:35 PM] - error: Build creation failed. Error: IP Geolocation feature is not available in conjunction with BrowserStack Local.
Screen Shot 2023-09-26 at 18 11 00 Screen Shot 2023-09-26 at 18 11 24

sample browserstack.json

{
    "auth": {
        "username": "",
        "access_key": ""
    },
    "browsers": [
      {
        "browser": "chrome",
        "os": "Windows 10",
        "versions": ["latest"]
      }
    ],
    "run_settings": {
      "cache_dependencies": false,
      "cypress_config_file": "cypress.config.js",
      "project_name": "project-name",
      "build_name": "build-name",
      "exclude": [],
      "parallels": "1",
      "npm_dependencies": {
      },
      "package_config_options": {},
      "headless": true,
      "geolocation": "US-NY"
    },
    "connection_settings": {
      "local": false,
      "local_identifier": null,
      "local_mode": null,
      "local_config_file": null
    },
    "disable_usage_reporting": false
  }

I'm using an enterprise account and validated the plan for automate desktop and mobile:
Enterprise Automate - Desktop & Mobile

on browserstack local appears as "on" but the logs state the config is set to false
Screen Shot 2023-09-26 at 19 03 59

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant