Hi Team,
I am building a Routing application and getting into an error message.
Failed to initialize map: Map failed to initialize within 20 seconds. Likely causes: invalid/expired ArcGIS API key, blocked ArcGIS network requests, or a basemap that could not load. Verify the API key in .env and confirm access to https://js.arcgis.com and ArcGIS basemap services. Diagnostics: view.ready=false, view.readyState=empty-map, view.updating=true, map.loadStatus=unknown, basemap.loadStatus=unknown
I understand that it is something to do with referrers configuration and added http://localhost:5173 but still getting an error. I have regenerated the key but no success.
Please refer the screenshot and let me know what I am I missing.