# Can't update a topic's body by API

**URL:** <https://meta.discourse.org/t/cant-update-a-topics-body-by-api/264640>\
**Category:** Development\
**Tags:** rest-api\
**Created:** [May 11, 2023, 12:05pm UTC](https://meta.discourse.org/t/cant-update-a-topics-body-by-api/264640 "2023-05-11T12:05:50Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Lilly](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lilly/32/575047_2.png) [@Lilly](https://meta.discourse.org/u/Lilly)\
**Post date:** [May 11, 2023, 1:01pm UTC](https://meta.discourse.org/t/cant-update-a-topics-body-by-api/264640/2 "2023-05-11T13:01:55Z")

</div>

just a guess from looking at the code, but perhaps it may be because you are using `topic_id` instead of `post_id`? because first post is the topic in Discourse, more or less?

---

_[View the full topic](https://meta.discourse.org/t/cant-update-a-topics-body-by-api/264640)._
