Skip to main content
Solved

Getting "Internal Server Error" when doing upload


Forum|alt.badge.img+1

Hi,

I'm trying to upload activities to Strava. I've made sure the user I'm doing it with has the right permissions (`activity:write`). When I perform the uploaded, using a gzipped tcx file as content, I get a 500 Internal Server from the Strava API.

The body just contains:

500 Internal Server Error
If you are the administrator of this website, then please read this web application's log file and/or the web server's log file to find out what went wrong.

Has anybody seen this before (and been able to fix it)?

Cheers,

Ilja

Best answer by PhilippHofmann

I think I know now the solution. The user have to grant access to "health data" in the Strava-Settings under "Data access". Else you can upload files with heart rate data.

View original
Did this topic help you find an answer to your question?

5 replies

ibooij
Forum|alt.badge.img+8
  • Hub Rookie
  • 17 replies
  • March 12, 2023

Well, there's a change now, instead of the NGINX HTML page that says "Internal server error" I now get a JSON object with the same message, without any other information. Not really helpful and pretty frustrating.


Forum|alt.badge.img+4

I had the same problem with one user also today. Did you found explanation or even a solution for this error?


ibooij
Forum|alt.badge.img+8
  • Hub Rookie
  • 17 replies
  • August 31, 2023

No, it mostly works and then sometimes it doesn't. Best to retry if you get this error.


Forum|alt.badge.img+4

I think I know now the solution. The user have to grant access to "health data" in the Strava-Settings under "Data access". Else you can upload files with heart rate data.


Forum|alt.badge.img
  • Hub Starter
  • 1 reply
  • December 8, 2024
{"code":"cant-connect","message":"Error finding the user","data":{"status":500}} why is that?

Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept, you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings