Skip to content

EPARSE: Error parsing response while sendVideo with Stream #1258

Open
@Gromov812

Description

@Gromov812

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions