cancel
Showing results for 
Search instead for 
Did you mean: 

Authorization Error - activity:read_permission

SingleAPI
Mt. Kenya

I receive this response when trying to access the activities endpoint for v3.  I'm able to use the athlete endpoint and get information.  I used the activity:read_all scope when authorizing my own account.

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

1 ACCEPTED SOLUTION

Jan_Mantau
Superuser
Superuser

Did you actually use the access token you got from when you authorized your account? It's not the same as the one in the api settings page.

View solution in original post

4 REPLIES 4

Jan_Mantau
Superuser
Superuser

@kwyx That is explained in https://developers.strava.com/docs/getting-started/ beginning from point 10.

Jan_Mantau
Superuser
Superuser

Did you actually use the access token you got from when you authorized your account? It's not the same as the one in the api settings page.

Hi, can you elaborate on this? After I authorize I get brought to the redirect URL I provide. My understanding is that within that URL, after code= my authorization code is provided. How do I then go about turning that code into the appropriate access token?

Thank You - Yes, I was not using the correct refresh token to get my access token.  I was using the API refresh token and then also using it's access token.  I authorized and received the right tokens to be able to move forward.