-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Labels
Description
Describe the bug
A clear and concise description of what the bug is. Feel free to remove sections
that you don't feel to make the text shorter!
Version
Get the WAHA version by calling GET /api/version
{
"version": "2024.11.8",
"engine": "WEBJS",
"tier": "PLUS",
"browser": "/usr/bin/google-chrome-stable"
}Try to update to
the latest version before
creating an issue!
Steps
To Reproduce Steps to reproduce the behavior:
- Open swagger url: /#/:outbox_tray:%20Chatting/ChattingController_sendVideo
- Change session and chatId, and send the example json.
- See error
Expected behavior
Should send video to the given chatId.
Requests - Responses
Request:
You can use example json.
Response:
{
"statusCode": 500,
"timestamp": "2024-11-26T13:24:49.835Z",
"exception": {
"stack": "a: a\n at #evaluate (/app/node_modules/puppeteer-core/lib/cjs/puppeteer/cdp/ExecutionContext.js:388:56)\n at async ExecutionContext.evaluate (/app/node_modules/puppeteer-core/lib/cjs/puppeteer/cdp/ExecutionContext.js:275:16)\n at async IsolatedWorld.evaluate (/app/node_modules/puppeteer-core/lib/cjs/puppeteer/cdp/IsolatedWorld.js:100:16)\n at async CdpFrame.evaluate (/app/node_modules/puppeteer-core/lib/cjs/puppeteer/api/Frame.js:341:20)\n at async CdpPage.evaluate (/app/node_modules/puppeteer-core/lib/cjs/puppeteer/api/Page.js:807:20)\n at async WebjsClient.sendMessage (/app/node_modules/whatsapp-web.js/src/Client.js:956:25)",
"message": "a",
"name": "a"
},
"request": {
"path": "/api/sendVideo",
"method": "POST",
"body": {
"chatId": "6281384242232@c.us",
"file": {
"mimetype": "video/mp4",
"filename": "video.mp4",
"url": "https://github.com/devlikeapro/waha/raw/core/examples/video.mp4"
},
"reply_to": null,
"asNote": false,
"caption": "Just watch at this!",
"session": "blast10"
},
"query": {}
},
"version": {
"version": "2024.11.8",
"engine": "WEBJS",
"tier": "PLUS",
"browser": "/usr/bin/chromium"
}
}