We created a map that had been working fine on a website. However, I had to delete a user on our end and now it asks for a login like this on the website. It works fine if you close out the pop-up but hoping someone has encountered this issue before.
Solved! Go to Solution.
In the dev tools I found this response:
It's coming from this URL:
Check the sharing on that layer, it doesn't appear to be public.
Typically I've seen this happen when the web map has a dependency that isn't publicly available. I'm not sure why that would've changed in your case, I can only speculate that deleting the user changed the sharing level of a resource somehow.
I've hunted this down in the past using browser dev tools, specifically network analysis tools. Your browser's network tools should show which resource failed to load ... could you provide a URL to your page?
In the dev tools I found this response:
It's coming from this URL:
Check the sharing on that layer, it doesn't appear to be public.