Support » Plugin: WP-Strava » Massive error msg on widgets

  • Resolved GoldsteinMedia

    (@goldsteinmedia)



    I’m getting this on my site when I put the widget for my ride and map in the sidebar.

    Running Divi latest version

    ERROR 401 Unauthorized - Array ( [headers] => Requests_Utility_CaseInsensitiveDictionary Object ( [data:protected] => Array ( [cache-control] => no-cache, private [content-type] => application/json; charset=UTF-8 [date] => Thu, 22 Jun 2017 13:53:06 GMT [set-cookie] => _strava3_session=BAh7B0kiD3Nlc3Npb25faWQGOgZFVEkiJTUzYzdkYjUxNzMzYjZiMWMwNGNkODM1YjU2OTU3MjczBjsAVEkiEGNsZWFyX2NsaWNrBjsARlQ%3D--3e1237030241f1c270527cd7ae68902794113709; domain=strava.com; path=/; HttpOnly [status] => 401 Unauthorized [x-frame-options] => DENY [x-request-id] => 1b920d6c5ebca2cca63223ed400705ba [x-ua-compatible] => IE=Edge,chrome=1 [content-length] => 107 ) ) [body] => {"message":"Authorization Error","errors":[{"resource":"Athlete","field":"access_token","code":"invalid"}]} [response] => Array ( [code] => 401 [message] => Unauthorized ) [cookies] => Array ( [0] => WP_Http_Cookie Object ( [name] => _strava3_session [value] => BAh7B0kiD3Nlc3Npb25faWQGOgZFVEkiJTUzYzdkYjUxNzMzYjZiMWMwNGNkODM1YjU2OTU3MjczBjsAVEkiEGNsZWFyX2NsaWNrBjsARlQ=--3e1237030241f1c270527cd7ae68902794113709 [expires] => [path] => / [domain] => strava.com ) ) [filename] => [http_response] => WP_HTTP_Requests_Response Object ( [response:protected] => Requests_Response Object ( [body] => {"message":"Authorization Error","errors":[{"resource":"Athlete","field":"access_token","code":"invalid"}]} [raw] => HTTP/1.1 401 Unauthorized Cache-Control: no-cache, private Content-Type: application/json; charset=UTF-8 Date: Thu, 22 Jun 2017 13:53:06 GMT Set-Cookie: _strava3_session=BAh7B0kiD3Nlc3Npb25faWQGOgZFVEkiJTUzYzdkYjUxNzMzYjZiMWMwNGNkODM1YjU2OTU3MjczBjsAVEkiEGNsZWFyX2NsaWNrBjsARlQ%3D--3e1237030241f1c270527cd7ae68902794113709; domain=strava.com; path=/; HttpOnly Status: 401 Unauthorized X-FRAME-OPTIONS: DENY X-Request-Id: 1b920d6c5ebca2cca63223ed400705ba X-UA-Compatible: IE=Edge,chrome=1 Content-Length: 107 Connection: Close {"message":"Authorization Error","errors":[{"resource":"Athlete","field":"access_token","code":"invalid"}]} [headers] => Requests_Response_Headers Object ( [data:protected] => Array ( [cache-control] => Array ( [0] => no-cache, private ) [content-type] => Array ( [0] => application/json; charset=UTF-8 ) [date] => Array ( [0] => Thu, 22 Jun 2017 13:53:06 GMT ) [set-cookie] => Array ( [0] => _strava3_session=BAh7B0kiD3Nlc3Npb25faWQGOgZFVEkiJTUzYzdkYjUxNzMzYjZiMWMwNGNkODM1YjU2OTU3MjczBjsAVEkiEGNsZWFyX2NsaWNrBjsARlQ%3D--3e1237030241f1c270527cd7ae68902794113709; domain=strava.com; path=/; HttpOnly ) [status] => Array ( [0] => 401 Unauthorized ) [x-frame-options] => Array ( [0] => DENY ) [x-request-id] => Array ( [0] => 1b920d6c5ebca2cca63223ed400705ba ) [x-ua-compatible] => Array ( [0] => IE=Edge,chrome=1 ) [content-length] => Array ( [0] => 107 ) ) ) [status_code] => 401 [protocol_version] => 1.1 [success] => [redirects] => 0 [url] => https://www.strava.com/api/v3/athlete/activities?per_page=5 [history] => Array ( ) [cookies] => Requests_Cookie_Jar Object ( [cookies:protected] => Array ( [_strava3_session] => Requests_Cookie Object ( [name] => _strava3_session [value] => BAh7B0kiD3Nlc3Npb25faWQGOgZFVEkiJTUzYzdkYjUxNzMzYjZiMWMwNGNkODM1YjU2OTU3MjczBjsAVEkiEGNsZWFyX2NsaWNrBjsARlQ%3D--3e1237030241f1c270527cd7ae68902794113709 [attributes] => Requests_Utility_CaseInsensitiveDictionary Object ( [data:protected] => Array ( [domain] => strava.com [path] => / [httponly] => 1 ) ) [flags] => Array ( [creation] => 1498139586 [last-access] => 1498139586 [persistent] => [host-only] => ) [reference_time] => 1498139586 ) ) ) ) [filename:protected] => [data] => [headers] => [status] => ) )

    • This topic was modified 1 year, 1 month ago by  Steve Stern.
    • This topic was modified 1 year, 1 month ago by  Steve Stern. Reason: put code in backticks
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Massive error msg on widgets’ is closed to new replies.