CORS errors are false positives for a large amount of causes. For example, if loading a website causes an 502 or other error, that might not set the required CORS header, thus making it illegal for javascript to access the response in a number of ways.