# Cannot make the attachment disappear after hitting updated button

**URL:** <https://forum.mattermost.com/t/cannot-make-the-attachment-disappear-after-hitting-updated-button/10173>\
**Category:** Troubleshooting\
**Created:** [July 24, 2020, 3:51pm UTC](https://forum.mattermost.com/t/cannot-make-the-attachment-disappear-after-hitting-updated-button/10173 "2020-07-24T15:51:32Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![minhvv13](https://avatars.discourse-cdn.com/v4/letter/m/d9b06d/32.png) [@minhvv13](https://forum.mattermost.com/u/minhvv13)\
**Post date:** [July 24, 2020, 3:51pm UTC](https://forum.mattermost.com/t/cannot-make-the-attachment-disappear-after-hitting-updated-button/10173/1 "2020-07-24T15:51:32Z")

</div>

According to this documentation, the attachement supposed to disappear after hitting the updated button ( see the gif ): [https://docs.mattermost.com/developer/interactive-messages.html#message-buttons](https://docs.mattermost.com/developer/interactive-messages.html#message-buttons)

But the problem is after my respond message has been sent, the attachement won’t disappear. Please help me. Thank you!

 ![untitled (1)](https://us1.discourse-cdn.com/flex020/uploads/mattermost/original/2X/f/f155142e63a2bd2f9be2694a7a2b646b79b1bc87.png)

---

<div class="post-metadata">

**Author:** ![minhvv13](https://avatars.discourse-cdn.com/v4/letter/m/d9b06d/32.png) [@minhvv13](https://forum.mattermost.com/u/minhvv13)\
**Post date:** [July 25, 2020, 2:32am UTC](https://forum.mattermost.com/t/cannot-make-the-attachment-disappear-after-hitting-updated-button/10173/2 "2020-07-25T02:32:29Z")

</div>

I found another post with the same issue but no solution

> [@Interactive Message Update not replacing original](https://forum.mattermost.com/t/interactive-message-update-not-replacing-original/10016):
>
> I have an interactive message with action buttons, but when I reply to the action the original message is not being replaced. Instead, a new message is appearing above the original message: [Untitled] This worked properly before (I don’t know which version MM — we’re currently on 5.23.1), and as far as we can tell nothing changed with our integration that would affect this. Original message payload: { "channel": "test-channel", "attachments": [ { "actions": [ …

---

<div class="post-metadata">

**Author:** ![amy.blais](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/amy.blais/32/7481_2.png) [@amy.blais](https://forum.mattermost.com/u/amy.blais)\
**Post date:** [July 27, 2020, 11:35pm UTC](https://forum.mattermost.com/t/cannot-make-the-attachment-disappear-after-hitting-updated-button/10173/3 "2020-07-27T23:35:25Z")

</div>

I have asked our team to try and reproduce this. Waiting for a response,

---

<div class="post-metadata">

**Author:** ![saturnino](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/saturnino/32/1353_2.png) [@saturnino](https://forum.mattermost.com/u/saturnino)\
**Post date:** [July 29, 2020, 1:51pm UTC](https://forum.mattermost.com/t/cannot-make-the-attachment-disappear-after-hitting-updated-button/10173/4 "2020-07-29T13:51:16Z")

</div>

@minhvv13 Thank you for the report. I’m able to reproduced. Ticket has been filed to further check - [https://mattermost.atlassian.net/browse/MM-27369](https://mattermost.atlassian.net/browse/MM-27369)

---

<div class="post-metadata">

**Author:** ![saturnino](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/saturnino/32/1353_2.png) [@saturnino](https://forum.mattermost.com/u/saturnino)\
**Post date:** [September 11, 2020, 1:48pm UTC](https://forum.mattermost.com/t/cannot-make-the-attachment-disappear-after-hitting-updated-button/10173/5 "2020-09-11T13:48:32Z")

</div>

Hello @minhvv13! Our integrations team have updated the code examples at [https://github.com/mattermost/docs/pull/3813](https://github.com/mattermost/docs/pull/3813). Let me know if that works for you or if you have any clarification, feel free to comment in that PR (though it’s already merged).  
I’m closing this now.
