cancel
Showing results for 
Search instead for 
Did you mean: 

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
Kilimanjaro

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]