Open CautionSentry opened 1 day ago
Could you try with example file via swagger? https://waha.devlike.pro/docs/how-to/send-messages/#send-file-imagesversionspluspng
{
"chatId": "11111111111@c.us",
"file": {
"mimetype": "video/mp4",
"filename": "video.mp4",
"url": "https://github.com/devlikeapro/waha/raw/core/examples/video.mp4"
},
"caption": "Just watch at this!",
"session": "default"
}
👉 Please make sure your file has mp4 using libx264 format (the example is in the right format already)
ffmpeg -i input_video.mp4 -c:v libx264 output_video.mp4
Describe the bug
I am using n8n + waha, I am trying to send a video via /api/sendVideo and the waha integration sendVideo but I get timeout errors. Even using using Swagger portal I am still facing the issue.
Version
Get the WAHA version by calling
GET /api/version
Steps
To Reproduce Steps to reproduce the behavior:
FYI File sizes even smaller ones like 5mb fail to be sent
Expected behavior
I am expecting that the video would be sent successfully
Requests - Responses
Request testing on SWAGGER
Response Testing on Swagger
Response on N8N :
Ps. Request, Response, and Docker logs are from the Swagger testing and not N8N
Docker Logs
Additional context
When accessing the url that is being sent to WAHA directly from my browser, the mp4 gets downloaded and played fine