# Erro ao tentar remover ou alterar uma reação

**URL:** <https://meta.discourse.org/t/error-when-i-try-to-remove-or-change-a-reaction/375570>\
**Category:** Bug\
**Tags:** reactions, activitypub\
**Created:** [Julho 24, 2025, 6:34am UTC](https://meta.discourse.org/t/error-when-i-try-to-remove-or-change-a-reaction/375570 "2025-07-24T06:34:59Z")\
**Posts on this page:** 1\
**Showing post:** 11

<div class="post-metadata">

**Author:** ![pmusaraj](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pmusaraj/32/119489_2.png) [@pmusaraj](https://meta.discourse.org/u/pmusaraj)\
**Post date:** [Julho 31, 2025, 6:59pm UTC](https://meta.discourse.org/t/error-when-i-try-to-remove-or-change-a-reaction/375570/11 "2025-07-31T18:59:04Z")

</div>

Desculpe pela minha resposta tardia aqui @angus. Sim, o problema era que o `activity_pub_object` não existia durante uma atividade `undo`.

Adicionei uma correção muito simples em [DEV: Fix test failures and an incompatibility with reactions by pmusaraj · Pull Request #234 · discourse/discourse-activity-pub · GitHub](https://github.com/discourse/discourse-activity-pub/pull/234), suspeito que eventualmente quereremos algo mais robusto aqui. Mas isso deve resolver o problema atual.

---

_[View the full topic](https://meta.discourse.org/t/error-when-i-try-to-remove-or-change-a-reaction/375570)._
