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

Activity name update failed: Activity name not set: The requested endpoint is retired #2

Closed
chrismatthews opened this issue Feb 2, 2017 · 6 comments

Comments

@chrismatthews
Copy link

Hi dlottton,
First of all thanks for work on this, great idea!
I have a problem adding Activity names and Activity types, looks like something has changed at Garmin. I'll also do some digging around.

$ python2 garmin_uploader/cli.py -u c.xxxxxxxxxx@freenet.de -p xxxxxxxx -v 1 test_import.csv
2017-02-02 20:22:25,255 [DEBUG] File '/home/chrism/PycharmProjects/sportstracker/test_import.csv' has extension '.csv'
2017-02-02 20:22:25,255 [WARNING] File '/home/chrism/PycharmProjects/sportstracker/test_import.csv' extension '.csv' is not valid. Skipping file...
2017-02-02 20:22:25,255 [INFO] List file '/home/chrism/PycharmProjects/sportstracker/test_import.csv' will be processed...
2017-02-02 20:22:25,255 [DEBUG] File 'cordula_5869ff93f175723b87cfbec8.gpx' has extension '.gpx'
2017-02-02 20:22:25,255 [DEBUG] File 'cordula_5869ff93f175723b87cfbec8.gpx' extension '.gpx' is valid.
2017-02-02 20:22:25,255 [DEBUG] Using credentials from command line.
2017-02-02 20:22:25,255 [INFO] Try to login on GarminConnect...
2017-02-02 20:22:25,255 [DEBUG] Username: c.xxxxxxxxxx@freenet.de
2017-02-02 20:22:25,255 [DEBUG] Password: *********
2017-02-02 20:22:25,764 [DEBUG] Found login ticket e1s1
2017-02-02 20:22:26,277 [DEBUG] Found service ticket ST-0563263-N2gAGmDkJTqz0hiFWJfd-cas
2017-02-02 20:22:27,664 [INFO] Logged in as cordula167
2017-02-02 20:22:27,664 [DEBUG] Login Successful.
2017-02-02 20:22:28,639 [INFO] Uploaded activity 1554911241 : Mit Gaby
2017-02-02 20:22:28,824 [WARNING] Activity name update failed: Activity name not set: The requested endpoint is retired
2017-02-02 20:22:28,825 [DEBUG] Fecthing activity types
2017-02-02 20:22:30,346 [DEBUG] Fetched 109 activity types
2017-02-02 20:22:30,604 [WARNING] Activity type update failed: Activity type not set: The requested endpoint is retired
2017-02-02 20:22:30,605 [INFO] All done.

test_import.csv contents....
filename,name,type
cordula_5869ff93f175723b87cfbec8.gpx,"Mit Gaby",running

@La0
Copy link
Owner

La0 commented Feb 10, 2017

Hey @chrismatthews, I'm the maintainer of this project.
As you see in the error message, Garmin servers state that The requested endpoint is retired. I need to find the new endpoint to get the activity types needed to update the activity... I may have time for that next week.

I'll keep you posted through this ticket. Thanks for filling an issue !

@chrismatthews
Copy link
Author

chrismatthews commented Feb 11, 2017 via email

@La0
Copy link
Owner

La0 commented Feb 24, 2017

Hello @chrismatthews,

I just published a new release of garmin-uploader on Pypi that should fix your issue.
Can you try it by updating yoru local copy to the release 1.0.2.

Thanks

@chrismatthews
Copy link
Author

chrismatthews commented Feb 28, 2017 via email

@La0
Copy link
Owner

La0 commented May 12, 2017

Hi @chrismatthews , could you try again after updating to release 1.0.3 ?

@chrismatthews
Copy link
Author

chrismatthews commented May 13, 2017 via email

@La0 La0 closed this as completed May 16, 2017
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

2 participants