-
Notifications
You must be signed in to change notification settings - Fork 184
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
Download: 402 Client Error #109
Comments
I started seeing this yesterday as well. Tracking down that request in connect.garmin.com, it looks like there is a header Edit: I confirmed that adding the |
Very similar issue. Trying to update the Garmin database using version 1.8.1 from binaries. Terminal output is: |
Same issue here, and I can confirm that it works again for me when I add the header "nk: NT" in rest_client.py as described in the fix above. |
I implemented it differently here 62d9a50. Utilities is generic code and shouldn't have anything Garmin specific in it. |
Let me know if the fix works for you and I will merge it to master and make a release after I get some positive feedback. |
@tcgoetz Yes, that works for me (i.e. your commit to the development branch). |
Describe the bug
make create_dbs
produces a 402 Client Error. Download errors.The console prints:
To Reproduce
I just installed from source on Linux (
5.4.0-65-generic #73~18.04.1-Ubuntu SMP Tue Jan 19 09:02:24 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
). But withgit clone --recursive https://github.com/tcgoetz/GarminDB.git
instead of SSH and ranmake setup
(withoutupdate
), thenmake create_dbs
.Expected behavior
I was expecting a full download and not an erroring response.
Logs
The log clearly shows the <Response [402]>.
garmin.log
Python 3.6.9, GarminDB version garmin.py 2.0.1
Additional context
The error code might sign the response is too large, but I'm unsure about that. Even with 100 and 10 as limit the same error occurs.
The text was updated successfully, but these errors were encountered: