I am running automation script but failing with the following error. Any idea on how to fix this issue:
has been blocked by CORS policy: No ‘Access-Control-Allow-Origin’ header is present
1 Like
Hi Georges,
Welcome to our forum!
Could you also attach a screenshot or an error log to your topic so other forum members can support you better?
Also, I found some other topics which mentioned about “CORS Policy” on the forum which you can check out below
Hi community,
I want to automate a request on our website using Katalon Studio. So I go to the website and click one single button. After clicking this, the browser is loading and loading but doesn’t show any result.
Instead the following error message is displayed when opening the browser console (Chrome):
Access to XMLHTttpRequest at … (redirected from …) from origin … has been blocked by CORS policy:
Response to preflight request doesn’t pass access control check: No ‘Access-Control-Allow…
Is there a way to access cross-origin iframes? got the error
[error] Blocked a frame with origin “[mydomain.com]” from accessing a cross-origin frame.
We hope this helps.
Thanks,
Albert