I’m hosting a backend on Cloudflare Workers and a frontend on Vercel. When I try to fetch data from my Cloudflare Workers backend via Vercel, the response I get is “Just a moment…”, which seems to be a Cloudflare security challenge.
However, if I fetch the same API directly from Postman or the browser, it works fine.
I’ve already tried the following:
Set Cloudflare Security Level to “Essentially Off”.**
Checked Firewall Rules to ensure there are no JS challenges.**
Disabled Bot Fight Mode in Cloudflare.**
Attempted to whitelist Vercel IPs, but Vercel uses dynamic IPs.**
Despite all these steps, Vercel still gets blocked. Is there a recommended way to make Vercel’s requests pass through Cloudflare without triggering a challenge?
I am not sure if Cloudflare allow to bypass such request , in ideal world you should be able to create a WAF bypass rule specifically for requests from Vercel :
Go to Cloudflare Dashboard > Security > WAF > Custom Rules