waha icon indicating copy to clipboard operation
waha copied to clipboard

[GOWS] QR code scan fails – session stuck in FAILED state instead of SCAN_QR_CODE

Open bs1601 opened this issue 10 months ago • 0 comments

When attempting to create a new WhatsApp session using the GOWS engine, the session does not enter the SCAN_QR_CODE state. Instead, it immediately transitions to FAILED, preventing QR code generation and scanning.

Error response: { "error": "Session status is not as expected. Try again later or restart the session", "session": "n1DJUp4b8FFRA", "status": "FAILED", "expected": ["SCAN_QR_CODE"] }

Expected behavior: The session should remain in SCAN_QR_CODE state and allow QR code scanning.

Actual behavior: The session immediately fails with status FAILED.

Steps to reproduce:

  1. Create a new WhatsApp session using GOWS engine
  2. Attempt to retrieve QR code
  3. Session fails immediately

Impact: Blocks creation of new WhatsApp sessions via QR code.

patron:PRO

bs1601 avatar Jan 25 '26 13:01 bs1601