devlikeapro / waha

WAHA - WhatsApp HTTP API (REST API) that you can configure in a click!
https://waha.devlike.pro/
Apache License 2.0
820 stars 249 forks source link

[BUG][WEBJS] - Status 'FAILED' while starting a session. #289

Closed AliAkash404 closed 3 months ago

AliAkash404 commented 3 months ago

After yesterday WhatsApp global outage, I am getting problem in starting WEBJS session. After scanning the QR code the session goes under 'FAILED' status.

After scanning the QR code when I try to get the screenshot I got the following response: { "statusCode": 422, "message": "The session under FAILED status. Please try to restart it.", "error": "Unprocessable Entity" }

And when I get all the sessions I get this response: (i.e. session with 'FAILED' status) [ { "name": "default", "status": "FAILED", "config": { "proxy": null, "webhooks": [ { "url": "https://httpbin.org/post", "events": [ "message" ], "hmac": null, "retries": null, "customHeaders": null } ] }, "me": null } ]

I am getting these issues after yesterdays WhatsApp outage before that every thing was working fine.


:warning: If you have the same issue - please update the version to 2024.3.7 or later! :warning:

patron:ADVANCED

allburov commented 3 months ago

Could you contact Meta? May be the problem on their side :rofl: just kidding.

What WAHA version do you use? You can check it by GET /api/version Where the account (WhatsApp) is from (country)?

AliAkash404 commented 3 months ago

I am using these two versions:

{ "version": "2023.9.11", "tier": "PLUS", "browser": "/usr/bin/chromium" }

{ "version": "2024.3.2", "engine": "WEBJS", "tier": "CORE", "browser": "/usr/bin/chromium" }

And in both versions I am getting the same error. The WhatsApp account is from Pakistan.

xMunduSCodEx commented 3 months ago

Same error for me

mshehrozsajjad commented 3 months ago

Same error for me with: { "version": "2024.2.4", "engine": "WEBJS", "tier": "CORE", "browser": "/usr/bin/chromium" } Error: { "statusCode": 422, "message": "The session under FAILED status. Please try to restart it.", "error": "Unprocessable Entity" }

Number from US

oizamadpedro commented 3 months ago

me too, version: 2024.3.6

EDIT: i updated the version and now its working

[ { "name": "default", "status": "FAILED", "config": { "webhooks": [ { "url": "http://172.18.0.3:8000/webhook", "events": [ "message" ] } ] }, "me": null } ]

AliAkash404 commented 3 months ago

After updating to version 2024.4.1 (latest version), issue is solved. Thank you admin.

patron:ADVANCED

allburov commented 3 months ago

Yep, sorry, there was important update for WEBJS engine, we notified by Boosty / Patreon https://boosty.to/wa-http-api/posts/c7e7b494-11c6-4ed4-b642-ac9ced25143b

Please subscribe there to have the latest updates!

allburov commented 3 months ago

:warning: If you have the same issue - please update the version to 2024.3.7 or later! :warning: