WP Strava ERROR 401 Unauthorized
-
WP Strava ERROR 401 Unauthorized – See full error by adding
define( ‘WPSTRAVA_DEBUG’, true );After enabling WPSTRAVA_DEBUG I have this additional information:
WP Strava ERROR Array ( [headers] => Requests_Utility_CaseInsensitiveDictionary Object ( [data:protected] => Array ( [date] => Wed, 13 May 2020 11:32:31 GMT [content-type] => application/json; charset=utf-8 [cache-control] => no-cache [via] => 1.1 linkerd [x-download-options] => noopen [status] => 401 Unauthorized [x-request-id] => ************************** [referrer-policy] => strict-origin-when-cross-origin [x-frame-options] => DENY [x-permitted-cross-domain-policies] => none [x-content-type-options] => nosniff [vary] => Origin [x-xss-protection] => 1; mode=block [content-encoding] => gzip ) ) [body] => {"message":"Authorization Error","errors":[{"resource":"Application","field":"","code":"invalid"}]} [response] => Array ( [code] => 401 [message] => Unauthorized ) [cookies] => Array ( ) [filename] => [http_response] => WP_HTTP_Requests_Response Object ( [response:protected] => Requests_Response Object ( [body] => {"message":"Authorization Error","errors":[{"resource":"Application","field":"","code":"invalid"}]} [raw] => HTTP/1.1 401 Unauthorized Date: Wed, 13 May 2020 11:32:31 GMT Content-Type: application/json; charset=utf-8 Transfer-Encoding: chunked Connection: close Cache-Control: no-cache Via: 1.1 linkerd X-Download-Options: noopen Status: 401 Unauthorized X-Request-Id: *********************** Referrer-Policy: strict-origin-when-cross-origin X-FRAME-OPTIONS: DENY X-Permitted-Cross-Domain-Policies: none X-Content-Type-Options: nosniff Vary: Origin X-XSS-Protection: 1; mode=block content-encoding: gzip {"message":"Authorization Error","errors":[{"resource":"Application","field":"","code":"invalid"}]} [headers] => Requests_Response_Headers Object ( [data:protected] => Array ( [date] => Array ( [0] => Wed, 13 May 2020 11:32:31 GMT ) [content-type] => Array ( [0] => application/json; charset=utf-8 ) [cache-control] => Array ( [0] => no-cache ) [via] => Array ( [0] => 1.1 linkerd ) [x-download-options] => Array ( [0] => noopen ) [status] => Array ( [0] => 401 Unauthorized ) [x-request-id] => Array ( [0] => 1bc24f39-7fcf-47e7-a98e-a23279041391 ) [referrer-policy] => Array ( [0] => strict-origin-when-cross-origin ) [x-frame-options] => Array ( [0] => DENY ) [x-permitted-cross-domain-policies] => Array ( [0] => none ) [x-content-type-options] => Array ( [0] => nosniff ) [vary] => Array ( [0] => Origin ) [x-xss-protection] => Array ( [0] => 1; mode=block ) [content-encoding] => Array ( [0] => gzip ) ) ) [status_code] => 401 [protocol_version] => 1.1 [success] => [redirects] => 0 [url] => https://www.strava.com/api/v3/activities/1343834900 [history] => Array ( ) [cookies] => Requests_Cookie_Jar Object ( [cookies:protected] => Array ( ) ) ) [filename:protected] => [data] => [headers] => [status] => ) )
I have tried to reauthorize it a several times and it always says:
New Strava token retrieved. Successfully authenticated.
Also deleting and reinstalling the Plugin did not help.
The page I need help with: [log in to see the link]
- The topic ‘WP Strava ERROR 401 Unauthorized’ is closed to new replies.