Boa tarde.
Estou fazendo a requisição da seguinte forma:
RestClient client = new RestClient("https://sefin.producaorestrita.nfse.gov.br/SefinNacional/nfse");
client = custombinding(eletronico, client);
var dadosGzip = dadosxml.GzipCompressXml();
string json = "{ \"dpsXmlGZipB641\": " + "\"" + dadosGzip + "\" }";
var request = new RestRequest(Method.POST);
request.AddParameter("application/json", json, ParameterType.RequestBody);
var response = client.Execute(request);
e o meu xml contem somente a tag <DPS..., mas ainda continuo com o erro RNG9999 .