Boa tarde pessoal,
Estou fazendo a homologação de um cliente da Banrisul,
no entanto ao tentar autenticar obtenho os erros abaixo no log ( troquei as credenciais para não deixa-las publicas )
25/09/24 11:29:35:118 - Req.Body:
grant_type=client_credentials&client_id=219ed8fe84df794282a060fe413d1d5e12&client_secret=1d3fcba5ab9a4be690050d1a3607e5db&scope=cob.write%20cob.read%20pix.write%20pix.read
25/09/24 11:29:35:118 -
Http.Sock.SSL.CertificateFile:
Http.Sock.SSL.PrivateKeyFile:
Http.Sock.SSL.Certificate: C:\Users\Conceito\Downloads\PFX_Certificado_H.pfx
Http.Sock.SSL.PrivateKey:
25/09/24 11:29:35:407 - ResultCode: 500 -
25/09/24 11:29:35:407 - Sock.LastError: 10091
25/09/24 11:29:35:407 - Resp.Headers:
POST /auth/oauth/v2/token HTTP/1.0
Host: mtls-api-h.banrisul.com.br
Keep-Alive: 300
Connection: keep-alive
User-Agent: Mozilla/4.0 (compatible; Synapse)
Content-Type: application/x-www-form-urlencoded
Content-Length: 171
Accept-Encoding: gzip, compress, deflate
25/09/24 11:29:35:407 - Resp.Body:
25/09/24 11:29:35:407 - EACBrPixHttpException: Erro HTTP: 500, Metodo: POST, URL: https://mtls-api-h.banrisul.com.br/auth/oauth/v2/token
25/09/24 12:26:24:771 - Atribuindo PSP: TACBrPSPBanrisul, Nome: