Skip to content

[Bug]: WhatsApp pushed a WhatsApp Web update that changed how a photo/file is stored internally (the encryption key + path fields). The break: to download a photo, the library reads specific fields, then does . #747

Description

@uppercrustkrish-sys

Pre-flight

  • I searched existing issues and this isn't a duplicate
  • I'm on the latest released version (or noted my version below)

OpenWA version

0.8.17

Deployment

Docker Compose

Database

PostgreSQL

WhatsApp engine

whatsapp-web.js

What happened?

[Bug]: whatsapp photo recognition and forwarding on open wa is not working, WhatsApp pushed a WhatsApp Web update that changed how a photo/file is stored internally (the encryption key + path fields). The break: to download a photo, the library reads specific fields, then does .split() on one of them to get the decryption path. WhatsApp renamed/moved that field → the field is now undefined → .split() of undefined → crash. So: - Photo arrives (bot sees "type: image") ✅ - Downloading the actual bytes crashes ❌. WhatsApp flipped it server-side for all users at once. Every bot on that library version broke simultaneously — not your setup, not your code (git confirmed: no change at that time).

Steps to reproduce

i compress into docker which have openwa image into it which is base of the incomming webhooks then my NLU and NLP understands everything with the help of regx and reply accordingly if the task requires the image of xlsx it transfes ut as well but thats not working now.

Expected behavior

No response

Relevant logs

Environment / additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions