Histórico de mensagens sobre Could not authenticate

EXIBINDO CONVERSAS RECENTES:

Texto: Could not authenticate
# pix
Avatar discord do usuario gustavojr5502

gustavojr5502

Ola boa tarde ! Estou com problema na chamada do PixCreateImmediateCharge o erro do retorno é esse: "Could not authenticate. Please make sure you are using correct credentials and if you are using then in the correct environment.com"

# bolix
Avatar discord do usuario acmedeiros

acmedeiros

Bom dia, estou com problema na autenticação:
"Could not authenticate. Please make sure you are using correct credentials and if you are using then in the correct environment

# dúvidas
Avatar discord do usuario acmedeiros

acmedeiros

Ver Respostas

Bom dia, estou com problema na autenticação:
"Could not authenticate. Please make sure you are using correct credentials and if you are using then in the correct environment"

# dúvidas
Avatar discord do usuario tiagoalmeida_90510

tiagoalmeida_90510

Bom dia pessoal, estou tentando utilizar a sdk python para fazer authenticação e gerar uma cobrança pix. mas estou recebendo o seguinte erro: { 'Status': 401, 'Message': 'Could not authenticate. Please make sure you are using correct credentials and if you are using then in the correct environment.' }
estou passando um certificado .pem como a documentação descreve.
tmb verifiquei se estou passando as credenciais certas.
alguem já teve esse erro que me possa da uma luz ?

# dúvidas
Avatar discord do usuario pogere

pogere

Estou testando o sdk python no ambiente wsl, não está autorizando.
No Postman Windows tudo certo.

O código é o seguinte:

from efipay import EfiPay

def cobrancaRenovacaoPlano(user, valor, descricao):
# COBRAR RENOVACAO user.profile.plano.id user.profile.periodo
credentials = {
'client_id': 'Client_Id_XXXXXXXXXXXXXXXXXXXXXXXX',
'client_secret': 'Client_Secret_XXXXXXXXXXXXXXXXXXX',
'sandbox': True,
'certificate': 'certificados/homologacao-XXXXXXXXXXX.pem'
}
efi = EfiPay(credentials)

Testei os.path.exists(credentials['certificate']) e retorna True.

Ao executar:
response = efi.pix_create_immediate_charge(body=body)

Retorna:
"{ 'Status': 401, 'Message': 'Could not authenticate. Please make sure you are using correct credentials and if you are using then in the correct environment.' } "

Testei com o certificado P12, ambiente de Produção e o resultado é sempre o mesmo.

Como posso obter mais informações sobre o que está acontecendo?

# bolix
Avatar discord do usuario felipe5372

felipe5372

Bom dia pessoal, ao mudar status do boleto o notification está apresentando erro de ambiente isso em produção: "{\"message\":\"An error has occurred.\",\"exceptionMessage\":\"Could not authenticate. Please make sure you are using correct credentials and if you are using then in the correct environment.\",\"exceptionType\":\"Gerencianet.SDK.GnException\",\"stackTrace\":\" at Ger"

# bolix
Avatar discord do usuario felipe5372

felipe5372

fui gerar um boleto em produção deu mensagem que minhas credenciais estão invalidas - "Could not authenticate. Please make sure you are using correct credentials and if you are using then in the correct environment." obs: estou colocando o chave clienId e secrect client de prod correto ! alguém sabe oque pode ser ?

# pix
Avatar discord do usuario sergiotoledo

sergiotoledo

Ver Respostas

fala pessoal, boa tarde, no linux estou com o erro:

gerencianet.exceptions.UnauthorizedError: 'Status:401 Could not authenticate. \nPlease make sure you are using correct credentials and if you are using then in the correct environment.'

mas no windows está funcionando 100%

# bolix
Avatar discord do usuario fernandomm.

fernandomm.

Estou com um erro ao tentar gerar boleto hoje, o seguinte erro "Could not authenticate. Please make sure you are using correct credentials and if you are using then in the correct environment." Antes estava funcionando tudo certo, só hoje deu esse erro.

# pix
Avatar discord do usuario carvalhocarneiro

carvalhocarneiro

Ver Respostas

Como falei antes, configurei tudo como modo de produção, mas no método de autenticação ele retorna Status:403 Could not authenticate. \nPlease make sure you are using correct credentials and if you are using then in the correct environment.

# pix
Avatar discord do usuario carvalhocarneiro

carvalhocarneiro

Ver Respostas

Bom dia, fiz a configuração do meu ambiente de desenvolvimento inicialmente utilizando as dados de homologação, mas o qrCode gerado sempre vem com erro, tentei fazer utilizando os dados de produção, baixando o certificado, gerando o pem, utilizando as chaves de cliente do ambiente de homologação, mas sempre retorna o erro:

Status:403 Could not authenticate. \nPlease make sure you are using correct credentials and if you are using then in the correct environment.
Estou utilizando essa lib -> https://github.com/gerencianet/gn-api-sdk-python

# cartões
Avatar discord do usuario guilhermedeoliveirarosa

guilhermedeoliveirarosa

Ver Respostas

Boa noite, não estou conseguindo utilizar a api da gerencianet, ela está sempre retornando uma resposta 401 Could not authenticate, podem me ajudar?

# bolix
Avatar discord do usuario marcosfilho8113

marcosfilho8113

Ver Respostas

"Could not authenticate. Please make sure you are using correct credentials and if you are using then in the correct environment."

# bolix
Avatar discord do usuario leandromoreira2355

leandromoreira2355

Ver Respostas

Boa tarde, alguém sabe o motivo desse erro?
Could not authenticate. Please make sure you are using correct credentials and if you are using then in the correct environment.