chrishubert / whatsapp-api

This project is a REST API wrapper for the whatsapp-web.js library, providing an easy-to-use interface to interact with the WhatsApp Web platform.
https://www.christophehubert.com
Other
720 stars 341 forks source link

Evaluation failed: TypeError: window.Store.ProfilePic.profilePicFind is not a function #204

Open Lyfhael opened 4 months ago

Lyfhael commented 4 months ago

Hello,

The same script worked for months but now whenever I call client/getProfilePicUrl I get the error :

 {"success":false,"error":"Evaluation failed: TypeError: window.Store.ProfilePic.profilePicFind is not a function\n    at pptr://__puppeteer_evaluation_script__:4:54"} 500

I did a git pull then a docker-compose pull && docker-compose up to make sure it was up to date, but same error

I also tried : docker compose pull docker compose up --force-recreate

I'm on Debian 11

diegotranquilino commented 4 months ago

Same issue here. Whatsapp-web.js - Pull 3001 - Fix window.Store.ProfilePic.profilePicFind is not a function error #3001

Lyfhael commented 4 months ago

Same issue here. Whatsapp-web.js - Pull 3001 - Fix window.Store.ProfilePic.profilePicFind is not a function error #3001

Do you know how I could integrate their fix ? I've tried changing what's in the package.json but it doesn't seem like it changed anything

maxabrahamsson commented 3 months ago

anyone with a quick-fix on this? or does anyone know to re-trigger docker build & upgrade so we get this fix through onto the released docker image, perhaps the maintainer?

diegotranquilino commented 3 months ago

Please take a look. fix: 🐛 get contact avatar method name #3006

Lyfhael commented 1 month ago

Please take a look. fix: 🐛 get contact avatar method name #3006

Hey ! May I ask how we apply this for this project, if you have time, thank you man

Lyfhael commented 1 month ago

anyone with a quick-fix on this? or does anyone know to re-trigger docker build & upgrade so we get this fix through onto the released docker image, perhaps the maintainer?

Did you find a solution ?

avoylenko commented 1 month ago

Should be fixed after submitting https://github.com/chrishubert/whatsapp-api/pull/246