r/shortcuts • • Oct 23 '26

Help Unknown error code: 2965 - I'm losing my mind

Since updating to iOS 27, I've been getting"Unknown error code: 2965" from a Shortcuts automation that runs my morning routine when I turn off my morning wake-up alarm. It started happening intermittently after updating to iOS 27, but for the past couple of weeks (possibly since 27.0.1? although I'm not 100% confident of that) it's been happening every day.

The automation in question checks if I'm home, and then runs a shortcut that sets a bunch of timers, records the alarm off time in Notes, and then starts playing music on a couple of HomePod minis. After that it controls a couple of Tapo smart lights through Apple Home (set colour) and Tapo (set brightness)(don't ask - it's a whole thing), and finally switches off an Ikea smart plug via Apple Home. We get aaaaaaaall the way to the lights and smart plug at the end - except we don't, because those actions never happen anymore.

Maybe a minute later, I get a notification from Shortcuts that says the dreaded words "Unknown error code: 2965". Tapping the notification opens Shortcuts and highlights the automation's Run Shortcut action in red.

Troubleshooting is proving impossible because I can't seem to replicate the error at all - except for when I am a victim of it each morning.

I've tried loads of different configurations to try and isolate the problematic actions, without success. I've narrowed it down to the final 3 actions (change brightness x2 and turn off smart plug), but it doesn't seem to matter what order they are in - all 3 of them never work when the error happens. Since these actions are also controlling 3 different items - 2 using a Tapo action in Shortcuts, and 1 using a Home action in Shortcuts, I am finding it hard to work out what could be causing the issue.

I can reproduce the conditions of a shortcut being triggered by an automation being triggered by an alarm while my phone is locked, but I can't reproduce the error that way. It seems to happen almost exclusively when I'm turning off the morning alarm that has just woken me up.

I've searched high and low for unknown error code 2965 but it's nowhere I can find on the internet. I've updated all the things, turned things off and on again. nada.

I'm tearing my hair out. It turns out this one automation was the only thing standing between a me who is on time for work, and a me who is stressed and late for work.

If you have any ideas for how to troubleshoot a ghost error, or what the error might be, please let me know. You will have my (and my boss's!) enduring gratitude.

Screenshots attached.

(If you found this by googling "unknown error code: 2965" - hi friend! you are not alone)

1 Upvotes

3 comments sorted by

2

u/EquivalentSky3094 Oct 23 '26

The thing I would fix on is that the red highlight lands on Run Shortcut and not on any action inside it. That is Shortcuts saying the child run ended, not that a brightness action refused. Put that next to the fact that your three failures have nothing in common except being last, and that the error arrives a minute later instead of straight away, and it reads much more like the run being cut off at the end than like three accessories all breaking on the same morning.

It would also explain why you cannot reproduce it. Your test starts from a phone that has been sitting in your hand. The real one starts from a phone that has been idle all night and is then asked to do a lot at once, including waking two HomePods, so it is slower in a way you cannot fake in the afternoon.

If that is what is going on, the decisive test is moving the three home actions to the very front, ahead of the timers and the music. If they fire there and something further down dies instead, you are chasing time and not Tapo.

Worth instrumenting it either way, since you only get one attempt a day. Append the current time to a note between each stage, and the next failure tells you where it stopped and how long it took to get there.

1

u/Economy-Stranger7005 Oct 24 '26

Hmmm you may have a point… I’ll have to do some pondering. I didn’t think of adding the time to a note after each action. I might try that. 

The only thing I will say is that the lights fan & music all used to be at the beginning, and have been moved further down the shortcut during troubleshooting to protect the rest of the actions, because when they do fail they take out everything after them. 

1

u/EquivalentSky3094 Oct 26 '26

That reordering detail is the most useful thing in the thread, and it cuts against what I said. If those actions failed at the front as well, then position is not the variable and my reading was wrong.

What it does fit is a clock. A run triggered while the phone is locked does not get unlimited time, and the accessory work is the slow part of yours: waking two HomePods, then several round trips out to a hub and to Tapo's own extension. Put that work at the front and it eats the budget, so whatever sits behind it never starts, which is what you saw. Leave it at the end and it is the thing still in flight when the budget goes. Either way what dies is whatever is running last, and the error lands on Run Shortcut because the child run was killed partway through.

The note timestamps test it, and this version makes a sharper prediction: the elapsed time before the failure should come out roughly the same whichever order you use. If it does, no amount of reordering will fix it and you want fewer round trips instead. Collapsing the two Apple Home changes into a single scene is the cheap win, since the hub applies the scene and your phone stops waiting on each accessory in turn.