# Telegram Get File returns "application/octet-stream" binary \> OpenAI Transcribe errors

**URL:** <https://community.n8n.io/t/telegram-get-file-returns-application-octet-stream-binary-openai-transcribe-errors/94641>\
**Category:** Questions\
**Tags:** telegram, openai\
**Created:** [30 Marzo, 2025 10:17 UTC](https://community.n8n.io/t/telegram-get-file-returns-application-octet-stream-binary-openai-transcribe-errors/94641 "2025-03-30T10:17:41Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![nukeador](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/nukeador/32/49398_2.png) [@nukeador](https://community.n8n.io/u/nukeador)\
**Post date:** [14 Mayo, 2025 07:19 UTC](https://community.n8n.io/t/telegram-get-file-returns-application-octet-stream-binary-openai-transcribe-errors/94641/6 "2025-05-14T07:19:08Z")

</div>

Not sure if related, but I’ve been fighting with incorrect mime/types from Telegram get file node for hours, until I found this

> [@The Telegram Get File module does not return a binary file](http://community.n8n.io/t/the-telegram-get-file-module-does-not-return-a-binary-file/88013/2):
>
> Attach this “Get information” node to your file and it will convert the MIME type to the correct one. . point_right If my reply answers your question, please remember to mark it as a solution.

This is for images, but you might need to manipulate the mime/type to the correct one for your audio manually using something like:

> [@Telegram Bot API: How to get MIME type of received photos](http://community.n8n.io/t/telegram-bot-api-how-to-get-mime-type-of-received-photos/42463/3):
>
> Hey @Shurum_Burum, Welcome to the community tada Best I can think of would be to use a code node with the below in it… for (const item of $input.all()) { item.binary.data.mimeType = 'image/jpeg' } return $input.all();

---

_[View the full topic](https://community.n8n.io/t/telegram-get-file-returns-application-octet-stream-binary-openai-transcribe-errors/94641)._
