My map is not a named map. Map privacy is set to only people with the link. Why I I getting this error when trying to do queries? Has anyone else run into this?
Named Maps are about privacy of datasets, not the map itself. If any of the datasets you are using on your map is set to "private" then your map will be exposed as named. So, in order to be able to use normal
setCSS functions all your datasets need to be public or with link on the privacy settings.