Recent AutoTask Errors

We’re getting 2 kinds of errors.

The first is: looks like we got no XML document got the first few 3 days ago, then another 2 days ago, and then dozens last night.
Example:https://console.mspintegrations.com/email2at/advanced/history/1765423093222002vmrv

The second, which only started last night and also had dozens (immediately following the no XML errors) is simply ‘Not Found’
Example:https://console.mspintegrations.com/email2at/advanced/history/1765424833943002zxiz

This happened between 1014 and 1024pm last night… strangely, the API history in AT doesn’t even show these calls. Earlier steps in the ticket processing were able to query the API and return data, and then failed in later steps, so i would expect to see some calls being logged:

That gap didn’t appear on the other nights with the no XML errors and I found the corresponding error on the API history side with the same text.

It seems to sort itself out after a bit, but wondering what might be going on? Thoughts?

I got these the last couple of nights as well.

@DBachen and @KeithTessler

Thanks for reporting this!

These errors are caused when Autotask is offline, as Autotask has been a number of times for pre-planned maintenance over the past few weeks.

We did recently add logic to MSPintegrations to elegantly handle outages from Autotask, but that is apparently not working in every circumstance. Thanks for providing the examples - we’re going to review the specifics and ensure the system works as intended the next time Autotask is unavailable.

When this is working as designed, you’ll see your MSPintegrations emails pause mid-way through until Autotask is available, and then they’ll pick right up where they left off.

Travis

This should be fixed. If you notice any further issues like this, I’d appreciate hearing about them. Please let me know. Thank you.

1 Like

Hi Travis,

We just received this error a few minutes ago.

An exception was encountered: looks like we got no XML document

https://console.mspintegrations.com/#/email2at/advanced/history/1769029392448003b4n5
https://console.mspintegrations.com/#/email2at/advanced/history/1769029574344003bbw5

Another one.

https://console.us1.mspintegrations.com/#/email/history/1771881551959000msg8

Just adding to the topic as it does look like AT was offline last night… i also received about 7 or 8 warnings about no XML document.
Here are a few IDs, just in case you need multiple examples:
(id 1771902856176000wws4)
(id 1771902871795000wwyv)
(id 1771903249610000x0gk)

Thanks, all, for continuing to report these. We’ve reviewed each and identified a few more edge-cases of how Autotask acts when it’s offline. It’s challenging to test these until Autotask is offline again, so we’ll push these updates and then wait and see if anything else falls through the cracks.

You are the best! Thanks for your support in pointing these out!

https://console.us1.mspintegrations.com/#/email/history/1772053744041003attl
https://console.us1.mspintegrations.com/#/email2at/advanced/history/1772054226388003b6ou
id 1772054226520003b6ox

Exception Message:

Exception: looks like we got no XML document

Thanks! We have an update ready but didn’t get it out before this maintenance window. It should be live later today.

Thank you for continuing to give examples - these are very helpful!

Looks like the fix didn’t work, or there is yet another edge case.

Just got the error so it looks like AutoTask is having issues (again)

ID: 1772075201617003pgki

Thanks! We’ll give this another round and see what else we can button up in the logic.

Not sure if you still need examples but here is another one.

https://console.us1.mspintegrations.com/#/email2at/advanced/history/1772139866937004oj16

Good news. With the outage this past Saturday, it looked like it successfully paused it.

There was just the single alert, and no follow-up that it was resumed, but when looking at the console I don’t see any errors.

Any thoughts to flagging these in the console somehow? Here’s the reason why: Ultimately I’m glad just to make sure they did process, but unless I’m actively checking the console during the outage, you don’t know how many messages have been impacted. The log looks like it shows the time the original message came in and not the time it was reprocessed. That means I have no way of knowing how many tickets were updated… if a customer follows up and asks why we didn’t respond sooner (for example with an SLA), then it would be nice to be able to answer with “there was a Kaseya outage for {x period of time}” kind of thing.

I got this alert 3/7 @ 7:25pm so I looked at the processing log for the incoming email closest to that. I think I see where it was held up (there is a warning icon and then a 4 minute gap).

Even something as simple as a small icon or a different background color etc would help to find these in the history (if needed).

I know, I know. We’re never satisfied. :smiley: Thanks for getting the rest of working no matter what!

Hi @DBachen,

Really glad to hear the pause/retry worked as expected during Saturday’s outage, and this is great feedback!

Let me first clarify what’s happening behind the scenes, and then I’d love to hear your thoughts on what would make it more visible for you.

How the system handles Autotask outages:

When any Autotask API call fails in a way that indicates Autotask is offline, the system:

  1. Pauses the affected workflow for ~5 minutes
  2. Logs a note to that message’s history indicating the Autotask API appeared to be offline
  3. Sends you an email notification (more on this below)
  4. Retries automatically, repeating this cycle until Autotask comes back online

Once Autotask is back online, the next retry succeeds and the workflow continues as normal. If the outage was lengthy, you’d see a series of log entries, one roughly every 5 minutes, in the affected history records.

A note on email notifications:

The email notification is rate-limited at the account level, meaning you’ll receive at most one notification every 5 minutes regardless of how many messages are affected. So if 100 messages are paused during an outage, you won’t get 100 emails, you’ll get one email roughly every 5 minutes until Autotask comes back online. The goal is to keep you informed without flooding your inbox.

You can view the per-message logs by expanding the step in the history:

Also worth noting: while a message is in this retry loop, it will show as “In Progress” and will appear highlighted in the history view, so there is some visual differentiation already in place.

Your suggestion about adding visual indicators to make outage-affected records easier to identify is great, and we’ll take it back to the roadmap. In the meantime, does the information above help clarify what’s available today? We’d love to hear any additional thoughts you have on what would make this more useful for you!

Yup… that makes sense on the back end what it is doing. That retry message is good to see when it’s stuck in the processing loop. Thanks for considering the visual indicator which would be used after the fact (since the message itself will no longer be processing and have that countdown in it)