ESOCKETTIMEDOUT when using API Connector

Hi I’m new to using API’s so bear with me. I’m trying to trying to get the Microsoft’s Text to speech service working on bubble, but I’m getting this error:

There was an issue setting up your call.
Raw error for the API 
ESOCKETTIMEDOUT

I’m able to get it working on POSTMAN, but not in bubble. The error:

Here are my settings:

When I try to initialize the call it just loads for a bit then gives me the above error.

Here are the api docs, but I still cant get it to work:

I’ve been trying to get this working for days now, I would appreciate if someone would be able to help. Anybody know how to fix this?

After much headache, removing the “Content-Length” from the headers seemed to fix the issue. Not sure why this would fix it though.

1 Like

Normally, Bubble will calculate and send this header by default. You don’t need to add this. So the issue is probably a duplicate header in this case.

1 Like

I am facing same issue, tried removing content-lenght but it gives this error "Raw response for the API Status code 416 null"