open-wa / wa-automate-nodejs

💬 🤖 The most reliable tool for chatbots with advanced features. Be sure to 🌟 this repository for updates!
https://docs.openwa.dev/
Other
3.05k stars 589 forks source link

WapQuery.profilePicFind Not Working #1757

Closed tetradox closed 3 years ago

tetradox commented 3 years ago

Uncaught TypeError: Store.WapQuery.profilePicFind is not a function at

dngda commented 3 years ago

I also faced the same issue. Here's mine

(node:7376) UnhandledPromiseRejectionWarning: Error: Evaluation failed: TypeError: Store.WapQuery.profilePicFind is not a function at Object.window.WAPI.getProfilePicFromServer (C:\Users\Administrator\Documents\nodejs\bot-whatsapp\node_modules\@open-wa\wa-automate\dist\lib\wapi.js:942:27) at puppeteer_evaluation_script:1:17 at ExecutionContext._evaluateInternal (C:\Users\Administrator\Documents\nodejs\bot-whatsapp\node_modules\puppeteer\lib\cjs\puppeteer\common\ExecutionContext.js:221:19) at runMicrotasks () at processTicksAndRejections (internal/process/task_queues.js:93:5) at async ExecutionContext.evaluate (C:\Users\Administrator\Documents\nodejs\bot-whatsapp\node_modules\puppeteer\lib\cjs\puppeteer\common\ExecutionContext.js:110:16) (node:7376) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 369)

smashah commented 3 years ago

I just tested this again. It is working as expected.