Error 500

Hello everyone, and thank you for your help.

I’d like to share my issue: I’ve created a robot that performs web wrapping. Here are its steps:

Log in to the web interface using my username and password.

Navigate to a specific URL.

Retrieve items with the “Extract Table Data” activity (I haven’t set any limit) and click the “Next” button.

Export the results to an Excel file.

My problem is that the site occasionally returns HTTP 500 errors, which forces me to refresh the page. I tried wrapping my extract activity in a Try Catch to catch only the NodeNotFoundException and then refresh the page, but this approach doesn’t work.

Does anyone have any ideas on how to handle or work around these intermittent 500 errors?

Thanks

@stu.talieu

when you say it does not work is it giving the same error again?

if so try to close and reopen when it errors out

adding a little delay also might help

cheers

Hi @stu.talieu

At what point in your workflow, have you observed Http 500 error thrown?

Is it during extract table data or 1st or 2nd step?

Regards
Sonali

As this is an intermittent issue, move this logic under Retry scope activity.

in fact, I have the impression that it does not fit in my try it stops and suddenly I refresh the page by hand

It is when extracting data

@stu.talieu

  1. Close and reopen
  2. Instead of using refresh try to use click on refresh button using hardware events and check

Cheers

thanks but I have the same result

@stu.talieu

Then add delay in between and check…

Even with complete close and open as well?

Cheers