Skip to main content
Solved

Handling Intermittent API Failures in RPA Processes

  • April 28, 2025
  • 4 replies
  • 48 views

Forum|alt.badge.img+4

In my current process, I’m interacting with 3 -4 APIs that occasionally fail due to network issues or service timeouts. When this happens, the bot tries to retry the action, but sometimes it leads to delays or multiple failed attempts. I’m trying to find ways to handle these intermittent failures more gracefully without affecting the overall process flow. I want to make sure the bot can handle these situations efficiently without too many retries or causing unnecessary delays.

Best answer by Rehan.S1

@NewTushitha  check your wait for action to complete while calling a API because is there is an error while calling a API it will wait for that much time you have mention in below box. So you can provide the sufficient time and make sure handling a code in try-catch block.

 

4 replies

Shreya.Kumar
Pathfinder Community Team
Forum|alt.badge.img+14
  • Pathfinder Community Team
  • April 29, 2025

@NewTushitha, curious to know if/how you’re using Try-Catch blocks in your current processes? Bundling them with retry mechanisms and failure logging can help handle failures more gracefully


Rehan.S1
Navigator | Tier 3
Forum|alt.badge.img+4
  • Navigator | Tier 3
  • Answer
  • April 29, 2025

@NewTushitha  check your wait for action to complete while calling a API because is there is an error while calling a API it will wait for that much time you have mention in below box. So you can provide the sufficient time and make sure handling a code in try-catch block.

 


Forum|alt.badge.img+4
  • Author
  • Navigator | Tier 3
  • April 29, 2025

Thankyou for your reply will give it try and check if that works 


Rehan.S1
Navigator | Tier 3
Forum|alt.badge.img+4
  • Navigator | Tier 3
  • April 30, 2025

@NewTushitha the above solution work for you or are you still facing a issue?