CORS blocked requests

What is the name of the domain?

dejavuplus.com

What is the error number?

CORS

What is the error message?

BLOCKED BY CORS

What is the issue you’re encountering

When enable Cloudflare proxy on my Frontend domain it works fine, but when enable it on my server endpoints I get blocked by CORS error.

What steps have you taken to resolve the issue?

I added all the configurations and headers needed in the server.
I tried to add the same request headers in the DNS configurations. Didn’t work
I tried to bypass the OPTIONS requests in DNS configurations. Didn’t work

What feature, service or problem is this related to?

DNS records

Screenshot of the error

By default, Cloudflare should not block the CORS headers coming from your origin host/server.

Are you sending POST or? Did you also enabled and sent HEAD alongside?

Any blocked requests in the Security tab → Events (if you get 403, maybe some of the Security settings such as Managed Rules were triggered)? :thinking:

Helpful article:

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.