Stop your Node server. Download the files validate-connection.js and validate-connection.d.ts Go to the directory: /your_direc/node_modules/@onexgen/baileys/lib/Utils/ Replace the existing validate-connection.js and validate-connection.d.ts files with the new ones you just downloaded. Start your Node server again. Try reconnecting your WhatsApp account.