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

"Payment Required" to access garmin connect activities api? #44

Closed
fvanoostrom opened this issue Mar 8, 2021 · 4 comments
Closed

"Payment Required" to access garmin connect activities api? #44

fvanoostrom opened this issue Mar 8, 2021 · 4 comments

Comments

@fvanoostrom
Copy link

I get this error when trying to fetch new activities:

402 Client Error: Payment Required for url: https://connect.garmin.com/modern/proxy/activitylist-service/activities/search/activities?startDate=2021-02-19&endDate=2021-03-08&start=0&limit=20

A few weeks ago I got messages about reaching the api limit although I hadn't used it for days. But this message seems to indicate that garmin made changes to the api which the garmin connect library uses? I can't find the documentation of garmin about the API.

Has garmin indeed made changes and do we need to pay?

@fvanoostrom
Copy link
Author

An update to the library seems to have resolved it. I'm curious to what has changed to fix this issue since it looks like a very basic operation (the URL seemed correct, login was succesfull)

@cyberjunky
Copy link
Owner

@fvanoostrom the fix was simply a change of the base url, see here:

daba147

@gplasky
Copy link

gplasky commented Mar 18, 2021

@cyberjunky Pardon the bump of a closed issue -- I've been unable to find any public documentation about the Garmin Connect API -- how are you figuring these things out? :) I assume you have a business developer account from https://developer.garmin.com/gc-developer-program/activity-api/ or are you doing some serious reverse-engineering?

@cyberjunky
Copy link
Owner

I believe the developer program costs 5K EUR to join and only 'skilled developers' with track records may join, so i'm open for donations ;-) The code has parts of other open-source projects and other links were reverged enginered from the website javascript source code.

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

No branches or pull requests

3 participants