Api is saving file as octet-stream not video file

I am currently trying to get bubble to record video → send local file to a conversion api → send it back to bubble as a video file that is in .mp4

However when i seem to get the file back, whilst it can be played in a media viewer on bubble, the file isnt actually a video?
image

This means when i go to send the video on to the whisper api i get the error:

API Connector error: the parameter file is not a valid file

Any ideas?

Can you explain a little more about how the flow works? You record the video and send it to a conversion API. What conversion API would that be, and what is it for? And how do you record this video?

When the user has finished recording and the video upload to the bubble servers has complete (using the plugin here) i start the api using freeconvert.com sending the video


Then once the conversion has finished it sends me a webhook where i then grab the url from the completed “job” in freeconvert. Once I have got the job i grab the temporary url that freeconvert gives, and then use the plugin big file uploader to save the temporary video url to bubble database.


However, the file that is saved in step 4, seems to just be a application/octet-stream not actually an mp4 video file, and so i dont think it has the metadata that is needed for the whisper audio transcription.

The need for the conversion was because with the camera, it doesnt always put in the right metadata depending on browser. converting the file just on the website without apis made it work so i implemented it in the workflow.