cyberjunky / python-garminconnect

Python 3 API wrapper for Garmin Connect to get activity statistics
MIT License
802 stars 132 forks source link

Error when trying to upload the weight #196

Closed Gogmaghog closed 3 months ago

Gogmaghog commented 3 months ago

Hi!!

Does anyone else get an error when trying to upload weight?

Executing: Add a weigh-in of 89.6kg on '2024-03-31'

ERROR:main:Error in request: 400 Client Error: Bad Request for url: https://connectapi.garmin.com/weight-service/user-weight

psdupvi commented 3 months ago

It looks like Garmin might have changed the names of the times, from measurementTimestampLocal and measurementTimestampGMT to dateTimestamp and gmtTimestamp

cyberjunky commented 3 months ago

Fixed in 0.2.16, thanks to @psdupvi