I made an API connection to a crypto exchange. But sometimes the http request gets timed out and I would like to use a retry scope for that. Like this:
So first I set the string (strJsonString) to nothing. After that I put the HTTP Request (which fills the strJsonString) in a Retry Scope.
I would like that the robot retries the HTTP Request if strJsonString is not filled. How do I do this?
Many thanks in advance!
@Bureau_G ,
Before proceeding with the retry scope please increase the timeout of HTTP Request activity . If that also doesn’t help then
You can surround the http request activity by try catch block inside the retry block
IF an error occures then by default it will retry for 3 times and later it will go to catch block and you can handle the exception