Skip to content

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

Description

@ernestosolis-discovery

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions