python-garminconnect: Forbidden url: https://sso.garmin.com/sso/signin

Dear all, I am using this script. It is amazing. From the beginning it was working very nicely. Than I modified it a bit in a way, every week I get HR data for the last week and import it into my own database. The problem arises, because sometimes, not always I get following error. __init__.py", line 110, in post raise GarminConnectConnectionError(f"Forbidden url: {url}") from err garminconnect.GarminConnectConnectionError: Forbidden url: https://sso.garmin.com/sso/signin I have a feeling it has to do something with Cloudflare that my ip is blocked. Any idea how to overcome this? Can I shomehow whitelist my IP? I am all the time connecting from the same IP. Thank you in advance!

About this issue

  • Original URL
  • State: closed
  • Created a year ago
  • Comments: 17 (4 by maintainers)

Most upvoted comments

Just want to mention that I have the same issue. Login via session.json only works for a few minutes, afterwards a new login is necessary.