# Updating and saving topic on button press results in 404 not found

**URL:** <https://meta.discourse.org/t/updating-and-saving-topic-on-button-press-results-in-404-not-found/56922>\
**Category:** Development\
**Created:** [4. Februar 2017 um 23:51 UTC](https://meta.discourse.org/t/updating-and-saving-topic-on-button-press-results-in-404-not-found/56922 "2017-02-04T23:51:41Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![Janno\_Liivak](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/janno_liivak/32/352215_2.png) [@Janno\_Liivak](https://meta.discourse.org/u/Janno_Liivak)\
**Post date:** [4. Februar 2017 um 23:51 UTC](https://meta.discourse.org/t/updating-and-saving-topic-on-button-press-results-in-404-not-found/56922/1 "2017-02-04T23:51:41Z")

</div>

I have a plugin which places a button after main buttons. When pressing a button I would like to update topic and save it. But topic.save(props); results in 404 not found. Debugging reveals that Discourse is trying to PUT at /topics/:topic\_id instead of /t/:topic\_id. Is there something I’m doing wrong or is it a bug?

---

_[View the full topic](https://meta.discourse.org/t/updating-and-saving-topic-on-button-press-results-in-404-not-found/56922)._
