Hi everyone! I have a self-hosted n8n. I’m trying to build a simple Telegram bot that transcribes my voice notes to myself. I have set up a simple workflow with a Telegram Message trigger, a Telegram Get File node, which then passes to an OpenAI Transcribe node. However, I’m getting the error:
I see that the “Mime Type” for the binary output from the previous node is “application/octet-stream” which is probably what’s throwing it off. Even though the file extension is “.mp3” it doesn’t recognize the binary as an mp3 file.
So I even tried writing a JavaScript node that converts the MIME type to “audio/mpeg” and I still get the same error from the OpenAI node.
Yeah, here’s the Downloaded file from from the Get File step:
It’s maybe worth noting that this was originally a Voice Memo recorded in iOS Voice Memos that was then shared into a Telegram chat. I don’t know how that would affect things though.