magnific0 / nokia-weight-sync

Get weight from Nokia Health and update in Garmin Connect or Smashrun
GNU General Public License v3.0
71 stars 30 forks source link

upload-service returns error 415 file type not supported #28

Closed weberk closed 11 months ago

weberk commented 11 months ago

Hi,

just tried to play arround with uploading a fit file compiled your way, but finally the upload failed with the follwing error: Post to https://connect.garmin.com/upload-service/upload/.fit: {"detailedImportResult":{"uploadId":"","uploadUuid":null,"owner":33649038,"fileSize":0,"processingTime":1,"creationDate":"2023-11-07 08:03:47.138 GMT","ipAddress":null,"fileName":"bloodpressure_dummy.fit","report":null,"successes":[],"failures":[{"internalId":null,"externalId":null,"messages":[{"code":415,"content":"The file is of a type we do not support."}]}]}}% Is your solution still working?

Regards - Klaus.

weberk commented 11 months ago

Got it running now. I had a broken CRC at the end. https://www.fitfileviewer.com/ was very helpful. We can close this issue. Sorry for bothering you too much.

Good news: after fixing CRC I could upload the file manually on Garmin Connect website>all activities>import

weberk commented 11 months ago

fixed