Baileys: [BUG] automatically disconnected

Describe the bug I connected my phone, everything was working, but then after a time in event ‘connection.update’ i suddenly get {"connection":"close","lastDisconnect":{"error":{"data":null,"isBoom":true,"isServer":false,"output":{"statusCode":428,"payload":{"statusCode":428,"error":"Precondition Required","message":"Connection Terminated"},"headers":{}}},"date":"2023-05-25T07:45:02.732Z"}} and messages are no longer sent.

To Reproduce Steps to reproduce the behavior:

  1. Created a new connection
  2. Waited Some Time and error appeared

Environment:

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 15 (1 by maintainers)

Most upvoted comments

Guys this comment fixed my problem.