You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
Hi! Buttons are fragily creatures, no gurantue it'll always work :( Looks like Meta got patched our solution recently...
Consider having a fallback logic to regular text in case of such errors.
We'll see what we can do with buttons 🤞
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
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.
All reactions