Activities don't download and a .not_found file is written to output folder
See original GitHub issueWhen trying to run garmin backup I get the following:
pi@piName:~ $ garmin-backup --backup-dir=/mnt/networkShare --format fit me@server.com
2020-08-01 08:57:07,449 [INFO] backing up formats: fit
Enter password:
2020-08-01 08:57:11,338 [INFO] authenticating user ...
2020-08-01 08:57:12,549 [INFO] claiming auth ticket ...
2020-08-01 08:57:14,872 [INFO] scanning activities for me@server.com ...
2020-08-01 08:57:14,873 [INFO] {list_activities}: attempt 1 ...
2020-08-01 08:57:33,296 [INFO] account has a total of 2812 activities
2020-08-01 08:57:33,451 [INFO] /mnt/networkShare contains 0 backed up activities
2020-08-01 08:57:33,452 [INFO] activities that aren't backed up: 2812
2020-08-01 08:57:33,453 [INFO] backing up activity 267428142 from 2013-01-28 17:33:00+00:00 (1 out of 2812) ...
2020-08-01 08:57:33,460 [INFO] {get_activity_fit}: attempt 1 ...
2020-08-01 08:57:33,773 [INFO] {get_activity_fit}: waiting 1 seconds for next attempt
2020-08-01 08:57:34,775 [INFO] {get_activity_fit}: attempt 2 ...
2020-08-01 08:57:35,012 [INFO] {get_activity_fit}: waiting 2 seconds for next attempt
2020-08-01 08:57:37,015 [INFO] {get_activity_fit}: attempt 3 ...
2020-08-01 08:57:37,324 [INFO] {get_activity_fit}: waiting 4 seconds for next attempt
When running with DEBUG log level and max retries of 2 I get a bit more detail:
2020-08-01 09:02:32,970 [DEBUG] 0 tried but failed activities in /mnt/networkShare /.not_found
2020-08-01 09:02:33,109 [INFO] /mnt/networkShare contains 0 backed up activities
2020-08-01 09:02:33,110 [INFO] activities that aren't backed up: 2812
2020-08-01 09:02:33,110 [INFO] backing up activity 267428142 from 2013-01-28 17:33:00+00:00 (1 out of 2812) ...
2020-08-01 09:02:33,115 [DEBUG] getting fit for 267428142
2020-08-01 09:02:33,115 [INFO] {get_activity_fit}: attempt 1 ...
2020-08-01 09:02:33,329 [DEBUG] https://connect.garmin.com:443 "GET /modern/proxy/download-service/files/activity/267428142 HTTP/1.1" 400 None
2020-08-01 09:02:33,332 [DEBUG] {get_activity_fit}: failed: error: failed to get original activity file for 267428142: 400
<html><body><h1>400 Bad request</h1>
Your browser sent an invalid request.
</body></html>
2020-08-01 09:02:33,332 [INFO] {get_activity_fit}: waiting 1 seconds for next attempt
2020-08-01 09:02:34,334 [INFO] {get_activity_fit}: attempt 2 ...
2020-08-01 09:02:34,544 [DEBUG] https://connect.garmin.com:443 "GET /modern/proxy/download-service/files/activity/267428142 HTTP/1.1" 400 None
2020-08-01 09:02:34,548 [DEBUG] {get_activity_fit}: failed: error: failed to get original activity file for 267428142: 400
<html><body><h1>400 Bad request</h1>
Your browser sent an invalid request.
<script defer src="https://static.cloudflareinsights.com/beacon.min.js" data-cf-beacon='{"rayId":"5bbe09a4db1de648","version":"2020.7.0","si":10}'></script>
</body></html>
2020-08-01 09:02:34,549 [INFO] {get_activity_fit}: waiting 2 seconds for next attempt
2020-08-01 09:02:36,552 [INFO] {get_activity_fit}: attempt 3 ...
2020-08-01 09:02:36,778 [DEBUG] https://connect.garmin.com:443 "GET /modern/proxy/download-service/files/activity/267428142 HTTP/1.1" 400 None
2020-08-01 09:02:36,788 [DEBUG] {get_activity_fit}: failed: error: failed to get original activity file for 267428142: 400
<html><body><h1>400 Bad request</h1>
Your browser sent an invalid request.
</body></html>
2020-08-01 09:02:36,791 [ERROR] failed with exception: {}: gave up after get_activity_fit failed attempt(s)
2020-08-01 09:02:36,812 [ERROR] failed with exception: {}: gave up after get_activity_fit failed attempt(s)
Garmin is saying bad request.
It also seems that despite trying and failing to load an activity I am still getting this:
2020-08-01 09:02:33,109 [INFO] /mnt/networkShare contains 0 backed up activities
Is this me or has garmin changed the service or is there an issue with garmin backup? Thanks
Issue Analytics
- State:
- Created 3 years ago
- Comments:5
 Top Results From Across the Web
Top Results From Across the Web
directory not found while opening manager within virtual file ...
Hi, I have been trying to download and convert SRA to fastq for a while but I keep getting an error code.
Read more >Download File activity failed to capture the file output
Issue - The ;download file' activity is randomly (or occasionally) failing to capture the output file. We did all the possible ways to ......
Read more >PHP: File cannot be downloaded ("404 Not Found" message)
I have troubles making files downloadable. It is about a subdomain where users can download course files. The website files are contained in...
Read more >Unable to write to output file '<filename>': <error> - Visual Basic
There was a problem creating the file. An output file cannot be opened for writing. The file (or the folder containing the file)...
Read more >Download error - path not found (.NET) - Dropbox Community
It sounds like you're using the "team space" configuration, and API calls default to your member folder, so for example, to access a...
Read more > Top Related Medium Post
Top Related Medium Post
No results found
 Top Related StackOverflow Question
Top Related StackOverflow Question
No results found
 Troubleshoot Live Code
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free Top Related Reddit Thread
Top Related Reddit Thread
No results found
 Top Related Hackernoon Post
Top Related Hackernoon Post
No results found
 Top Related Tweet
Top Related Tweet
No results found
 Top Related Dev.to Post
Top Related Dev.to Post
No results found
 Top Related Hashnode Post
Top Related Hashnode Post
No results found

I think the problem is with Garmin, also when trying a manual export of activity from Garmin Connect (.fit or .tcx), it gives the same error message: 400 Bad request Your browser sent an invalid request.
yup, working for me now. Thanks