CORS policy

I m not able to send ajax post request. When I run the script it shows me an error

“Access to XMLHttpRequest at ‘https://account.uipath.com/oauth/token’ from origin ‘null’ has been blocked by CORS policy: Response to preflight request doesn’t pass access control check: No ‘Access-Control-Allow-Origin’ header is present on the requested resource.”

Can someone help me on this situation?

Thanks

@Ricardo_Franco hey buddy

If you use the Cross domain access ajax it will block by chrome and Mozilla.
if you use the chrome use the chrome extension

it will work.
before load url enable the cors unblock in chrome extention.
its looks like this
image

C color must yellow not in black.

if its woks mark as solution.

1 Like

@Ricardo_Franco its works ?

1 Like

yes,

Thank you

1 Like

@Ricardo_Franco welcome buddy

1 Like

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