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

Help! Trying to import Trainig Center exports into Garmin Connect

Former Member
Former Member
Hello all. I am hoping someone can help me out. I have been trying unsuccessfully for several hours to import my old running history from Garmin Training Center to Garmin Connect. I export from TC to my laptop just fine, but my import into Connect fails every time. A few things I've checked:

- Exports are not large. Exports of a single week and even of a single run fail. File sizes of 188 kb are failing.
- Exports of both .tcx and .gpx fail.
- Error messages from Connect import include "undefined", " An error occurred with your upload. Please try again." and at times it just says "Uploading" indefinitely until I give up and cancel it (30+ minutes for these <200 kb files)


At this point I am very frustrated with Garmin. I spent quite a good deal of money on a new Forerunner 620 and it now seems that I will have to abandon 6+ years of training history from my Forerunner 405 because Connect can't handle importing exports from Garmin Training Center. I can't imagine I'm the only customer to run into this. I've done a large amount of Googling but haven't found any solutions.

For what it's worth , I'm running Windows 7 and Garmin Training Center is version 3.6.5.
  • Have you tried single workouts initially just to see if the process is working at all?

    Also are you using Connect Modern and Express or the old connect and ANT agent?

    I use the latter and loaded all my old runs from TC without any problems when connect was originally introduced
  • Former Member
    0 Former Member over 10 years ago
    Yes, even for a single workout .tcx file I get the "undefined" error message when I attempt to upload. I've tried both Modern and Classic with no luck.

    Here's an example of a failing single workout file:

    <?xml version="1.0" encoding="UTF-8" standalone="no" ?>
    <TrainingCenterDatabase xmlns="www.garmin.com/.../v2" xmlns:xsi="www.w3.org/.../XMLSchema-instance" xsi:schemaLocation="www.garmin.com/.../v2 www.garmin.com/.../TrainingCenterDatabasev2.xsd">

    <Activities>
    <Activity Sport="Running">
    <Id>2013-03-07T16:44:03Z</Id>
    <Lap StartTime="2013-03-07T16:44:03Z">
    <TotalTimeSeconds>1680.0000000</TotalTimeSeconds>
    <DistanceMeters>4828.0322266</DistanceMeters>
    <MaximumSpeed>0.0000000</MaximumSpeed>
    <Calories>450</Calories>
    <Intensity>Active</Intensity>
    <TriggerMethod>Manual</TriggerMethod>
    </Lap>
    <Creator xsi:type="Application_t">
    <Name>Garmin Training Center(r)</Name>
    <Build>
    <Version>
    <VersionMajor>3</VersionMajor>
    <VersionMinor>6</VersionMinor>
    <BuildMajor>5</BuildMajor>
    <BuildMinor>0</BuildMinor>
    </Version>
    <Type>Release</Type>
    <Time>Aug 17 2011, 11:13:24</Time>
    <Builder>sqa</Builder>
    </Build>
    <LangID>EN</LangID>
    <PartNumber>006-A0119-00</PartNumber>
    </Creator>
    </Activity>
    </Activities>

    <Author xsi:type="Application_t">
    <Name>Garmin Training Center(r)</Name>
    <Build>
    <Version>
    <VersionMajor>3</VersionMajor>
    <VersionMinor>6</VersionMinor>
    <BuildMajor>5</BuildMajor>
    <BuildMinor>0</BuildMinor>
    </Version>
    <Type>Release</Type>
    <Time>Aug 17 2011, 11:13:24</Time>
    <Builder>sqa</Builder>
    </Build>
    <LangID>EN</LangID>
    <PartNumber>006-A0119-00</PartNumber>
    </Author>

    </TrainingCenterDatabase>
  • can you attach the actual file and I'll try and upload it - from my basic knowledge of the file format what you have above looks OK but maybe TRavis is watching this forum he seems to have a strong tech knowledge of file formats
  • It doesn't look to me like you are creating a valid tcx file. For starters, the small file sizes seem to fall outside a normal expectation. I looked at a 6 mile run this morning and the tcx file is 1.86 MB. The example file you shared above doesn't include any trackpoints at all.

    Have you looked at your history folder to see if your tcx files are there?
    My path - C:\Users\Deeter\AppData\Roaming\GARMIN\Devices\3870319158\History
    If they are, try to import into Connect directly from that location.

    If you don't have a history folder then we'll have to look at how you're exporting the tcx file from TC.
  • As far as I can tell, the file is formatted as described by the xml schema definition provided by Garmin (http://www.garmin.com/xmlschemas/TrainingCenterDatabasev2.xsd). After a little investigation, I was able to determine that the Garmin import routines are choking on the optional Creator block in the instance document.

    In human-readable terms, you need to delete the Creator block from each affected .tcx file. In the xml data you provided, that block looks like this...

    <Creator xsi:type="Application_t">
    <Name>Garmin Training Center(r)</Name>
    <Build>
    <Version>
    <VersionMajor>3</VersionMajor>
    <VersionMinor>6</VersionMinor>
    <BuildMajor>5</BuildMajor>
    <BuildMinor>0</BuildMinor>
    </Version>
    </Build>
    <LangID>EN</LangID>
    <PartNumber>006-A0119-00</PartNumber>
    </Creator>


    Just remove it from the file, save it, and the upload should go through just fine. I'm guessing that you need to do this for many files. If this is the case, I should be able to write a utility to scan and repair each file.

    Travis
  • Former Member
    0 Former Member over 10 years ago
    Once I removed the Creator blocks for the application_t type (<Creator xsi:type="Application_t">) the files then uploaded without issue. The reason my example was so small and had no data points was because it was a treadmill workout I had manually entered into Training Center. It seems that for any TC export range if I had any manually added workouts (which would use the bad Creator block) in the range the upload would bomb out with undefined.

    Thank you all for your help!!