WP Not saving strava settings
-
Hi,
I’m able to connect to the Strava API.
New Strava token retrieved. Successfully authenticated.But the site does not seem to save the settings correct.
WP Strava ERROR Array
(
[headers] => Requests_Utility_CaseInsensitiveDictionary Object
(
[data:protected] => Array
(
[date] => Wed, 28 Apr 2021 18:34:25 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] => 339b4364-2c79-4299-92b5-bd9b05dd275d
[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, 28 Apr 2021 18:34:25 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: 339b4364-2c79-4299-92b5-bd9b05dd275d
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, 28 Apr 2021 18:34:25 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] => 339b4364-2c79-4299-92b5-bd9b05dd275d
)[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/5197996184?&timeout=30
[history] => Array
(
)[cookies] => Requests_Cookie_Jar Object
(
[cookies:protected] => Array
(
))
)
[filename:protected] =>
[data] =>
[headers] =>
[status] =>
))`
Any id on this?
WP host = bluehost
WP version 5.6.3
php version 7.4
- The topic ‘WP Not saving strava settings’ is closed to new replies.