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

Unable to Import TCX File

Former Member
Former Member
I've recently swapped from Polar to Garmin. I've exported all my TCX data from Polar, but when I go to Import in Garmin Connect I'm getting the following error:


dropzone.js?bust=3.18.0.9:27 Sat May 13 2017 10:43:56 GMT-0600 (Mountain Daylight Time) - error uploading file 2015-08-19T05_49_07.000Z_180779694.tcx status(500)

The error on screen is: An error occurred with your upload. Please try again.

Not very helpful. Any suggestions?
  • Former Member
    0 Former Member over 8 years ago
    I've recently swapped from Polar to Garmin. I've exported all my TCX data from Polar, but when I go to Import in Garmin Connect I'm getting the following error:


    dropzone.js?bust=3.18.0.9:27 Sat May 13 2017 10:43:56 GMT-0600 (Mountain Daylight Time) - error uploading file 2015-08-19T05_49_07.000Z_180779694.tcx status(500)

    The error on screen is: An error occurred with your upload. Please try again.

    Not very helpful. Any suggestions?


    I had the same problem with Fitbit TCX files. I exported a TCX file from Garmin and carefully compared the two files and found three things that I had to tweak to get importing to work properly. See: https://forums.garmin.com/showthread.php?374463-How-to-Import-TCX-Files-from-Fitbit-to-Garmin-Connect

    You files will probably be different, but you should be able to figure it out by comparing against a Garmin-generated TCX file.
  • Former Member
    0 Former Member over 8 years ago
    Thanks...

    [HTML]
    <Creator xmlns:xsi="www.w3.org/.../XMLSchema-instance" xsi:type="Device_t">
    <Name>Polar M400</Name>
    <UnitId>0</UnitId>
    <ProductID>22</ProductID>
    </Creator>
    [/HTML]

    Removing that section was the key. I've already used a python script to export all of the TCX files out of Polar since they don't have a bulk export tool. Looks like I'll have to script something to strip the creator tag out of all my workouts. :(
  • Former Member
    0 Former Member over 8 years ago
    For those who run across this in the future. In order to updated all my TCX files in bulk... I used Notepad++

    I performed a Find in Files and replaced using a regular expression:

    [HTML]<Creator[\s\S]*?<\/Creator>[/HTML]

    With the Find in Files dialog you can do a "Replace in Files" for a directory with *.tcx (make sure search mode is Regular expression).

    Updated all my files in about 10s and everything is importing fine now.