waha icon indicating copy to clipboard operation
waha copied to clipboard

[NOWEB] - duplicate of post webooks method

Open YohanMoli12 opened this issue 3 months ago • 9 comments

Good afternoon, I have a serious error that is preventing me from using this platform.

I hope you can help me; I really don't know what to do.

Why, if I use Webhooks with a request, does it always send me a double request?

That is, when the webhooks is active, does it send me a double request?

I need help, please. This error is driving me crazy.

patron:PLUS

YohanMoli12 avatar Sep 18 '25 21:09 YohanMoli12

Image

Here is an example of how two requests arrive simultaneously in the same message.

help please please.....

patron:PLUS

YohanMoli12 avatar Sep 18 '25 21:09 YohanMoli12

Hi! Did you setup message and message.any events? Set only message.any if you want to receive all messages, including your We need to see the full payload to make sure it's identical

Also do not set per-session and global webhook url to the same value - it'll send 2 requests as well https://waha.devlike.pro/docs/how-to/events/#webhooks

patron:PRO

devlikepro avatar Sep 19 '25 06:09 devlikepro

Hi! Did you setup message and message.any events? Set only message.any if you want to receive all messages, including your We need to see the full payload to make sure it's identical

Also do not set per-session and global webhook url to the same value - it'll send 2 requests as well https://waha.devlike.pro/docs/how-to/events/#webhooks

patron:PRO

Image Image

Thanks for responding quickly, and yes, I'm doing everything right, but still, it sends a double webhook, always.

patron:PLUS

YohanMoli12 avatar Sep 19 '25 10:09 YohanMoli12

what about the webhook payloads, is it the same? Could you share it?

patron:PRO

devlikepro avatar Sep 22 '25 08:09 devlikepro

Same happening here (I'm using WEBJS)

flaviovargasbrandao avatar Sep 22 '25 21:09 flaviovargasbrandao

@flaviovargasbrandao could you attach the payload?

patron:PRO

devlikepro avatar Sep 23 '25 03:09 devlikepro

what about the webhook payloads, is it the same? Could you share it?

patron:PRO

Friend, I don't understand what you're asking?

What I'm telling you is, send two actions.

That is, you make only one request, and send two, that is, duplicates.

patron:PLUS

YohanMoli12 avatar Sep 23 '25 14:09 YohanMoli12

It happened to me on last saturday night and was a anoying mess. So I was using 1 webhook for group or chat my bot was in with n8n (total 6 webhooks) to "fix" the double message I create a paralel workflow to roulte one single webhook to the internal n8n whebooks (image 1) so through routing, I'm filtering messages by id and number so I can spllit and fillter all the json coming from another groups and private messages In the end, I have 1 router webhook

and 1 test webhook for mapping

Image Image

flaviovargasbrandao avatar Sep 23 '25 18:09 flaviovargasbrandao

Same here, I’m experiencing the same issue. I’m using a webhook connected to a Laravel project, and WAHA keeps sending duplicate messages to the project. I’m using WEBJS (2025.9.7 CORE) and running it on an Ubuntu VPS with Docker Compose.

ayahaceh avatar Oct 04 '25 09:10 ayahaceh