Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more

POST request gets challenged by Cloudflare.

Vote:
 

The POST request of the site gets challenged by cloudflare and returns an unathorized response. 

https://challenges.cloudflare.com/cdn-cgi/challenge-platform/

The payload contains two base64 images and text content. When the content does not have links, it seems to get through, but when it has multiple lines and a link, then it gets blocked. 

Anyone else faced a similar issue ? 

#318837
Mar 12, 2024 11:21
Vote:
 

Cloudflare legitimately challenges suspicious activity on a site and bases this on a number of factors:

https://developers.cloudflare.com/waf/reference/cloudflare-challenges/

Would be worth capturing the request and speaking to Optimizely support to see if they can identify the cause.

I have seen cloudflare timeout issues before with a large payload, nothing that has returned unauthorized though.

#318900
Mar 13, 2024 9:08
Vote:
 

It should be possible to ask Optimizely to let certain endpoints through.

A common thingie for commerce sites that use Klarna for payments is to open up the the callback url that is made to the site, since the post [from Klarna] contains script/markup code that Cloudflare otherwise find suspicious.

We've also had similar experiences with inriver, where sometimes product data posted to Optimizely would be challenged by Cloudflare.  

#318907
Edited, Mar 13, 2024 19:51
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.