Skip to content

send message stories or status #1524

Description

@tukangparkir2008

Welcome!

  • Yes, I have searched for similar issues on GitHub and found none.

What did you do?

I tried to send a status/story update using the API endpoint {{baseUrl}}/message/sendStatus/{{instance}} with a PNG image.

What did you expect?

I expected the message (status/story) to be sent successfully without any errors, and for the status/story to appear on the recipient's WhatsApp and my own WhatsApp (gateway number).

What did you observe instead of what you expected?

I observed an error logged, and the message (status/story) likely failed to send. The error is TypeError: Cannot destructure property 'user' of '(0 , WABinary_1.jidDecode)(...)' as it is undefined., which occurred when trying to resend the message.

Screenshots/Videos

No response

Which version of the API are you using?

"version 2.2.3".

What is your environment?

Windows

Other environment specifications

  • Using Docker.
  • Ubuntu 22
  • RAM 8GB, CPU 2 Core VPS

If applicable, paste the log output

{
"level": 50,
"time": 1748552682732,
"pid": 163,
"hostname": "93703JJ845828",
"key": {
"id": "",
"fromMe": true,
"participant": "628123456789@s.whatsapp.net"
},
"ids": [
"123GDVSGDH2635263HSGD"
],
"trace": "TypeError: Cannot destructure property 'user' of '(0 , WABinary_1.jidDecode)(...)' as it is undefined.\n at relayMessage (/evolution/node_modules/baileys/lib/Socket/messages-send.js:259:17)\n at sendMessagesAgain (/evolution/node_modules/baileys/lib/Socket/messages-recv.js:550:23)\n at async /evolution/node_modules/baileys/lib/Socket/messages-recv.js:617:37\n at async /evolution/node_modules/baileys/lib/Utils/make-mutex.js:19:36\n at async Promise.all (index 0)\n at async handleReceipt (/evolution/node_modules/baileys/lib/Socket/messages-recv.js:581:13)\n at async processNodeWithBuffer (/evolution/node_modules/baileys/lib/Socket/messages-recv.js:878:9)",
"msg": "error in sending message again"
}

Additional Notes

please help me

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions