Hi All,
I have been trying to test the REST consume API (GET method). But it's throwing the error below -
''Error Executing Test. The operation has timed out''
By default the timeout set in seconds in outsystems is 100 seconds and we have set it to 1000 sec. But the error occurs just after 30-40 seconds of execution.
In outsystems we have more then one place to configure time out, you can try changing this on the module properties and test again, see below:
Hi Ishika. Looks like you are using the built in API tester. Have you tried testing the API in swagger or postman? If it is timing out there within 30 - 40 seconds as well then it is a problem with the API and not in OutSystems. You can also check whitelist settings and see if your outsystems server is whitelisted in your API server.
Hi Ishika Shrivastava,
Despite changing the timeout configuration it would be wise if possible to provide filter to the get method in order to have a faster response.
You could for instance perfom several partial requests which in the end will have the Data. Save each request response information in a temporary table.
Analisys to data would be in the temporary table.
Hope that it helps you
hey Ishika
Did You find any Solution ???
You are getting a timeout error even if you have increased the time-out because that API domain might have been blocked by the security gateway. try opening the port for HTTPS connection.
Hope that it helps you!
Hi
Please check service center error logs for detail view
Thanks
Shradha