Skip to main content

Andrew Neal

Hello all ,

I'm unable to get a list of my activities via the API, due (I think) to not having read_all scope. Using HTTPie

http get "https://www.strava.com/api/v3/athlete/activities?access_token=&page=1&per_page=50"
 

I get the following error

"code": "missing", "field": "activity:read_permission", "resource": "AccessToken"

 

After reading the permissions documentation, I requested read_all with the following....

https://www.strava.com/oauth/authorize?client_id=<client_id>&response_type=code&redirect_uri=https://localhost&scope=activity:write&state=mystate&approval_prompt=force@scope="read_all,activity:read_all,activity:write"

But this doesn't seem to return the requested permissions, as seen in the URL returned..

https://localhost/?state=mystate&code=<snip-code>&scope=read,activity:write

 

I’m able to upload activities, and display my basic athlete details, but cannot get activity details.

I’ve searched the hub and reread the docs but am still unable to resolve the problem. without success, What am I doing wrong? I'd be grateful for any help.

Be the first to reply!

Reply