waha
waha copied to clipboard
[GOWS] QR code scan fails – session stuck in FAILED state instead of SCAN_QR_CODE
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:
- Create a new WhatsApp session using GOWS engine
- Attempt to retrieve QR code
- Session fails immediately
Impact: Blocks creation of new WhatsApp sessions via QR code.