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

"Undefined" Error when Importing GPX or TCX from from Strava Routes

Hi

I am trying to upload a route (both TCX and GPX) which have been export from Strava Routes.

I get a "undefined" error when I upload - any ideas anyone. The files look to be valid when I test them on other 3rd party sites like http://www.gpsvisualizer.com/



The map files should be attached too


Thanks
  • Many users have such problem (different devices) and no answer from the great garmin support. ridiculous.
  • I opened up the linked .tcx file and I see this...

    <Courses>
    <Course>
    <Name>St Edmunds Whee</Name>
    <Lap>


    I would expect to see this...

    <Activities>
    <Activity Sport="Biking">
    <Id>2014-06-19T22:56:12.000Z</Id>
    <Lap StartTime="2014-06-19T22:56:12.000Z">


    Garmin Connect doesn't support uploading of courses. You can only upload activity files. At some point in the recent past, I was able to find a website that provided a mechanism to convert a course tcx to an activity tcx that could be uploaded to Garmin Connect.

    Travis
  • Former Member
    0 Former Member over 10 years ago
    The location that converts files is here. http://garmin.kiesewetter.nl/ Thanks very much to the author! autofix works for me when I have issues with files and I then manually upload the fixed file to garmin connect.
  • I attempted to upload a *.gpx file exported from www.gaiagps.com to garmin connect and received the "Undefined" error.

    I finally got it to work by first uploading my *.gpx file to http://www.gpsvisualizer.com/ then exporting as a gpx and uploading this new file to garmin connect.

    Kind of a pain, but a functional work-around.

    jeff
  • Former Member
    0 Former Member over 10 years ago
    Dear, Have downloaded your file and loaded in BaseCamp 4.4.6 Edmunds Wheel 2013. Got one made bike route. What needs to happen because the file with Edmunds wheel works perfectly.
    Would you like to the file in GPX or TCX? The route is 80.5 km long :) :P

    Greetz
  • I attempted to upload a *.gpx file exported from www.gaiagps.com to garmin connect and received the "Undefined" error.

    I finally got it to work by first uploading my *.gpx file to http://www.gpsvisualizer.com/ then exporting as a gpx and uploading this new file to garmin connect.

    Kind of a pain, but a functional work-around.

    jeff


    I'm having the same issues. All the workarounds are appreciated, but this seems like something Garmin could easily fix with their import tool to save us all a lot of trouble. Do they even pay attention to these threads and realize that users want to get the most of their high dollar devices!?!
  • Update

    gpsvisualizer no longer seems to work but if anyone needs a fix, I was finally able to get this site (http://www.gpsies.com/convert.do) by choosing GPX Track.
  • I couldn't see the appropriate option on http://garmin.kiesewetter.nl/ so tried the solution suggested above. While I did manage to get the file to upload it looks like something has gone a bit wrong in the process as the route has added a weird triangle in at the end - see https://connect.garmin.com/modern/activity/773858873.

    Any ideas on a fix for this would be appreciated
  • The reason the files are rejected will almost certainly be either missing tags that GC expects or extra tags that it doesn't understand.

    Should be a trivial job to write a program to do the conversion if you have a genuine Garmin file as a baseline - I guess Garmin doesn't want data garnered from 'foreign' devices uploaded to its website. Since I don't yet have a Garmin device this isn't something I want to do just yet.

    Having uploaded a converted file the website is pretty poor compare to RunKeeper, so I shall continue to use that. Since I don't (a) have a data plan on my phone and (b) only have Linux PCs and laptops I don't lose anything since the Garmin software is Windows or Mac only.
  • The reason the files are rejected will almost certainly be either missing tags that GC expects or extra tags that it doesn't understand.


    GC expects for each trackpoint an associated timestamp. In terms of GPX XML, each <trkpt> element must contain a <time> element. Exported tracks from Strava but also from Basecamp (after route->track conversion) lack these as the time information is irrelevant.

    It's pretty easy to add a fake timestamps with some lines of code, or simply use gpsbabel with the faketime option: http://www.gpsbabel.org/htmldoc-1.5.2/filter_track.html