I am making a http request to a azure function in a cloudscript function and there is this strange thing happening which is quite rare but it does happen. I will be getting a timeout error for this makeHttpRequest.
There is no timeout for the cloudscript as I did check execution time and it was around 2 seconds and it is getting called from client side not a playstream event. Why is this error happening and how to resolve it?
Following is a small part of the error caught in catch block
cloudScriptErrorCode:CloudScriptHTTPRequestError \"contentType\":\"application/json\",\"headers\":{},\"result\":{\"responseContent\":null,\"httpStatus\":null,\"httpStatusCode\":0,\"requestError\":\"Timeout\"},\"httpRequestError\":\"Timeout\"}