[ERROR] Failed to reach url http://connect.garmin.com/proxy/download-service/files/activity/5321283197, error: HTTP Error 400: Bad Request
See original GitHub issueI started using the gcexport.py script again last week (after the Garmin ransomware problem) following ~3 months not using it. Now it seems the gcexport.py keeps throwing an error 400 when downloading the tcx.
pierre@pierre-thinkpad:~$ python ~/Workspace/garmin-connect-export/gcexport.py -d ~/GarminConnect -c 10 -f original -u --username myemail@mail.com --password mypassword --originaltime --desc && rm ~/GarminConnect/*.json
Welcome to Garmin Connect Exporter!
[WARNING] Output directory /home/pierre/GarminConnect already exists. Will skip already-downloaded files and append to the CSV file.
Connecting to Garmin Connect... Done.
Requesting Login ticket... Done. Ticket=ST-02141344-WEqXaqbVlyOKmWWPqgm4-cas
Authenticating... Done.
Querying list of activities 1..10... Done.
Garmin Connect activity (1/10) [5321283197] San Francisco Running
2020-08-01T17:56:37+17:00, 01:23:02, 16.428km
[ERROR] Failed to reach url http://connect.garmin.com/proxy/download-service/files/activity/5321283197, error: HTTP Error 400: Bad Request
Traceback (most recent call last):
File "/home/pierre/Workspace/garmin-connect-export/gcexport.py", line 1007, in <module>
main(sys.argv)
File "/home/pierre/Workspace/garmin-connect-export/gcexport.py", line 988, in main
actvty['startTimeLocal'])
File "/home/pierre/Workspace/garmin-connect-export/gcexport.py", line 720, in export_data_file
raise Exception('Failed. Got an HTTP error ' + str(ex.code) + ' for ' + download_url)
Exception: Failed. Got an HTTP error 400 for http://connect.garmin.com/proxy/download-service/files/activity/5321283197
Was wondering if someone has encountered this issue? Wondering if the API changed or if it’s related to the ransomware problem where Garmin might have changed something?
I’m on ubuntu 18.04.
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
HTTP Error 400 Bad Request: What It Is and How to Fix It
The HTTP error 400 Bad Request is a client-side error that can happen when you visit a website. Learn more about the common...
Read more >How to Fix the 400 Bad Request Error - Lifewire
The 400 Bad Request error means that the request you sent to the website server to view the page was somehow incorrect.
Read more >HTTP error 400: how to fix it? - Debug Bar
In this guide, we'll explain each cause of the 400 bad request error and tell you how to fix the problem. Are you...
Read more >How to Fix a 400 Bad Request Error [Causes and Fixes]
A 400 bad request error is an HTTP error that occurs when the request sent from your browser is not understood by the...
Read more >What is a Bad Request Error 400 and How Do You Fix It?
The bad request error occurs when the server you're trying to reach sees your access request as a general client error. Hence, it...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
it seems ok now, i just run the script.
Agreed, it works today!