Closed xbiggyl closed 1 month ago
I was able to get it to work by setting the "name" to the m4a extension for all filetypes. I tried different filetypes (wav, mp4, ogg) they only work if you set the extension the name to m4a.
[...]
"type" = "audio",
"name" = "XXXXXXXXXXXX.m4a" // only m4a works, regardless of the original codec that has been enccoded into base64
"mime" = "audio/wav"
[...]
That's strange, we didnt have any hardcoded check, it should works with other audio type files. Glad you figured out! Closing for now
Describe the bug Uploading media files via the API is returning the following error:
Error: predictionsServices.buildChatflow - 400 Invalid file format. Supported formats: ['flac', 'm4a', 'mp3', 'mp4', 'mpeg', 'mpga', 'oga', 'ogg', 'wav', 'webm']'
I have SPEECH TO TEXT via whispeer enabled in the chatflow settings, and recording directly in the flowise chatflow chat window works perfectly
To Reproduce Enable SPEECH TO TEXT in your chatflow (I am using whisper)
Send a HTTP POST request to your chatflow endpoint to upload a media file (in my case I'm trying an ogg file).
The docs explain that the JSON in the body of the POST request must look like this: