02-21-2024 04:47 AM
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: 29844192request PUT (change weight)
Front end part is OK
Backend part doesn't work, response is empty
02-21-2024 09:36 AM
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?
02-21-2024 08:58 AM
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}
02-21-2024 08:41 AM
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]
Welcome to the Community - here is your guide to help you get started!