API response body - How to use that in Thunkable?

I have an API on AWS API Gateway which i can call successfully on browsers. It returns encoded binary content in the response body (audio/mpeg) - mp3 file. On browser it successfully plays. I am trying to get it playing either by video player or by using sound component. Both dont work.

On Thunkable it is giving an error: network error when attempting to fetch resource. I believe this is a CORS error.

If i try live testing on mobile device, first it gives 500 server error, then the video window appears for a micro second and then goes away. Nothing plays.

Any way i can make it work?

Have you set the api url/body/header?

1 Like