whatsapp-http-api icon indicating copy to clipboard operation
whatsapp-http-api copied to clipboard

[BUG][WEBJS] - I'm not getting anything webhooks

Open ForceDev1 opened this issue 1 year ago • 6 comments

In httpbin, the following request is issued: "{ "args": {}, "data": "", "files": {}, "form": {}, "headers": { { "accept": "application/json", "Accept-Encoding": "gzip, deflate, br", "Accept-Language": "ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7", "Content-Length": "0", "Host": "httpbin.org", "Origin": "https://httpbin.org", "Referer": "https://httpbin.org/", "Sec-Ch-Ua": "Not_A Brand";v="8", "Chromium";v="120", "Google Chrome";v="120", "Sec-Ch-Ua-Mobile": "?0", "Sec-Ch-Ua-Platform": ""Windows", "Sec-Fetch-Dest": { "empty", "Sec-Fetch-Mode": "cors", "Sec-Fetch-Site": "same-origin", "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0.0 Safari/537.36", "X-Amzn-Trace-Id": "Root=1-65a450df-73d366ac141867fa708b1e8f" }, "json": null, "origin": "92.248.168.79", { "url": "https://httpbin.org/post" }"

ForceDev1 avatar Jan 14 '24 21:01 ForceDev1

check your body have a message, or message.any or session.status in your events node

"webhooks": [ { "url": "url", "events": [ "message", "session.status", "message.any" ],

tecysismx avatar Jan 15 '24 03:01 tecysismx

Yes, we have everything. I'm using the plus version

ForceDev1 avatar Jan 15 '24 05:01 ForceDev1

Hah, that's weird. Do you get all events like this or may be some? Did you try restart the session? Is there anything in docker logs before that happens, could you send it? https://waha.devlike.pro/docs/how-to/deploy/#viewing-the-logs

allburov avatar Jan 15 '24 10:01 allburov

I can't get any of the events. I have tried restarting sessions, using plus and core versions. I'm going to look at the logs now

ForceDev1 avatar Jan 15 '24 15:01 ForceDev1

Did it work at all and stopped working or never worked for you?

devlikepro avatar Jan 15 '24 15:01 devlikepro

Never worked. Need it for a project, for the function of collecting answers

ForceDev1 avatar Jan 15 '24 19:01 ForceDev1

Try using https://webhook.site/ to see if it works

patron:PRO

devlikepro avatar Jul 05 '24 11:07 devlikepro

Same here. Find that WEBJS not emit message_create or any other events. Stopped and start not work for me. Any idea?

patron:PRO

xm-waba avatar Jul 23 '24 12:07 xm-waba

@xm-waba Hi! Are you using the latest 2024.7.8 version? We had some issues before

If yes - could you DM me on discord devlikepro. (dot is important) or send a question in the discord group, we'll figure it out!

patron:PRO

devlikepro avatar Jul 23 '24 13:07 devlikepro

@xm-waba Hi! Are you using the latest 2024.7.8 version? We had some issues before

If yes - could you DM me on discord devlikepro. (dot is important) or send a question in the discord group, we'll figure it out!

patron:PRO

@devlikepro cant find you on discord. How can i join the discord group?

patron:PRO

xm-waba avatar Jul 24 '24 10:07 xm-waba

@xm-waba you can find discord link at the bottom of the page https://portal.devlike.pro/

patron:PRO

devlikepro avatar Jul 24 '24 10:07 devlikepro