Strava test

Met deze website wil ik zo af en toe leuke dingen delen, sporten kanoën dus maar ook wandelen en andere activiteiten!

Nu even aan het klooien met Strava..

 

WP Strava ERROR Array
(
    [headers] => Requests_Utility_CaseInsensitiveDictionary Object
        (
            [data:protected] => Array
                (
                    [content-type] => application/json; charset=utf-8
                    [date] => Mon, 06 Feb 2023 22:51:00 GMT
                    [via] => 1.1 linkerd, 1.1 linkerd, 1.1 9fce949f3749407c8e6a75087e168b46.cloudfront.net (CloudFront)
                    [vary] => Origin
                    [server] => nginx/1.21.3
                    [status] => 404 Not Found
                    [x-request-id] => c14be657-63cf-4d03-b3ed-5231429f9937
                    [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] => 1,12
                    [x-download-options] => noopen
                    [x-content-type-options] => nosniff
                    [x-permitted-cross-domain-policies] => none
                    [x-cache] => Error from cloudfront
                    [x-amz-cf-pop] => AMS50-C1
                    [x-amz-cf-id] => QqsA70q4KAWmREJcVsluaj0qLvUce5GA6guBEO0ibVg_Fu_2AnPjSg==
                )

        )

    [body] => {"message":"Record Not Found","errors":[{"resource":"Activity","field":"id","code":"invalid"}]}
    [response] => Array
        (
            [code] => 404
            [message] => Not Found
        )

    [cookies] => Array
        (
        )

    [filename] => 
    [http_response] => WP_HTTP_Requests_Response Object
        (
            [response:protected] => Requests_Response Object
                (
                    [body] => {"message":"Record Not Found","errors":[{"resource":"Activity","field":"id","code":"invalid"}]}
                    [raw] => HTTP/1.1 404 Not Found
Content-Type: application/json; charset=utf-8
Transfer-Encoding: chunked
Connection: close
Date: Mon, 06 Feb 2023 22:51:00 GMT
Via: 1.1 linkerd, 1.1 linkerd, 1.1 9fce949f3749407c8e6a75087e168b46.cloudfront.net (CloudFront)
Vary: Origin
Server: nginx/1.21.3
Status: 404 Not Found
X-Request-Id: c14be657-63cf-4d03-b3ed-5231429f9937
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: 1,12
X-Download-Options: noopen
X-Content-Type-Options: nosniff
X-Permitted-Cross-Domain-Policies: none
X-Cache: Error from cloudfront
X-Amz-Cf-Pop: AMS50-C1
X-Amz-Cf-Id: QqsA70q4KAWmREJcVsluaj0qLvUce5GA6guBEO0ibVg_Fu_2AnPjSg==

{"message":"Record Not Found","errors":[{"resource":"Activity","field":"id","code":"invalid"}]}
                    [headers] => Requests_Response_Headers Object
                        (
                            [data:protected] => Array
                                (
                                    [content-type] => Array
                                        (
                                            [0] => application/json; charset=utf-8
                                        )

                                    [date] => Array
                                        (
                                            [0] => Mon, 06 Feb 2023 22:51:00 GMT
                                        )

                                    [via] => Array
                                        (
                                            [0] => 1.1 linkerd, 1.1 linkerd, 1.1 9fce949f3749407c8e6a75087e168b46.cloudfront.net (CloudFront)
                                        )

                                    [vary] => Array
                                        (
                                            [0] => Origin
                                        )

                                    [server] => Array
                                        (
                                            [0] => nginx/1.21.3
                                        )

                                    [status] => Array
                                        (
                                            [0] => 404 Not Found
                                        )

                                    [x-request-id] => Array
                                        (
                                            [0] => c14be657-63cf-4d03-b3ed-5231429f9937
                                        )

                                    [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] => 1,12
                                        )

                                    [x-download-options] => Array
                                        (
                                            [0] => noopen
                                        )

                                    [x-content-type-options] => Array
                                        (
                                            [0] => nosniff
                                        )

                                    [x-permitted-cross-domain-policies] => Array
                                        (
                                            [0] => none
                                        )

                                    [x-cache] => Array
                                        (
                                            [0] => Error from cloudfront
                                        )

                                    [x-amz-cf-pop] => Array
                                        (
                                            [0] => AMS50-C1
                                        )

                                    [x-amz-cf-id] => Array
                                        (
                                            [0] => QqsA70q4KAWmREJcVsluaj0qLvUce5GA6guBEO0ibVg_Fu_2AnPjSg==
                                        )

                                )

                        )

                    [status_code] => 404
                    [protocol_version] => 1.1
                    [success] => 
                    [redirects] => 0
                    [url] => https://www.strava.com/api/v3/activities/zWwKTgrIAwb
                    [history] => Array
                        (
                        )

                    [cookies] => Requests_Cookie_Jar Object
                        (
                            [cookies:protected] => Array
                                (
                                )

                        )

                )

            [filename:protected] => 
            [data] => 
            [headers] => 
            [status] => 
        )

)