Failed to load attachment Response could not be serialized, input data was nil or zero length. iOS Notification from an image/video from UniFi Protect - What is this error and how to fix?

What does this error mean and does anyone have recommendations for the fix?

“Failed to load attachment
Response could not be serialized, input data was nil or zero length.”

I’ve been using the UniFi Protect Blueprints for a few years, which have been generally great. One of my 12 cameras started reporting this error when pushing notifications to my iOS devices, so I posted this last year, but I haven’t found anything helpful in resolving the issue.

Now it seems the issue has gotten worse, which may be due to some change in UniFi Protect. What’s happening is that when the automation detects a person or vehicle, it will sometimes find the snapshot and send it correctly to my iOS device, but within a few seconds, the snapshot in the iOS notification is changed to this “Failed to load attachment” error. And it’s not consistent across cameras.

I also understand this Blueprint is no longer maintained by the author, so I’m evaluating options. I liked how this one would originally show a snapshot in the notification and then play the clip with a long press, but I may just have to revert back to an easy snapshot notification. Any ideas?

I am in the same boat. My notification just won’t show any images, and if I hold on it won’t show any actions anymore. Not sure what happened and what to do.