Skip to main content

Hi, I am trying to upload a FIT file to Strava. I tried to manually upload it in my profile and that works, however attempting to upload it through the API does not. I get the following data when checking the status of the upload:

"data": {
"id": 16302203470,
"id_str": "16302203470",
"external_id": "test.fit",
"error": "Unrecognized file type.",
"status": "There was an error processing your activity.",
"activity_id": null
},

The file in question is added as an attachment.

Thanks for your help.

Best regards,

Nicolas Goualard

I’m more surprised that you can upload this obvious bogus file manually with a location on null island and heart rates above 250.


I’m more surprised that you can upload this obvious bogus file manually with a location on null island and heart rates above 250.

I am developing a device that creates FIT files, but those are not ready yet. In order to validate the uploading process I am using this test file, which is generated by a FIT SDK example. Indeed the values don’t mean much, but I am more interested in seeing if the infrastructure I devised is working.


I did some more testing on my end, and my problem does not seem related to Strava, but rather my API call. Sorry for the inconvenience.


Reply