Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
HarshPrajapati
Contributor II
Contributor II

CORS error for import-map.json

I am getting this kind of error while importing file

:5500/:1 Access to fetch at 'http://localhost:4848/resources/qmfe/import-map.json' from origin 'http://127.0.0.1:5500' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.

 

I am using pure JS and HTML to work with , is there any suggestions for me?

Labels (1)
10 Replies
joshsiddle8
Contributor III
Contributor III

I found the solution by using my ID instead of a local URL, which resulted in everything working perfectly.