Sorry for my late reply here @angus. Yes, the issue was that the activity_pub_object didn’t exist during an undo activity.
I added a very simple fix in DEV: Fix test failures and an incompatibility with reactions by pmusaraj · Pull Request #234 · discourse/discourse-activity-pub · GitHub , I suspect eventually we’ll want something more robust here. But it should solve the current issue.