Strava Leaderboard Integration not working?
-
When I try to embed a leaderboard link like this:
https://www.strava.com/segments/15519133/leaderboard?filter=overallI get an error, the error can be seen at:
https://attivo.co.za/stravaThe page I need help with: [log in to see the link]
-
@nerdcube18 thanks for leaving that page up. I’m working on this plugin tomorrow (Friday) and will take a look at your issue.
@nerdcube18 I just put out a release today with some debugging improvements. Can you do me a favor and follow these steps:
1) Remove the Saved ID and Nickname.
2) Click Save
3) Check the “Delete the Cache” checkbox
4) Click Save
5) Reinsert your Client ID and the client secret from Strava
6) Click Save
7) Receive “New Strava token retrieved. Successfully authenticated.”Then try again please!
Thank you for getting back to me, I tried the steps you mentioned and the problem still persists. Not sure if it has something to do with protected or site-cross-origin, but it seems to me like access is being denied.
WP Strava ERROR Array ( [headers] => Requests_Utility_CaseInsensitiveDictionary Object ( [data:protected] => Array ( [date] => Mon, 27 Sep 2021 12:58:50 GMT [content-type] => application/json; charset=utf-8 [via] => 1.1 linkerd, 1.1 linkerd [vary] => Origin [server] => nginx/1.19.5 [status] => 403 Forbidden [x-request-id] => 51596377-2521-488a-9da7-a4e6d971c407 [cache-control] => no-cache [referrer-policy] => strict-origin-when-cross-origin [x-frame-options] => DENY [content-encoding] => gzip [x-xss-protection] => 1; mode=block [x-ratelimit-limit] => 100,1000 [x-ratelimit-usage] => 4,6 [x-download-options] => noopen [x-content-type-options] => nosniff [x-permitted-cross-domain-policies] => none ) ) [body] => {"message":"Forbidden","errors":[]} [response] => Array ( [code] => 403 [message] => Forbidden ) [cookies] => Array ( ) [filename] => [http_response] => WP_HTTP_Requests_Response Object ( [response:protected] => Requests_Response Object ( [body] => {"message":"Forbidden","errors":[]} [raw] => HTTP/1.1 403 Forbidden Date: Mon, 27 Sep 2021 12:58:50 GMT Content-Type: application/json; charset=utf-8 Transfer-Encoding: chunked Connection: close Via: 1.1 linkerd, 1.1 linkerd Vary: Origin Server: nginx/1.19.5 Status: 403 Forbidden X-Request-Id: 51596377-2521-488a-9da7-a4e6d971c407 Cache-Control: no-cache Referrer-Policy: strict-origin-when-cross-origin X-FRAME-OPTIONS: DENY Content-Encoding: gzip X-XSS-Protection: 1; mode=block X-RateLimit-Limit: 100,1000 X-RateLimit-Usage: 4,6 X-Download-Options: noopen X-Content-Type-Options: nosniff X-Permitted-Cross-Domain-Policies: none {"message":"Forbidden","errors":[]} [headers] => Requests_Response_Headers Object ( [data:protected] => Array ( [date] => Array ( [0] => Mon, 27 Sep 2021 12:58:50 GMT ) [content-type] => Array ( [0] => application/json; charset=utf-8 ) [via] => Array ( [0] => 1.1 linkerd, 1.1 linkerd ) [vary] => Array ( [0] => Origin ) [server] => Array ( [0] => nginx/1.19.5 ) [status] => Array ( [0] => 403 Forbidden ) [x-request-id] => Array ( [0] => 51596377-2521-488a-9da7-a4e6d971c407 ) [cache-control] => Array ( [0] => no-cache ) [referrer-policy] => Array ( [0] => strict-origin-when-cross-origin ) [x-frame-options] => Array ( [0] => DENY ) [content-encoding] => Array ( [0] => gzip ) [x-xss-protection] => Array ( [0] => 1; mode=block ) [x-ratelimit-limit] => Array ( [0] => 100,1000 ) [x-ratelimit-usage] => Array ( [0] => 4,6 ) [x-download-options] => Array ( [0] => noopen ) [x-content-type-options] => Array ( [0] => nosniff ) [x-permitted-cross-domain-policies] => Array ( [0] => none ) ) ) [status_code] => 403 [protocol_version] => 1.1 [success] => [redirects] => 0 [url] => https://www.strava.com/api/v3/segments/15519133/leaderboard?filter=overall [history] => Array ( ) [cookies] => Requests_Cookie_Jar Object ( [cookies:protected] => Array ( ) ) ) [filename:protected] => [data] => [headers] => [status] => ) )
Any updates?
Hey @nerdcube18 – I posted a debug version of the plugin on github here if you’re available to help: https://github.com/cmanon/wp-strava/issues/109
- The topic ‘Strava Leaderboard Integration not working?’ is closed to new replies.