Skip to content

Files: GPX, FIT and TCX 5 MIN READ

GPX file not uploading to Strava: every reason, and the fix

Strava refuses a GPX for a handful of reasons: no timestamps, a duplicate activity, a malformed file, no positions, or a file that is not really a GPX. What each message means and how to fix the file in a minute.

Strava refuses a GPX file for a short list of reasons, and each one has a one-minute fix. Work down the list.

1. No time data

The most common. A GPX exported from a route planner — Komoot, Strava's own route builder, Ride with GPS, a race organiser — is a route: coordinates without timestamps. Strava makes activities out of recordings, and a recording has times. Track vs route shows the difference in the file.

Fix: record the route and upload the recording. Or, if you must, add timestamps in an editor; tools exist that write an invented pace onto a route. That creates an activity nobody did, with a pace nobody ran. For a print, the editor here draws a route without times perfectly well; it just has no time to show under it.

2. Duplicate activity

Strava already has an activity starting at the same time, almost always because the watch synced it before you uploaded the file. Fix: nothing. The activity is there. If the synced one is wrong and the file is right, delete the synced one first, then upload.

3. Malformed file

The XML is broken: a tag not closed, a file cut off mid-transfer, a file saved by a tool that never finished writing it. Check: open it in a text editor. It should start with `<?xml` and end with `</gpx>`. If it ends abruptly, it was cut off. Fix: export it again from the source. If the source is gone, gpx.studio or the GPX editor can often read what is there and write a clean file; you lose the points after the break.

4. No GPS data

The file has time and sensors but no positions — an indoor session, or a watch that never found satellites. The GPX viewer says so in as many words. Fix: upload it as an indoor activity, or accept there is no map. For a print there is nothing to draw.

5. It is not a GPX

The extension says `.gpx`; the content is something else. Common ones: a `.fit` or `.tcx` renamed, a KML from Google Earth, a zip, an HTML page from a download that failed. Check: a text editor. A FIT shows symbols; a KML says `<kml`; HTML says `<html`. Fix: upload the file as what it is — Strava reads FIT and TCX directly — or convert it: GPX to KML goes the other way, and the tools cover the rest.

6. Too big, too small

A file from a multi-day recording can exceed what Strava will take in one upload; split it with the GPX editor. A file with two points is technically a GPX and practically nothing; Strava may refuse an activity that short.

Garmin says no as well

Garmin Connect refuses for the same reasons, with different words, and one more: it wants an activity file to come from a device it recognises, so a GPX built by hand sometimes lands as a course rather than an activity. Get a GPX onto a Garmin covers that side.

When the file is fine and it still fails

Try a different browser, the desktop site rather than the phone, and one file at a time. If it still fails, the refusal message is the clue; Strava's own help centre lists its upload errors under "Uploading to Strava".

Questions people actually ask

Why won't my GPX file upload to Strava?
Almost always one of five things: the points have no timestamps, Strava already has that activity, the XML is malformed, there are no positions in it, or the file is not a GPX at all. Each has a one-minute fix, described in this guide.
Why does Strava say the file has no time data?
The GPX has no time on its points. That is normal for a route from a planner and impossible for an activity. Either record the route and upload the recording, or add timestamps in an editor — which makes a fake activity, so consider whether you want that on your profile.
Why does Strava say the activity is a duplicate?
An activity with the same start time is already on your account, usually because the watch synced it. Delete one or keep the one you have; the file is not needed.
How do I fix a GPX file?
Open it in a text editor. If it is XML with trkpt points, the fixes are in this guide. If it is not, it is not a GPX — check what the exporting tool actually gave you.
Can't open a GPX file — is it corrupt?
Usually not. The file is text; if a text editor shows XML, it is fine and the app is refusing it for one of the reasons here. If the editor shows symbols or nothing, the file is damaged or empty — export it again.

YOURS, FROM A FILE, IN 90 SECONDS

One effort. One sheet of paper.

Bring the file and every choice is yours: paper, treatment, colour, which numbers come along. Uncoated matte in 250 or 170 gsm, made to order at the facility nearest you, rolled in a tube.

Print it. FROM 319 kr

More from the journal

All articles →
Did it.
Print it.
How-to · 4 MIN READ What is a TCX file, and when does Garmin give you one?
Did it.
Print it.
How-to · 5 MIN READ What is a GPX file, and how do you open it?
Did it.
Print it.
How-to · 5 MIN READ What is a FIT file? What your watch actually writes