cancel
Showing results for 
Search instead for 
Did you mean: 

Sisense.JS CORS policy error

Abenezer
7 - Data Storage
7 - Data Storage

I'm trying to use Sisense.JS in my local application. After following these https://documentation.sisense.com/docs/cross-origin-resource-sharing instructions and enabling CORS. I still get the following error. 

Access to XMLHttpRequest at 'https://dashboard.artba.org/api/globals' from origin 'http://127.0.0.1:5500' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: The value of the 'Access-Control-Allow-Origin' header in the response must not be the wildcard '*' when the request's credentials mode is 'include'. The withCredentials attribute controls the credentials mode of requests initiated by the XMLHttpRequest.

When I send the GET request on ​/settings​/system, I get this response which shows I have enabled CORS and added my local domain and port.

 

},
  "webServer": {
    "enableSSl": true,
    "cors": {
      "enabled": true,
      "allowedOrigins": [
        "http://127.0.0.1:5500",
        "https://www.artba.org/"
      ]
    }

 

How can I fix this error?
Thank you!!

0 REPLIES 0