277
Views
2
Comments
How to increase the TimeOut for Server action ODC
Question

Hello guys, Currently, I need to consume an API where the response time exceeds 60 seconds (ODC timeout limit). I would like to know what approach is taken in OutSystems ODC for this scenario? 

Thanks for help

2023-10-21 19-42-11
Tousif Khan
Champion

Hello

What is the reason your API is taking that Long, If this the issue from other server from where you are fetching the data the you should check there,

In ODC if you want to increase the time out you can go to the Rest where you consume it and then go to the API method and check here you can increase the timeout from here - 

I hope this will help. 

Best Regards
 Tousif Khan

2024-02-20 08-17-11
Pratham Rasal

Hi @Tousif Khan

What can be done if the server action which eventually calls our AI model is taking time to return the response?

Order -> AgentTask server action is being called in one Service Action and this Service action is then consumed in other app to get output from AI. However we are getting delayed response from AI because of which I am getting the error of "The timeout of 10s was reached while executing this server action. "

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.