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

Error uploading weight to Garmin Connect: forbidden #31

Closed
JoeBee01 opened this issue Oct 17, 2023 · 11 comments
Closed

Error uploading weight to Garmin Connect: forbidden #31

JoeBee01 opened this issue Oct 17, 2023 · 11 comments

Comments

@JoeBee01
Copy link

There seems to be a problem in the "bodycomposition" when tries to upload to Garmin
Most likely Garmin has something changed?

@RobertWojtowicz
Copy link
Owner

RobertWojtowicz commented Oct 17, 2023

Looks like it, I have the same thing. let's wait a while maybe a failure at Garmin again: petergardfjall/garminexport#103

@Martin22
Copy link

Martin22 commented Oct 19, 2023

@RobertWojtowicz Is it possible to use another client to send data? While I hope that @abrander will fix the code, it would still be better to consider an alternative in case that doesn't happen. Unfortunately, he hasn't responded at all so far.

@RobertWojtowicz
Copy link
Owner

@Martin22

We will have to wait, if there will be any reasonable alternative then my integration can be reworked, but I believe it will stay with bodycomposition (it works very well), the topic comes back every now and then because Garmin changes something...

BR,
Robert

@app4g
Copy link

app4g commented Oct 20, 2023

The Upload Service seems to be broken? Auth works but when trying to upload a FIT file, it returns 402 error petergardfjall/garminexport#106

@RobertWojtowicz
Copy link
Owner

RobertWojtowicz commented Oct 20, 2023

@app4g

We look forward to making improvements to this module: abrander/garmin-connect#26

BR,
Robert

@app4g
Copy link

app4g commented Oct 20, 2023

@RobertWojtowicz moving to the Garth method of auth if I read that correctly ?

@Martin22
Copy link

Martin22 commented Oct 20, 2023

@RobertWojtowicz moving to the Garth method of auth if I read that correctly ?

I tried creating a Python client with the help of https://github.com/cyberjunky/python-garminconnect.git, but either I'm doing something wrong, or there are unfinished endpoints for other things besides weight, so I can only upload weight."

@app4g
Copy link

app4g commented Oct 20, 2023

@Martin22 did you try the exmple.py from that project? It seems to be able to get many things.

@Martin22
Copy link

@app4g
I was able to extract only weight from the example, and I tried to imitate the bodycomposition function. Unfortunately, it looks like it will be necessary to add additional definitions for other parameters in the Garmin class in garmiconnect. However, I am not a programmer, I can only handle the basics, and even with AI, I was not able to progress.

@RobertWojtowicz
Copy link
Owner

@Martin22 @app4g
This integration makes it possible to export the weight, I'm not a programmer either, just an administrator :)

@RobertWojtowicz
Copy link
Owner

RobertWojtowicz commented Oct 30, 2023

@Martin22 @app4g @JoeBee01

Check out new version based on YAGCC, read the README files.
https://github.com/RobertWojtowicz/miscale2garmin/releases/tag/5
lswiderski/yet-another-garmin-connect-client#1 (comment)

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

4 participants