# Error: EFATAL: Unsupported Buffer file-type for Video Version 3.0

**URL:** <https://discourse.nodered.org/t/error-efatal-unsupported-buffer-file-type-for-video-version-3-0/72108>\
**Category:** General\
**Tags:** http-request, debugging\
**Created:** [13 December 2022 07:38 UTC](https://discourse.nodered.org/t/error-efatal-unsupported-buffer-file-type-for-video-version-3-0/72108 "2022-12-13T07:38:46Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![sgdva](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/sgdva/32/72514_2.png) [@sgdva](https://discourse.nodered.org/u/sgdva)\
**Post date:** [13 December 2022 07:38 UTC](https://discourse.nodered.org/t/error-efatal-unsupported-buffer-file-type-for-video-version-3-0/72108/1 "2022-12-13T07:38:46Z")

</div>

Good day

I just updated Node-RED container, I was able to send videos got by my camera in Home Assistant in the previous build 2.x, now with this update, whenever I try to send videos with my telegram bot it says that

> Caught exception in sender node:  
> Error: EFATAL: Unsupported Buffer file-type  
> when processing message:  
> {"\_msgid":“d092c532152ec973”,“payload”:{“type”:“video”,“chatId”:“XXXX”,“content”:{“type”:“Buffer”,“data”:[0,0,0,3…

I have tried many solutions:

1. I tried to install

> npm install bufferutil utf-8-validate

1. I tried to update npm and node, these are my versions:

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/1/a/1a6d14901bdb7b132cdaf5fcc6a754e6c70cc7f6.png)

The node itself is doing a get, it is a mp4 video (and as I said, it used to work on 2.x)

![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/e/0/e045ccaf943df72a706fd0dbb67b8b650bdb973c.png)

Has anyone faced it? How could I solve this?

This is cross posted at home assistant forums as well

---

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [13 December 2022 08:21 UTC](https://discourse.nodered.org/t/error-efatal-unsupported-buffer-file-type-for-video-version-3-0/72108/2 "2022-12-13T08:21:31Z")

</div>

Coming from HA forum I assume you have read [this entire thread](https://community.home-assistant.io/t/howto-setting-up-a-telegram-bot-for-all-your-home-automation-messages/63085/104).

---

<div class="post-metadata">

**Author:** ![sgdva](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/sgdva/32/72514_2.png) [@sgdva](https://discourse.nodered.org/u/sgdva)\
**Post date:** [13 December 2022 15:37 UTC](https://discourse.nodered.org/t/error-efatal-unsupported-buffer-file-type-for-video-version-3-0/72108/3 "2022-12-13T15:37:38Z")

</div>

Hi Steve, thanks for your reply

I did, the only problem is with video, the bot is working for other media, pictures work fine for example. I found a solution that uses [HA](https://community.home-assistant.io/t/howto-setting-up-a-telegram-bot-for-all-your-home-automation-messages/63085/45) to communicate to the telegram bot and then send the video using HA service instead of the native node red, but I think that's not the optimal way, the TB is configured only in node red and was working fine before, worst case scenario would be to revert to 2.x, I just did it for this year version whereas the problem on that thread seems to be for 2019. The TB is configured with the node-red-contrib-telegrambot.

I found this [one](https://discourse.nodered.org/t/telegram-bot-send-image-from-share/42947/13) as well so I attach the

> msg.payload : buffer [237212] buffer[237212] [raw]

> isom/iso6/iso2/avc1/mp4

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [11 February 2023 15:38 UTC](https://discourse.nodered.org/t/error-efatal-unsupported-buffer-file-type-for-video-version-3-0/72108/4 "2023-02-11T15:38:31Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
