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

Unable to connect to Garmin after enableing MFA (required by new watch) #119

Closed
Cloud9Developer opened this issue Jul 10, 2023 · 1 comment

Comments

@Cloud9Developer
Copy link

This tool was working great until I had to enable MFA (and no option to disable it..)

I get the following stacktrace:

Traceback (most recent call last):
  File "/usr/local/bin/withings-sync", line 33, in <module>
    sys.exit(load_entry_point('withings-sync==3.6.1', 'console_scripts', 'withings-sync')())
  File "/usr/local/lib/python3.10/site-packages/withings_sync-3.6.1-py3.10.egg/withings_sync/sync.py", line 496, in main
    sync()
  File "/usr/local/lib/python3.10/site-packages/withings_sync-3.6.1-py3.10.egg/withings_sync/sync.py", line 464, in sync
    if fit_data_weight is not None and sync_garmin(fit_data_weight):
  File "/usr/local/lib/python3.10/site-packages/withings_sync-3.6.1-py3.10.egg/withings_sync/sync.py", line 162, in sync_garmin
    session = garmin.login(ARGS.garmin_username, ARGS.garmin_password)
  File "/usr/local/lib/python3.10/site-packages/withings_sync-3.6.1-py3.10.egg/withings_sync/garmin.py", line 183, in login
    session = GarminConnect.get_session(email=username, password=password)
  File "/usr/local/lib/python3.10/site-packages/withings_sync-3.6.1-py3.10.egg/withings_sync/garmin.py", line 103, in get_session
    raise APIException(f"SSO error {ssoresp.status_code} {ssoresp.text}")
withings_sync.garmin.APIException: SSO error 302 

Using the Docker version of your tool

@Cloud9Developer
Copy link
Author

Duplicate of #43

@Cloud9Developer Cloud9Developer closed this as not planned Won't fix, can't repro, duplicate, stale Aug 1, 2023
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