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
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
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"
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 ?
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?
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"
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 ?
fala pessoal, boa tarde, no linux estou com o erro:
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.
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.
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:
Boa noite, não estou conseguindo utilizar a api da gerencianet, ela está sempre retornando uma resposta 401 Could not authenticate, podem me ajudar?
"Could not authenticate. Please make sure you are using correct credentials and if you are using then in the correct environment."
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.