Try/Catch not catching NewtonsoftJson exceptions




I’m seeing an issue when using error handling with database activities. When a database activity (query/non query) causes a Newtonsoft JSON Serialization exception, while running in a try/catch, the catch is not triggered, and the script just stops running. System.Exceptions work correctly. The problem is only with Newtonsoft JSON exceptions.

Is there something I need to do to have the catch activate with this exception type? If this is a bug with UiPath, then has anyone found a work around for this?


Any update on this? im also getting same error.


can you share a wf we can try with?