Back

WAVE audio files not allowed?

  • 0
  • Storage
djimon
16 Oct, 2024, 10:21

I have problems uploading .wav files to my bucket although I have allowed it in the bucket settings for the extensions. It always says when uploading that this file extension is not allowed. Probably I am missing something but unfortunately there is no documentation on what extension are available.

TL;DR
Issue uploading .wav files even after allowing in bucket settings. Correct MIME type for .wav is "audio/vnd.wave" but still not working. No documentation on available extensions.
djimon
16 Oct, 2024, 10:36

Update: I just logged the file before uploading to the buckte and apparently the correct mimeType for .wav is "audio/vnd.wave" but when I add this to the allowed file extensions it is still not working so it has to be something else

hamed
16 Oct, 2024, 10:38

I'm able to upload .wav files without any problem, so it might be worth checking the bucket settings or MIME type configuration.

hamed
16 Oct, 2024, 10:44
djimon
16 Oct, 2024, 10:54

hmm what are you passing in the type field of the file when calling storage.createFile() ?

djimon
16 Oct, 2024, 10:56
Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more