cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

The Hub is now in read-only mode as we make improvements to the Hub experience. More information is available here.

Account setting doesn't saved after changes. API put requests doesn't have response.

City_ride
Mt. Kenya

Account setting doesn't saved after changes. API put requests doesn't have response.
User is automatically logged out after sending requests and refreshing the page.

This bug reproduce only in account athletes: 29844192
request PUT (change weight)request PUT (change weight)Front end part is OKFront end part is OKBackend part doesn't work, response is emptyBackend part doesn't work, response is empty

3 REPLIES 3

City_ride
Mt. Kenya

For my access_token - param 'data access expiration time' : 1688637303 (unix)
Is it possible that the token isn't valid and I can't update the information, but the authorization works?

 

City_ride
Mt. Kenya

The fact is that any request to update the athlete does not work.
All request doesn't has response.

Expected result in other account is {"success": true}
Screenshot 2024-02-21 at 18.58.25.png

ActivityFix
Superuser
Superuser

The updateLoggedInAthlete API call does not include the athlete ID in the URL. It updates the athlete whose token you provide in your auth header. Your PUT URL should just be https://www.strava.com/api/v3/athlete and you pass an access token and the new weight

i.e. PUT https://www.strava.com/api/v3/athlete?access_token=[ACCESS_TOKEN_HERE]&weight=[WEIGHT_IN_KG]

Ready, Get Set, Go!

Welcome to the Community - here is your guide to help you get started!


Know how to use Community


Understand Community Settings