CORS error - No 'Access-Control-Allow-Origin' header is present on the requested resource

What endpoint are you getting a CORS error from? Are you sure the request URL you are hitting is correct?

I ask because you can encounter a CORS error if the endpoint you are hitting is invalid/malformed