evolution-api icon indicating copy to clipboard operation
evolution-api copied to clipboard

QR Code not generated “Scan the QR code with your WhatsApp Web” message only / QR Code não é gerado apenas exibe Scan the QR code with your WhatsApp Web

Open felipepiton opened this issue 1 year ago • 9 comments

Welcome!

  • [x] Yes, I have searched for similar issues on GitHub and found none.

What did you do?

I started the Evolution API container normally, expecting to generate the WhatsApp QR code for pairing. I tested multiple versions and Docker images, following the documentation and community suggestions, but the QR code never appears.

Iniciei o container da Evolution API normalmente, esperando que ele gerasse o QR Code do WhatsApp para pareamento. Testei várias versões e imagens Docker, seguindo a documentação e recomendações da comunidade, mas o QR Code nunca aparece.

What did you expect?

I expected the Evolution API to generate and display the QR code for WhatsApp Web pairing either in the console logs or via the /instance/qr endpoint so I could link my WhatsApp account successfully.

Eu esperava que a Evolution API gerasse e exibisse o QR Code para parear com o WhatsApp Web seja nos logs do console ou através do endpoint /instance/qr para poder vincular minha conta do WhatsApp com sucesso.

What did you observe instead of what you expected?

The log only shows the line:

Scan the QR code with your WhatsApp Web

However, no QR code is actually generated or displayed (neither in logs nor via API endpoint). Restarting the container or clearing sessions does not solve the issue.

O log exibe apenas a mensagem:

Scan the QR code with your WhatsApp Web

Porém, o QR Code não é realmente gerado nem exibido (nem nos logs, nem via endpoint da API). Reiniciar o container ou limpar as sessões não resolve o problema.

Screenshots/Videos

No response

Which version of the API are you using?

Tested with / Testado com:

  • v2.3.1
  • v2.3.2
  • v2.3.3
  • v2.3.4

What is your environment?

Linux

Other environment specifications

Environment / Ambiente: VPS (Ubuntu 25.04)

Docker images tested / Imagens Docker testadas:

  • atendai/evolution-api:latest
  • evoapicloud/evolution-api:latest

Configuration / Configuração: CONFIG_SESSION_PHONE_VERSION=2.3000.1028178858

If applicable, paste the log output

evolution-api Scan the QR code with your WhatsApp Web

Additional Notes

  • Tried different API versions and images.

  • Tried restarting the container and clearing sessions.

  • Same issue across all tests QR code never appears.

  • Any help or insight would be greatly appreciated.

  • Testei diferentes versões e imagens da API.

  • Reiniciei o container e limpei as sessões.

  • Mesmo resultado em todos os casos o QR Code nunca aparece.

  • Qualquer ajuda ou orientação será muito bem-vinda.

felipepiton avatar Oct 09 '25 17:10 felipepiton

Se não é retornado o qr code quando você chama o endpoint /instance/connect/ o que ele retorna então? Eu particularmente nunca usei a rota /instance/qr , para falar a verdade acho que ela não existe! Teste essa rota: /instance/connect/.

gabrielroger2020 avatar Oct 09 '25 18:10 gabrielroger2020

Cara esse erro aconteceu comigo também, eu consegui resolver dessa forma aqui:

  • CONFIG_SESSION_PHONE_VERSION=2.3000.1023204200 Coloquei essa variável de ambiente

Danilim04 avatar Oct 09 '25 19:10 Danilim04

@Danilim04 nas versões atuais essa variável de ambiente foi descontinuada.

gabrielroger2020 avatar Oct 09 '25 19:10 gabrielroger2020

@gabrielroger2020 qual seria a melhor opçao?

mv8digital avatar Oct 09 '25 22:10 mv8digital

estou tendo o mesmo problema

MUKINH4 avatar Oct 09 '25 22:10 MUKINH4

Recomendo utilizar a versão 2.3.2, é a versão que utilizo em meus projetos pessoais.

gabrielroger2020 avatar Oct 09 '25 22:10 gabrielroger2020

@gabrielroger2020 , subi a versão mencionada, porem o erro ainda continua.

felipepiton avatar Oct 10 '25 02:10 felipepiton

E sobre meu primeiro questionamento @felipepiton ? Se não é retornado o qr code quando você chama o endpoint /instance/connect/ o que ele retorna então? Eu particularmente nunca usei a rota /instance/qr , para falar a verdade acho que ela não existe! Teste essa rota: /instance/connect/.

gabrielroger2020 avatar Oct 10 '25 10:10 gabrielroger2020

@gabrielroger2020 a log

evolution_api | [Evolution API] [Teste] v2.2.3 184 - Fri Oct 10 2025 17:12:06 INFO [ChannelStartupService] [string] Browser: Evolution API,Chrome,6.14.0-33-generic evolution_api | [Evolution API] [Teste] v2.2.3 184 - Fri Oct 10 2025 17:12:06 INFO [ChannelStartupService] [string] Baileys version env: 2,3000,1015901307 evolution_api | [Evolution API] [Teste] v2.2.3 184 - Fri Oct 10 2025 17:12:06 INFO [ChannelStartupService] [string] Group Ignore: false evolution_api | [Evolution API] [Teste] v2.2.3 184 - Fri Oct 10 2025 17:12:06 ERROR [ChannelStartupService] [object] evolution_api | Error: default level:true must be included in custom levels evolution_api | at assertDefaultLevelFound (/evolution/node_modules/pino/lib/levels.js:194:11) evolution_api | at pino (/evolution/node_modules/pino/pino.js:161:3) evolution_api | at Rs.createClient (/evolution/dist/main.js:239:525) evolution_api | at async Rs.connectToWhatsapp (/evolution/dist/main.js:239:2633) evolution_api | at async Xt.connectToWhatsapp (/evolution/dist/main.js:2:18356) evolution_api | at async Xi.dataValidate (/evolution/dist/main.js:286:62716) evolution_api | at async /evolution/dist/main.js:286:123282 evolution_api | evolution_api | [Evolution API] v2.2.3 184 - Fri Oct 10 2025 17:12:06 ERROR [InstanceController] [object] evolution_api | { evolution_api | status: 500, evolution_api | error: 'Internal Server Error', evolution_api | message: [ 'Error: default level:true must be included in custom levels' ] evolution_api | } evolution_api |

felipepiton avatar Oct 10 '25 20:10 felipepiton