Hi, I am having some trouble getting vector basemaps to render using an API key other than the default key that comes with my Developer account. I created a CodePen example: https://codepen.io/dandormont-the-decoder/pen/vYmebqz?editors=100
I added "https://codepen.io" as a referer on this particular key for demo purposes, but on my own site I'm seeing a similar issue with a key that I created for that site.
As you can see, the map loads, but some of the formatting is missing, for example the white rectangle around state route 1, and there is an error in the console from https://cdn.arcgis.com/sharing/rest/content/items/63c47b7177f946b49902c24129b87252/resources/sprites... with a "498 invalid token" error.
Do I need to do something special to allow vector basemaps to load with an API key that uses referers?
Thanks,
Dan
Solved! Go to Solution.
Thank you for the report. It seems like there may be an issue with how the sprites REST endpoint handles the call when an API key with a referer restriction is used. We are investigating.
This seems to have been fixed now, thanks
Thank you for the report. It seems like there may be an issue with how the sprites REST endpoint handles the call when an API key with a referer restriction is used. We are investigating.
This seems to have been fixed now, thanks