Connection to Salesforce regularly breaking?

Hi there,

I have connected UiPath to Salesforce via the Integration service, and everything is running great - usually.
The issue is that sometimes, a connection breaks all of a sudden, leading to my Automations failing. And the main error with this is that UiPath doesn’t seem to notice - it does not re-authenticate itself, it does not stop workflows or queue items from being processed, and it doesn’t send emails or notifications of any sort.

Since I am the only UiPath developer in my corporation, this presents a huge problem whenever I’m on vacation - I’ve been on vacation for only 3 days and one of my queues produced 96.000 failed queue-items (on ~11.000 Successful queue items so far), which of course heavily skews all reportings now.

When I look into my integration service → connectors of the corresponding folder, it only shows that the connection is broken after I manually click on “check connection” - if I don’t, it just merrily shows that everything’s alright.

My questions about this are:

  1. Is there a way to ensure these connections don’t break as often (or not at all anymore)?
  2. Can I at least somehow let jobs be cancelled as soon as the robot discovers that it can’t process the queue items? (I’m using the Robotic Enterprise Framework on all my robots)
  3. Can I enable push-notifications or emails on alerts whenever a connector breaks? So that anyone even has a chance to notice that something is wrong?

This sometimes severely disrupts all of our processes and disgruntles our customers. :-/

Best Wishes
Jannis

@jannis.kruschel We are looking into this issue. Will provide an update once we understand the scope

@jannis.kruschel

As for your 2 question you can configure MaxConsecutiveSystemExceptions which would terminate the job if it encounters system exception consecutively above the number mentioned

For alerts you can try reading the above docs. AFAIK there are alerts for connections

Thanks - it could, of course, be on our salesforce side (them somehow having a schedule to de-authenticate all users all two weeks or something like that), but I initially told them to specifically make an exception for my robot-account. So I don’t think it’s that.

If we can change anything on our salesforce-side to make this more reliable, maybe you can give me a tip which settings could help? :slight_smile:

Please does anyone have a solution to this yet?

I’m experiencing a similar problem with the Salesforce integrated service.

It occurs every week, and I receive the following error message:

Message : User is not authorized Status code: Unauthorized. Error code: DAP-RT-1101.