Skip to main content

Hello,

I'm having an issue with the Strava API that I hope someone can help me resolve. I'm able to successfully make API requests through Postman, but when I implement the same code on my server, I get a 403 error.

What works (in Postman):

I'm trying to access activity data with this endpoint: GET www.strava.com/api/v3/activities/[activity_id]

With the authorization header: Authorization: Bearer [my_token]

 

The error I'm getting on my server:

I'm using PHP with cURL for my implementation. Here's the error I receive:

403 ERROR The request could not be satisfied.

Request blocked. We can't connect to the server for this app or website at this time.

There might be too much traffic or a configuration error.

Generated by cloudfront (CloudFront

 

This implementation has been working perfectly for months, but suddenly stopped working this weekend. Nothing changed on my end.

 

Hi ​@anthony.bois,

Are you still experiencing this?

While I don't have any specific answer - I’ve found an older thread where people described exactly the same symptoms, and the problem turned out to be caused by a temporary issue on Strava servers; that seems to match your experience (i.e. sudden errors without any changes on your end):

If the problem persists, let us know and someone will hopefully be able to help. 


Reply