ookamiiixd / baileys-api

Simple WhatsApp REST API with multiple device support
MIT License
431 stars 327 forks source link

515 "stream errored out" when QR scanning #132

Closed bahkadomos closed 1 year ago

bahkadomos commented 1 year ago

Hello. Many thanks for API.

When I scan the qr code I get this error: {"level":50,"time":1674969516892,"pid":10552,"hostname":"User-PC","node":{"tag":"stream:error","attrs":{"code":"515"}},"msg":"stream errored out"}

And on the phone whatsapp says that an error occurred.

I send following data to 'sessions/add' endpoint:

{
    'sessionId': session_id,
    'browser': ['Windows', 'Chrome', '108.0.0'],
    'version': [2, 2304, 7]
}

Please tell me how to fix this?

codespearhead commented 1 year ago

Make sure session_id is not undefined.

ookamiiixd commented 1 year ago

Make sure your connection is stable and try again. Let me know if the issue is still persist

ookamiiixd commented 1 year ago

Closing this due to inactivity