A WhatsApp client library for NodeJS that connects through the WhatsApp Web browser app
15.21k
stars
3.63k
forks
source link
Error when sendCreateGroup - Error: Evaluation failed: i at ExecutionContext._evaluateInternal #1611
Closed
soby-bolu closed 10 months ago
Is there an existing issue for this?
Describe the bug
Cannot using function sendCreateGroup to create a group
Expected behavior
Group created and no error
Steps to Reproduce the Bug or Issue
Relevant Code
const createRes = await this.pupPage.evaluate(async (name, participantIds) => { const participantWIDs = participantIds.map(p => window.Store.WidFactory.createWid(p)); const id = window.Store.MsgKey.newId(); const res = await window.Store.GroupUtils.sendCreateGroup(name, participantWIDs, undefined, id); // This function erorr return res; }, name, participants);
Browser Type
Chromium
WhatsApp Account Type
Standard
Does your WhatsApp account have multidevice enabled?
Yes, I am using Multi Device
Environment
OS : Mac Phone OS : Android wwebjs version : "^1.17.1" node version : 14.4 WhatsApp Web version : 2.2228.4
Additional context
No response