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

fixing http status 410 on downloading gpx or tcx #27

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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