About the request timeout

Hello,

I've read some articles stating that Genesys Cloud's Platform APIs have a default timeout value of 15,000 ms. Where can I find the official documentation regarding this timeout value?

Additionally, I'd like to know what action the Genesys Cloud system takes when it encounters a timeout.
Does it automatically retry the request, or does it simply mark the request as a 'failure' and terminate?

This is pretty much it;

But I've submitted a recommendation for it to be added in the API overview since it should be documented somewhere official if it's a basic fact of the API.

1 Like

Hello Eos_Rios,

I have read that comment as well.
Does that mean there's no official documentation about the API request timeout at this point?

Yes, but I can confirm that my quoted post is the official answer.

Hello tim.smith,
Thank you for your confirmation.

I also would like to ask you what actions Genesys Cloud takes when it encounters a timeout for an API request sent to the client. My initial post was about a scenario where the client sent a request to Genesys Cloud and the client failed to send the corresponding request due to the request timeout of 15000ms, so I'm asking for the opposite case this time.

Does Genesys automatically retry sending the timed-out request, or does it simply return a 5XX response code, mark the request as timed out, and not retry at all?

If the request times out internally on the server side, it will send a 504 response. The server does not have any control over your application, the client, and cannot force it to retry the request. Implementing retry logic is up to your application.

1 Like

Thank you, tim.smith.
It really helped a lot.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.