Replies: 1 comment 4 replies
-
|
Hi! Sorry, buttons don't work right now, we're searching the solution, but no ETA right now! |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Please can you help me.
I am trying to send buttons from the API directly. The data I am trying to send is:
This sending produces the following error:
[devlikeapro-whatsapp-http-api-pl] [2025-01-11 21:34:41] [21:34:41.667] WARN (NOWEBEngine/1): session:9df0225a-2e38-4574-a88c-fcf7460e553a - failed to obtain extra info {"session":"9df0225a-2e38-4574-a88c-fcf7460e553a","trace":"Error: Input file contains unsupported image format\n at Sharp.metadata (/app/node_modules/sharp/lib/input.js:486:17)\n at extractImageThumb (/app/node_modules/@adiwajshing/baileys/lib/Utils/messages-media.js:109:38)\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n at async generateThumbnail (/app/node_modules/@adiwajshing/baileys/lib/Utils/messages-media.js:292:38)\n at async /app/node_modules/@adiwajshing/baileys/lib/Utils/messages.js:131:68\n at async Promise.all (index 1)\n at async prepareWAMessageMedia (/app/node_modules/@adiwajshing/baileys/lib/Utils/messages.js:122:40)\n at async WhatsappSessionNoWebPlus.uploadMedia (/app/dist/plus/engines/noweb/session.noweb.plus.js:29:34)\n at async WhatsappSessionNoWebPlus.sendButtons (/app/dist/core/engines/noweb/session.noweb.core.js:476:29)"}
As I do not need an image on the buttons I remove it and leave the json like this:
The response from the API is:
But nothing is sent and no action appears in the log.
Beta Was this translation helpful? Give feedback.
All reactions