Skip to content

EPARSE: Error parsing response while sendVideo with Stream #1258

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

Open
Gromov812 opened this issue Feb 22, 2025 · 0 comments
Open

EPARSE: Error parsing response while sendVideo with Stream #1258

Gromov812 opened this issue Feb 22, 2025 · 0 comments

Comments

@Gromov812
Copy link

Hi! I am experiencing an error when sending sendVideo on the Ubuntu server. The code that I am executing on the local machine is working fine. I use const stream = new Readable();
stream.push(buffer);
stream.push(null); in order to convert the Buffer video file to a later one and send it using the method. Everything works as it should on localhost, however, the same code on the VPS gives the error Unhandled rejection Error: EPARSE: Error parsing response. What could be the reason? Please help, thank you!

Node -v 18.18.0
"node-telegram-bot-api": "^0.66.0",

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant