The request failed when sending the video in the robot dialog box “HttpError: Network request for 'sendVideo' failed!” #19

Open
opened 2024-08-07 04:29:16 +00:00 by terms-page · 0 comments
terms-page commented 2024-08-07 04:29:16 +00:00 (Migrated from github.com)

image
image

HttpError: Network request for 'sendVideo' failed!
at C:\Users\tao.wang\Desktop\VideoDownloadBot-main\node_modules\grammy\out\core\client.js:180:16
at processTicksAndRejections (node:internal/process/task_queues:95:5) {
error: FetchError: Cannot follow redirect with body being a readable stream
at ClientRequest. (C:\Users\tao.wang\Desktop\VideoDownloadBot-main\node_modules\grammy\node_modules\node-fetch\lib\index.js:1548:15)
at ClientRequest.emit (node:events:513:28)
at HTTPParser.parserOnIncomingClient (node:_http_client:701:27)
at HTTPParser.parserOnHeadersComplete (node:_http_common:119:17)
at Socket.socketOnData (node:_http_client:542:22)
at Socket.emit (node:events:513:28)
at addChunk (node:internal/streams/readable:324:12)
at readableAddChunk (node:internal/streams/readable:297:9)
at Socket.Readable.push (node:internal/streams/readable:234:10)
at TCP.onStreamRead (node:internal/stream_base_commons:190:23) {
type: 'unsupported-redirect'
}
}

How can I solve it
image

![image](https://github.com/user-attachments/assets/5149235a-e274-4465-9fb2-33a6a30666ea) ![image](https://github.com/user-attachments/assets/7d13926d-efc7-4b80-908c-c643e946fb59) HttpError: Network request for 'sendVideo' failed! at C:\Users\tao.wang\Desktop\VideoDownloadBot-main\node_modules\grammy\out\core\client.js:180:16 at processTicksAndRejections (node:internal/process/task_queues:95:5) { error: FetchError: Cannot follow redirect with body being a readable stream at ClientRequest.<anonymous> (C:\Users\tao.wang\Desktop\VideoDownloadBot-main\node_modules\grammy\node_modules\node-fetch\lib\index.js:1548:15) at ClientRequest.emit (node:events:513:28) at HTTPParser.parserOnIncomingClient (node:_http_client:701:27) at HTTPParser.parserOnHeadersComplete (node:_http_common:119:17) at Socket.socketOnData (node:_http_client:542:22) at Socket.emit (node:events:513:28) at addChunk (node:internal/streams/readable:324:12) at readableAddChunk (node:internal/streams/readable:297:9) at Socket.Readable.push (node:internal/streams/readable:234:10) at TCP.onStreamRead (node:internal/stream_base_commons:190:23) { type: 'unsupported-redirect' } } How can I solve it ![image](https://github.com/user-attachments/assets/74be52ad-e761-451e-85f4-7e62efad3595)
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
Borodutch/VideoDownloadBot#19
No description provided.