Closed adeprem closed 6 years ago
@adeprem The file URL i.e. https://clyp.it/42khxiae.mp3 is not a actual mp3 file URL. When you access this URL is redirecting to https://clyp.it/announcement/direct-file-access a HTML page which is not allowed as attachment by the API. So give URL of actual file not the redirecting route. I tested with the actual file URL and it works.
Also you don't have to mention the attachment type as audio/mpeg
. Only audio
will also work. 😃
Hi, I'm getting this error when I try to upload a video attachment instead of an audio one. Any idea why?
For info, what's in my code is:
I also tried it to do it this way (with the file in a folder) and it was unsuccessful as well