Skip to main content

Hi,

I am deauthorizing my athelete from my app using power automate.

I have used exactly below info on documentation page but not work.

Here is the return response.

{
  "message""Authorization Error",
  "errors": p
    {
      "resource""Athlete",
      "field""access_token",
      "code""invalid"
    }
  ]
}

I have checked the latest access_token of that athlete and it is true.

 

 
Can someone guide me I am wrong any where ? 
 
Thank you so much.

-----

Deauthorization

Applications can revoke access to an athlete’s data. This will invalidate all refresh tokens and access tokens that the application has for the athlete, and the application will be removed from the athlete’s apps settings page. All requests made using invalidated tokens will receive a 401 Unauthorized response.

The endpoint is POST https://www.strava.com/oauth/deauthorize.

access_token
required string, in query
R

I have detected the issue. You must refresh the access token so that it is still lived at the time you deauthorize.


Reply