I have an issue with using the parameter SLD in GetMap when using the WMS service via the geoserver's API. When passing a style into the parameters of a GET call to a WMS layer using the STYLES parameter I get the desired result. However, when I copy and paste the sld code into a file on GitHub and use the SLD parameter accordingly, everything is grey.
Any idea?
Geoserver version: 2.19.1
ServiceException>Error while getting SLD. See the log for details.
so either the server can't see the SLD or there is some other issue with the SLD