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
2 Replies
Is the api sending a access-control-allow-origin with the url of the frontend page https://dejavuplus.com and maybe also a access-control-allow-credentials response header?
your browser will not allow the request to happen due to CORS if those headers dont allow it from another (sub)domain
Or maybe the header just doesn't get proxied due to misconfiguration? Either way check if that's right
Please do not post your question in multiple channels/post it multiple times per the rules at #😃welcome-and-rules. It creates confusion for people trying to help you and doesn't get your issue or question solved any faster.