-
Notifications
You must be signed in to change notification settings - Fork 30
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
Comments
Hey @chrismatthews, I'm the maintainer of this project. I'll keep you posted through this ticket. Thanks for filling an issue ! |
Hi Bastien,
Sorry about getting your name wrong, I noticed too late.
Many thanks for taking on the project, it fitted exactly what I needed
which was a one time import of gpx files, changing the activity name and
type which I exported from sporttracker.
After spending quite some time searching for an alternative endpoint I
gave up and manually updated the activity name and type.
I think it is a disgrace that Garmin (and many other GPS tracking
companies) deliberately make it difficult to import, export and edit
information through an some sort of api when so many other companies are
opening up there software to api access (infrastructure servers, backup,
firewalls, storage, and social media)
You can still let me know if you fix it, I'll be happy to test it for you.
Chris
…On 10/02/17 10:12, Bastien Abadie wrote:
Hey @chrismatthews <https://github.com/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 !
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#2 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AHR89ZehibPmLyDqcoqnxQCX-s2vWXc-ks5rbCoHgaJpZM4L1jGw>.
|
Hello @chrismatthews, I just published a new release of garmin-uploader on Pypi that should fix your issue. Thanks |
Hi Bastien,
I've tried using 1.0.2 with two different accounts and both times I get
raise Exception('Invalid credentials')
can you please check yours again.
Thanks
Chris
…On 24/02/17 11:12, Bastien Abadie wrote:
Hello @chrismatthews <https://github.com/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
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#2 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AHR89bjAH3QIU_R_pM4cP03doySBoqp5ks5rfqz5gaJpZM4L1jGw>.
|
Hi @chrismatthews , could you try again after updating to release 1.0.3 ? |
Hi Bastien,
Thanks for the update the error message handling helped me find my login
issue.
(Caused by an older version of requests in my OS, should have found it
earlier)
Otherwise I can now confirm that the Activity name can be updated correctly.
Many, many thanks for your work.
Best regards
Chris
…On 12/05/17 14:29, Bastien Abadie wrote:
Hi @chrismatthews <https://github.com/chrismatthews> , could you try
again after updating to release 1.0.3 ?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#2 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AHR89Zuqnq3rH_Y4JMUlU_yM_4Wb69Gwks5r5FCPgaJpZM4L1jGw>.
|
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
The text was updated successfully, but these errors were encountered: