CMS Development

iam-sylvi
Member

problem "has been blocked by CORS policy"

hello, friends I have a problem when I try to add the HTML code of the form in my web page send me the error that can see in the image any idea of what the reason is?Captura.PNG

0 Upvotes
1 Reply 1
cbarley
HubSpot Alumni
HubSpot Alumni

problem "has been blocked by CORS policy"

Hi @iam-sylvi  this means your domain is blocking these requests since it violates the CORS rules set by the browser. It's blocking them because your domain you're requesting from differs from the one you're requesting to. This does a much better job of explaining this than I can: https://stackoverflow.com/questions/20035101/why-does-my-javascript-get-a-no-access-control-allow-or...

0 Upvotes