Skip to content

[WEBJS] - Specific video fails to send until session is restarted #1479

@spk-10

Description

@spk-10

Hello,

We are reporting an issue we experienced today with sending videos.

A specific MP4 video, which we were able to send successfully until yesterday, started failing this morning with a 500 Internal Server Error.

During this time, other messages and other mp4 video files were still being sent correctly through the same session. The issue only seemed to affect certain videos (8 out of 10 mp4 tested were failing)

We found that restarting the session from the dashboad solved the problem. Immediately after the restart, the exact same video that was previously failing could be sent successfully again.

Below are the details of our environment and the error we received before restarting the session.

Version

"version": {
	"version": "2025.9.8",
	"engine": "WEBJS",
	"tier": "PLUS",
	"browser": "/usr/bin/google-chrome-stable"
}

Response Error:

{
	"statusCode": 500,
	"timestamp": "2025-10-10T08:45:25.083Z",
	"exception": {
		"message": "b",
		"name": "b",
		"stack": "b: b\n    at #evaluate (/app/node_modules/puppeteer-core/lib/cjs/puppeteer/cdp/ExecutionContext.js:391:56)\n    at async ExecutionContext.evaluate (/app/node_modules/puppeteer-core/lib/cjs/puppeteer/cdp/ExecutionContext.js:277: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:364:20)\n    at async CdpPage.evaluate (/app/node_modules/puppeteer-core/lib/cjs/puppeteer/api/Page.js:822:20)\n    at async WPage.evaluate (/app/dist/core/engines/webjs/WPage.js:13:20)\n    at async WebjsClientPlus.sendMessage (/app/node_modules/whatsapp-web.js/src/Client.js:1048:25)"
	},
	"request": {
        "path": "/api/sendVideo/",
        "method": "POST",
        "body": {
            "chatId": "[email protected]",
            "caption": "Test message",
            "session": "wa_296",
            "file": {
                "mimetype": "video/mp4",
                "filename": "video.mp4",
                "url": "https://www.*****.it/video.mp4",
                "convert": false
            }
        },
        "query": {}
    },
	"version": {
		"version": "2025.9.8",
		"engine": "WEBJS",
		"tier": "PLUS",
		"browser": "/usr/bin/google-chrome-stable"
	}
}

Thank you.
Regards.

patron:PLUS

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions