Skip to main content
Question

API problem; returns activity:read_permission

  • Nov 27, 2025 10:18 AM UTC
  • 7 replies
  • 175 views

Forum|alt.badge.img+1

Hello
Please help us checking if everything is correct with our API acces by "data" app.
When we call to API for example to List Athlete Activities, returns error: 
{"message":"Authorization Error","errors":[{"resource":"AccessToken","field":"activity:read_permission","code":"missing"}]}
We've try to :
- correct access permission by Revoking Acces to "data" app and Allowing again - we gets the same error
- Generate New Client Secret - works fine, refreshing token works fine but at the end again the same error
 

7 replies

Jan_Mantau
Forum|alt.badge.img+26
  • Hub Powerhouse
  • Nov 27, 2025 8:30 PM UTC

Did you make sure that you use exactly the access token that you got from the token refresh and not the token from the Strava API setup page or a token from another connected athlete?


Forum|alt.badge.img+1
  • Author
  • Hub Rookie
  • Nov 27, 2025 11:21 PM UTC

Yes, I’m pretty sure
When I request manually using curl and only access_token, got the same error for that particular Athlete:
Request: 

curl -G -v GET "https://www.strava.com/api/v3/athlete/activities?after=1730415600&before=1764285275&page=1&per_page=10" -H "Authorization: Bearer [[access_token]]

Answer:

{"message":"Authorization Error","errors":[{"resource":"AccessToken","field":"activity:read_permission","code":"missing"}]}

But read_permission already granted. Revoking and adding permissions again doesn’t work

I think that might be problem with permissions


Forum|alt.badge.img+1
  • Author
  • Hub Rookie
  • Nov 27, 2025 11:31 PM UTC

I’ve just tried again revoking access for app (removing it from settings page https://www.strava.com/settings/apps), an adding again and I’ve received error from strava: Error 403: Limit of connected athletes exceeded

Quotas should not be exceeded (I’ve made just few test requests today)

A minute later after refreshing strava.com, app returned spontaneously "just like that"


Forum|alt.badge.img+1
  • Author
  • Hub Rookie
  • Nov 27, 2025 11:31 PM UTC

I’m still having the same errors {"message":"Authorization Error","errors":[{"resource":"Athlete","field":"access_token","code":"invalid"}]}


Jan_Mantau
Forum|alt.badge.img+26
  • Hub Powerhouse
  • Nov 28, 2025 10:11 AM UTC

For revoking access it would be better to use the deauthorization endpoint described in https://developers.strava.com/docs/authentication/#deauthorization, it’s possible that revoking from the user side leads to a delayed update of the total number of currently connected athletes. The new error is not the same and probably reflects that the token can’t be used anymore because of the revoked access.


Forum|alt.badge.img+1
  • Author
  • Hub Rookie
  • Nov 28, 2025 3:57 PM UTC

https://developers.strava.com/docs/authentication/#deauthorization -done that with: curl -v -X POST "https://www.strava.com/oauth/deauthorize" -H "Authorization: Bearer [[ "access_token" ]]
It worked with result {"access_token":”xxxxx”} and app dissapear from strava.com settings..

 

...but after a moment shows up again back. Refresh Token changed. I’ve updated data, and got refreshed token… and tried to connect again with the some error: {"message":"Authorization Error","errors":[{"resource":"Athlete","field":"access_token","code":"invalid"}]}


ActivityFix
Forum|alt.badge.img+23
  • Hub Climber
  • Dec 1, 2025 9:57 PM UTC

Can you share the request you are making to get the access token?