Skip to content

Conversation

@ocramleznem
Copy link

While trying to download my activies in gpx or tcx I got the following message:

python gcexport.py --username bla --password blub -c all -f gpx -d 20170125 
Welcome to Garmin Connect Exporter!
Garmin Connect activity: [1540797151] Blubber
	Di, 2017 Jan 24 17:58, 00:28:28, 5,01 Kilometer
	Downloading file...
Traceback (most recent call last):
  File "gcexport.py", line 231, in <module>
    raise Exception('Failed. Got an unexpected HTTP error (' + str(e.code) + ').')
Exception: Failed. Got an unexpected HTTP error (410).

Doing some research I found out that the download URLs have changed. This PR will fix it.

@jorgenbs
Copy link

For me it needs to be

url_gc_gpx_activity = 'https://connect.garmin.com/modern/proxy/download-service/export/gpx/activity/'
url_gc_tcx_activity = 'https://connect.garmin.com/modern/proxy/download-service/export/tcx/activity/'

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

Successfully merging this pull request may close these issues.

2 participants