404 error even when calling for my own activities

268 views
Skip to first unread message

Ali Hamed

unread,
Jan 14, 2022, 12:53:15 AM1/14/22
to Strava API
Hello,

I keep getting a 404 errors when requesting non-private activities. I even tried it on my own account and get the same issue. Here is a sample request and response:

ACTIVITY:

REQUEST:

RESPONSE:

HTTP/1.1 404 Not Found

Cache-Control: no-cache

Connection: keep-alive

Content-Encoding: gzip

Content-Type: application/json; charset=utf-8

Date: Fri, 14 Jan 2022 05:50:46 GMT

Referrer-Policy: strict-origin-when-cross-origin

Server: nginx/1.19.5

Status: 404 Not Found

Transfer-Encoding: chunked

Vary: Origin

Via: 1.1 linkerd, 1.1 linkerd

X-Content-Type-Options: nosniff

X-Download-Options: noopen

X-Frame-Options: DENY

X-Permitted-Cross-Domain-Policies: none

X-RateLimit-Limit: 600,30000

X-RateLimit-Usage: 3,24

X-Request-Id: 68d4f71d-f763-4622-befb-1592a9361d13

X-XSS-Protection: 1; mode=block


{

    "errors": [

        {

            "code": "not found",

            "field": "",

            "resource": "Activity"

        }

    ],

    "message": "Resource Not Found"

}


Ali Hamed

unread,
Jan 14, 2022, 12:11:05 PM1/14/22
to Strava API
I got it to work. I needed to set the scope to "activities:read"
Reply all
Reply to author
Forward
0 new messages