This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

FIT file upload spec

I have .FIT files created with latest FIT SDK (14.20)

When I tried to upload them to Garmin Connect, I get an error "An error occurred with your upload. Please try again."
I can upload the file fine to other services (Strava, Golden Cheetah, SportTracks, ...)
Even the Activity.fit file example bundled with the SDK doesn't upload to Garmin Connect.

I'm wondering if there are some special requirements in the FIT fit so it can be uploaded on Garmin Connect?

Here is a code example that create a sample FIT activity file.
https://www.dropbox.com/s/qitowawmr7jcpe2/fitCreator.cpp?dl=0

Any help appreciated in order to be able to upload to Garmin Connect, wouldn't like to ask my users to use another service if it's possible to fix the issue.
Thanks
  • Was able to use decode.exe to output the the data in a file like this
    C:\Users\Calo\Desktop\FitSDKRelease_14.20\cs\Examples\Decode\bin\Release>decode.exe 2015-04-12-13-17-05.fit > "C:\output.txt"
    Checking the output to see what I have different from this one, thanks a lot


    No problem! Good luck figuring this one out.
  • No problem! Good luck figuring this one out.


    Was able to upload it after adding a "DeviceInfoMesg" to my file.
    Seems to work fine now, only thing I would like more is that the .FIT filename be set as the Activity Title by default, but not sure that's possible.
    Thanks again for your help.
  • Was able to upload it after adding a "DeviceInfoMesg" to my file.
    Seems to work fine now, only thing I would like more is that the .FIT filename be set as the Activity Title by default, but not sure that's possible.
    Thanks again for your help.


    No problem, glad you got it sorted out!