Title: cloud proxy 403
Last modified: February 17, 2024

---

# cloud proxy 403

 *  Resolved [donbowman](https://wordpress.org/support/users/donbowman/)
 * (@donbowman)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/cloud-proxy-403/)
 * So i am trying the cloud proxy feature. I have set this to ‘REST API’, and a 
   namespace/endpoint.
 * I am getting 403 returned from the upstream. Printing this out by modifying the
   php, i see the below returned from cloudfront.
 * I don’t see anywhere where one would enter any authz info, how may i try the 
   feature?
 *     ```wp-block-code
       $url = https://api.nelioabtesting.com/v1/site/645937a1-456c-47c6-960f-f34c0c8d5689/event?e=W3siaWQiOiJjNjc2ZDY3YS02MWE0LTRjYjktODhhYS0xMWQyMjY0ZTQ4OTciLCJraW5kIjoidmlzaXQiLCJleHBlcmltZW50IjozMTUxNzIzLCJ0eXBlIjoicmVndWxhciIsImFsdGVybmF0aXZlIjowLCJzZWdtZW50cyI6WzBdLCJ0aW1lem9uZSI6IiswMDowMCIsInRpbWVzdGFtcCI6IjIwMjQtMDItMTdUMTY6MzE6MTcuODI0WiJ9XQ=&a=645937a1-456c-47c6-960f-f34c0c8d5689
   
       [headers] => WpOrg\Requests\Utility\CaseInsensitiveDictionary Object
            (
                [data:protected] => Array
                    (
                        [content-type] => application/json
                        [content-length] => 82
                        [date] => Sat, 17 Feb 2024 16:31:20 GMT
                        [x-amzn-requestid] => fd914721-2a41-49bd-a482-ad0ec8b21e4c
                        [x-amzn-errortype] => AccessDeniedException
                        [x-amz-apigw-id] => TSfV7GtQDoEEh_Q=
                        [x-cache] => Error from cloudfront
                        [via] => 1.1 2080aae7ace369c71819923852e1b17e.cloudfront.net (CloudFront)
                        [x-amz-cf-pop] => YUL62-P2
                        [x-amz-cf-id] => ZH4BqNEJoNKwG5AlBPg0yAd5bxyqf1R0_BjlyjcSEP-HkGB4b3tzLQ==
                    )
            )
        [body] => {"Message":"User is not authorized to access this resource with an explicit deny"}
       ```
   
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fcloud-proxy-403%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [Antonio Villegas](https://wordpress.org/support/users/avillegasn/)
 * (@avillegasn)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/cloud-proxy-403/#post-17435539)
 * Hi [@donbowman](https://wordpress.org/support/users/donbowman/),
 * What is the value you set in the field ‘WordPress REST API ENDPOINT’ that comes
   under the selector where you set ‘REST API’?
 * I checked the endpoints in the site you mentioned and I didn’t find any additional
   endpoint name. Note that you need to set up an endpoint name for the proxy to
   work.
 *  Thread Starter [donbowman](https://wordpress.org/support/users/donbowman/)
 * (@donbowman)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/cloud-proxy-403/#post-17437956)
 * i did set up the endpoint, and then instrumented the ‘proxy’ function in the 
   php to see it was called (that’s where the output is from).
 * I have turned it off for now.
 * i used /ab/api i think. i verified the endpoint was shown in the wp-json output
   alongside the others (in the namespaces object). I verified it called the proxy
   function, and then sent that request to the upstream, which returned the 403.
 * the 403 was returned from api.nelioabtesting.com / cloudfront, as was the reason.
 * curl –cookie ver=staging [https://www.agilicus.com/wp-json/](https://www.agilicus.com/wp-json/)
   | jq | more
 * you can see the ‘ab’ namespace on my staging site (which is routed via blue/green
   testing on this cookie).
    -  This reply was modified 2 years, 3 months ago by [donbowman](https://wordpress.org/support/users/donbowman/).
 *  Plugin Author [Antonio Villegas](https://wordpress.org/support/users/avillegasn/)
 * (@avillegasn)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/cloud-proxy-403/#post-17439064)
 * It seems that you run out of quota. That’s why you received that message from
   our server.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘cloud proxy 403’ is closed to new replies.

 * ![](https://ps.w.org/nelio-ab-testing/assets/icon-256x256.png?rev=2514600)
 * [Nelio A/B Testing – AB Tests and Heatmaps for Better Conversion Optimization](https://wordpress.org/plugins/nelio-ab-testing/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/nelio-ab-testing/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/nelio-ab-testing/)
 * [Active Topics](https://wordpress.org/support/plugin/nelio-ab-testing/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/nelio-ab-testing/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/nelio-ab-testing/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Antonio Villegas](https://wordpress.org/support/users/avillegasn/)
 * Last activity: [2 years, 3 months ago](https://wordpress.org/support/topic/cloud-proxy-403/#post-17439064)
 * Status: resolved