Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: Failed to get QrCode response after Initializing session #2344

Open
devopslifedata opened this issue Sep 17, 2024 · 1 comment
Open
Labels
bug Something isn't working needs triage

Comments

@devopslifedata
Copy link

Description

I am using the WPPConnect API to initiate a WhatsApp session and expect to receive a QR code for the connection process. However, the /start-session endpoint returns a status of "INITIALIZING" without providing a QR code. Subsequent status checks also reflect the same "INITIALIZING" status with no QR code. This issue prevents me from completing the WhatsApp connection process.

Environment

WPPConnect version(s): v1.34.1
WA-JS version(s): 3.10.1
Browser: Chrome
OS: Ubuntu 22.04
Node version: 20.13.1
WhatsApp version: 2.3000.1015690181

Steps to Reproduce

  1. Generate a token using this endpoint - /generate-token
  2. Start a session by providing details - /start-session
    i have used this payload

{
"webhook": "",
"waitQrCode": true
}

response - {
"status": "INITIALIZING",
"qrcode": null,
"version": "2.4.2",
"session": "------there will be a session id returned from this api---------"
}

  1. than checked the status session multiple times, even on some intervals using this endpoint - /status-session
    response - {
    "status": "INITIALIZING",
    "qrcode": null,
    "version": "2.4.2"
    }
@devopslifedata devopslifedata added bug Something isn't working needs triage labels Sep 17, 2024
@Marceloxdxd
Copy link

Where you able to resolve this issue? Somethimes I use "https://{page}/api/{number}/close-session" but this time it doesn't work this time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs triage
Projects
None yet
Development

No branches or pull requests

2 participants