marazt / garmin-connect-client

GarminConnectClient is a library for communication with GarminConnect. It allows to list, download and upload Garmin activities. It is inspired by https://github.com/La0/garmin-uploader.
MIT License
12 stars 4 forks source link

error-1020 #4

Open ThomasGugler opened 3 years ago

ThomasGugler commented 3 years ago

seems that gc changed something again. Testet everything but login code seems correct, but anyway result of login: fobidden with that message:

error code: 1020

interesting: same error on IQ SDK side 14 days ago: https://forums.garmin.com/developer/connect-iq/i/bug-reports/iq-sdk-manager-login---sorry-error-1020

ThomasGugler commented 3 years ago

same issue here https://github.com/petergardfjall/garminexport/issues/79 => resolved! Can you integrate cloudflare?

yeboto commented 3 years ago

This worked for me, change: self.session = cloudscraper.create_scraper () by self.session = cloudscraper.CloudScraper ()