Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG][WEBJS] - Issue in posting to /api/sendVideo #328

Closed
Souhaibahar opened this issue May 11, 2024 · 16 comments
Closed

[BUG][WEBJS] - Issue in posting to /api/sendVideo #328

Souhaibahar opened this issue May 11, 2024 · 16 comments
Labels
bug Something isn't working engine:WEBJS

Comments

@Souhaibahar
Copy link

Souhaibahar commented May 11, 2024

Hello,
I'm having issue on the endpoint sendVideo

image

Version
{
"version": "2029.10.29",
"engine": "WEBJS",
"tier": "PLUS",
"browser": "/usr/path/to/bin/google-chrome"
}

this the request i'm sending {
"chatId": "212661768542@c.us",
"file": {
"mimetype": "video/mp4",
"filename": "funnyfastvideo.mp4",
"url": "https://generator-pipeline-api-test.azurewebsites.net/media/fCN9yyJ9a3cj0_yBUW90EIAXL4c232JTnRBbH4i2_eRgz9XzDVmIuEII6Q98cycafUiky0ZvuVQ_3RKSRS3A==.mp4"
},
"caption": "",
"session": "newuser"
}

and there is no response
it stays like that , i tried with many different video links and to send to different users

image

and then after waiting long the response
499Undocumented | Error: response status is 499

image

please advice as soon as possible ,
Thank you so much

@Souhaibahar Souhaibahar added the bug Something isn't working label May 11, 2024
allburov pushed a commit that referenced this issue May 12, 2024
@devlikepro
Copy link
Contributor

devlikepro commented May 12, 2024

Fixed in 2024.5.6!

Try first the example payload from https://waha.devlike.pro/docs/how-to/send-messages/#send-video-imagesversionspluspng

{
  "session": "default",
  "chatId": "11111111111@c.us",
  "caption": "Watch this video!",
  "file": {
    "mimetype": "video/mp4",
    "filename": "video.mp4",
    "url": "https://github.com/devlikeapro/whatsapp-http-api/raw/core/examples/video.mp4"
  }
}

Personal TY for such detailed report! ❤️

patron:PRO

@MadhabaPatra
Copy link

MadhabaPatra commented May 14, 2024

Hi @devlikepro , Still getting same error. I am using latest version (2024.5.7) of devlikeapro/whatsapp-http-api-plus:arm

@devlikepro devlikepro reopened this May 15, 2024
@devlikepro
Copy link
Contributor

devlikepro commented May 15, 2024

Sorry, we had to revert the solution, it causes sometime "scan qr" issues. Looking for a way to fix it!

patron:PRO

@MadhabaPatra
Copy link

Sure @devlikepro ,
Thanks for quick reply. Please update here once you fixed.

@Thiagomleite
Copy link

I need to send videos, please fix this as soon as possible.

@willpexero
Copy link

Please fix this problem to send videos using this API. I really need this feature again

@joseamonteironeto
Copy link

Please fix that problem :( Really need it...

@cadduroleta
Copy link

Could you please address this issue so I can resume sending videos through this API? It's a crucial feature for me.

@Lucasvico1
Copy link

Please fix that problem :( Really need it...

@brunoskiner
Copy link

if you could fix this issue so that i could send videos through api it will really be helpful for me and a lot of people

@ANACAROLINA1089
Copy link

Could you fix the video API? I'm having problems when I try to send a video.

@rafaelboav
Copy link

I need to send videos via API. could you please fix this issue?

@allburov
Copy link
Contributor

allburov commented May 22, 2024

Fine, fine, just stop spamming :D

Added a temporary solution in WAHA Plus 2024.5.9


https://waha.devlike.pro/docs/how-to/send-messages/#send-video-imagesversionspluspng

⚠️ WEBJS (default) engine notes for sending videos ⚠️

  • 💡 If you're experiencing "forever loading" issue (#321, #328) - set up WAHA_WEBJS_WEB_VERSION=2.2412.54-videofix environment variable:
docker run -it -p 3000:3000/tcp -e WAHA_WEBJS_WEB_VERSION=2.2412.54-videofix devlikeapro/whatsapp-http-api-plus:chrome

I don't close the issue, because it requires additional actions right now. When we added "by default" for all session - we'll close the issue and remove the note

patron:PRO

@allburov
Copy link
Contributor

allburov commented May 22, 2024

☝️
@Thiagomleite
@willpexero
@joseamonteironeto
@cadduroleta
@Lucasvico1
@brunoskiner
@ANACAROLINA1089
@rafaelboav

patron:PRO

@joseamonteironeto
Copy link

☝️ @Thiagomleite @willpexero @joseamonteironeto @cadduroleta @Lucasvico1 @brunoskiner @ANACAROLINA1089 @rafaelboav

patron:PRO

Fine, fine, just stop spamming :D

Added a temporary solution in WAHA Plus 2024.5.9

https://waha.devlike.pro/docs/how-to/send-messages/#send-video-imagesversionspluspng

⚠️ WEBJS (default) engine notes for sending videos ⚠️

  • 💡 If you're experiencing "forever loading" issue (#321, #328) - set up WAHA_WEBJS_WEB_VERSION=2.2412.54-videofix environment variable:
docker run -it -p 3000:3000/tcp -e WAHA_WEBJS_WEB_VERSION=2.2412.54-videofix devlikeapro/whatsapp-http-api-plus:chrome

I don't close the issue, because it requires additional actions right now. When we added "by default" for all session - we'll close the issue and remove the note

patron:PRO

It works! Thanks :)

@devlikepro
Copy link
Contributor

devlikepro commented May 28, 2024

Let's close the issue because it has a workaround. When we moved to new whatsapp (when they released it) - it'll work by default

patron:PRO

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working engine:WEBJS
Projects
None yet
Development

No branches or pull requests