When you are accessing a SAS Visual Analytics report using the SAS Visual Analytics SDK, you might see the following CORS error in the browser console logging for the /visualAnalyticsAdministration/commons/settings URI:
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://myvaserver.sas.com//visualAnalyticsAdministration/commons/settings. (Reason: CORS header ‘Access-Control-Allow-Origin’ missing).
The error message might vary between browsers but the URI that it is pointing to, /visualAnalyticsAdministration/commons/settings, stays the same.
If you are connecting to a SAS® Viya® 3.4 or SAS® Viya® 3.5 environment, this message can be ignored. It is intended for only SAS® Viya® 2020.1 and later and is used to help determine the SAS Viya version.
If you are connecting to a SAS Viya 2020.1 and later environment and see this message, or if you see any other CORS exceptions for any SAS Viya version, refer to how to prepare the SAS Viya environment in the SAS Visual Analytics SDK guide.