<p></p>
<p dir="auto">You can't PUT a GPX file like that - that endpoint is for updating metadata on an existing trace and it takes a an osm XML object not a gpx object.</p>
<p dir="auto">If you want to upload a new trace you should POST to <code class="notranslate">/api/0.6/gpx/create</code> and there's no way to replace the trace data for an existing trace.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />Reply to this email directly, <a href="https://github.com/openstreetmap/openstreetmap-website/issues/4821#issuecomment-2122952282">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLMSURZIO4JL23I25K3ZDNVPXAVCNFSM6AAAAABIB3R5JKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMRSHE2TEMRYGI">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AAK2OLLZXVKZU5GBWXAFQ7TZDNVPXA5CNFSM6AAAAABIB3R5JKWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTT6RGXFU.gif" height="1" width="1" alt="" /><span style="color: transparent; font-size: 0; display: none; visibility: hidden; overflow: hidden; opacity: 0; width: 0; height: 0; max-width: 0; max-height: 0; mso-hide: all">Message ID: <span><openstreetmap/openstreetmap-website/issues/4821/2122952282</span><span>@</span><span>github</span><span>.</span><span>com></span></span></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/openstreetmap/openstreetmap-website/issues/4821#issuecomment-2122952282",
"url": "https://github.com/openstreetmap/openstreetmap-website/issues/4821#issuecomment-2122952282",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>