WhiskeySockets / Baileys

Lightweight full-featured typescript/javascript WhatsApp Web API
https://baileys.whiskeysockets.io/
MIT License
4.1k stars 1.38k forks source link

An internal server error occurred"},"headers":{}}} msg=unexpected error in 'init queries'` #1030

Open devhijazi opened 2 months ago

devhijazi commented 2 months ago

Describe the bug These logs recently started appearing in the backend terminal of an application I developed using the lib, could you check what happened?

2024-09-09T20:56:44.331Z 50 pid=44 hostname=e98b92e61adc err={"type":"Error","message":"bad-request","stack":"Error: bad-request\n at assertNodeErrorFree (/app/node_modules/@whiskeysockets/baileys/lib/WABinary/generic-utils.js:56:15)\n at query (/app/node_modules/@whiskeysockets/baileys/lib/Socket/socket.js:140:48)\n at runMicrotasks (<anonymous>)\n at processTicksAndRejections (internal/process/task_queues.js:95:5)\n at async fetchProps (/app/node_modules/@whiskeysockets/baileys/lib/Socket/chats.js:623:28)\n at async Promise.all (index 1)\n at async executeInitQueries (/app/node_modules/@whiskeysockets/baileys/lib/Socket/chats.js:709:9)","data":400,"isBoom":true,"isServer":true,"output":{"statusCode":500,"payload":{"statusCode":500,"error":"Internal Server Error","message":"An internal server error occurred"},"headers":{}}} msg=unexpected error in 'init queries'