Terminal Session with Reflection. Error Timeout

Hello,

I’m running an RPA that will extract information from the mainframe and I often get the Timeout error, it seems that the connection is lost, does anyone know the solution for this error?

the error doesn’t always happen, that’s the strangest thing

HI @Fabio_Oliveira ,
Check TerminalConnection is Nothing if true again generate the Terminal Session.

Regards,
Arivu

I updated the help request with a print, so it will be easier for you to help me. if you can.