how to store an audio?
I’m trying to store a mp3 audio but get an Invalid or unexpected token.. I don’t really know how to do it, any help please

4 Replies
is there a reason you need to write the mp3 to disk first instead of just passing output.data to supabase?
also, if you're trying that in a supabase edge function, you cannot do fs functions there

I initially stored it locally so I don’t regenerate the audio every time, the was that I needed a policy, for now I just bypassed it by using the secret key and it works
