Error in loading a WMS layer in AGL maps

285
2
06-21-2022 02:29 PM
BaylinkNetworks
New Contributor

I received error for loading a WMS layer in my map

It was working before but now we received the error.

I tried clearing cache and everything but still not loading 

this is the URL of my WMS

https://geoappext.nrcan.gc.ca/arcgis/services/GSCA/multibeam_west_e/MapServer/WMSServer?request=GetC...

Tags (2)
0 Kudos
2 Replies
BaylinkNetworks
New Contributor

@RussRoberts Can you help me with this one?

0 Kudos
RussRoberts
Esri Notable Contributor

Look like a server issue 

Access to fetch at 'https://geoappext.nrcan.gc.ca/arcgis/services/GSCA/multibeam_west_e/MapServer/WMSServer?f=json&reque...' from origin 'https://jsapi.maps.arcgis.com' has been blocked by CORS policy: The 'Access-Control-Allow-Origin' header contains multiple values 'https://jsapi.maps.arcgis.com, *', but only one is allowed. Have the server send the header with a valid value, or, if an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.

0 Kudos