- Home /
Type error on loading audio from URL in WebGl.
Hi, I tried code same provided here to get the audio clip from the url. But in the sample url ends with the type of the audio file **http://www.my-server.com/audio.ogg** but my link is a presigned url from AWS. While I try to load the audio from AWS url I get the type error in webgl. How do I load the audio from the AWS presigned url?
Comment
What does your browser say about the request? Does your server have CORS enabled?
There is no CORS error. I have attached the screen shot. But I use the audio which is made public in S3 plays without error but the presigned url from S3 doesn't play and i get this error or the memory out of bounds
error.jpg
(23.5 kB)
Well, what does your browser say? Open the developer tab and check the console then paste that here.
Your answer
![](https://koobas.hobune.stream/wayback/20220612202804im_/https://answers.unity.com/themes/thub/images/avi.jpg)