How to remove "glance" data during app uninstall

We are developing a Connect app which links JIRA issues to our own system, and sets a glance with the number of linked issues.

When the Connect app is uninstalled, the glance property is not removed. I tried deleting it after receiving the “uninstalled” lifecycle event, but it failed with:

Issue does not exist or you do not have permission to see it.

Presumably this is because the app, and therefore associated account, have been removed so can’t delete the property.

I also tried the “disabled” lifecycle event which received the same response. I don’t know if this is because of permissions as with the “uninstalled” event, or if it’s because there was <1 second between the 2 events being fired :expressionless:

Any ideas how to remove the property?