[X] I have checked and am using the latest version of the library.
What type of session are you experiencing this issue on?
Multi-device and I have set multiDevice to true in my config OR am using the --multi-device flag
What type of host account are you experiencing this issue on?
Business account
Mode
EASY API/CLI
Current Behavior
When I start the 'node' server, it displays the QR code. Then it auto-generates a shorter QR code. When I checked the data inside the QR it has undefined.
const wa = require('@open-wa/wa-automate');
wa.create({
sessionId: "COVID_HELPER",
multiDevice: true, //required to enable multiDevice support
authTimeout: 60, //wait only 60 seconds to get a connection with the host account device
blockCrashLogs: true,
disableSpins: true,
headless: true,
hostNotificationLang: 'PT_BR',
logConsole: false,
popup: true,
qrTimeout: 0, //0 means it will wait forever for you to scan the qr code
}).then(client => start(client));
function start(client) {
client.onMessage(async message => {
if (message.body === 'Hi') {
await client.sendText(message.from, 'π Hello!');
}
});
}
Are you using the latest version of the library?
What type of session are you experiencing this issue on?
Multi-device and I have set multiDevice to true in my config OR am using the --multi-device flag
What type of host account are you experiencing this issue on?
Business account
Mode
EASY API/CLI
Current Behavior
When I start the 'node' server, it displays the QR code. Then it auto-generates a shorter QR code. When I checked the data inside the QR it has undefined.
Initial QR
Once the QR is scanned from my device:
Expected Behavior
No response
Steps To Reproduce
create() code OR full CLI command + CONFIG
No response
DEBUG INFO
Environment
Screenshots/Logs
No response
Anything else?
No response