# Getting error from api while editing post or topic

**URL:** https://meta.discourse.org/t/getting-error-from-api-while-editing-post-or-topic/313810
**Category:** Development
**Created:** [June 26, 2024, 2:50pm UTC](https://meta.discourse.org/t/getting-error-from-api-while-editing-post-or-topic/313810 "2024-06-26T14:50:08Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Priyanka](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/priyanka/32/408708_2.png) [@Priyanka](https://meta.discourse.org/u/Priyanka)
#### Post date: [June 26, 2024, 2:50pm UTC](https://meta.discourse.org/t/getting-error-from-api-while-editing-post-or-topic/313810/1 "2024-06-26T14:50:08Z")

</div>

Can someone help me how to edit post or topics?

In react native mobile app i am using this api to edit post https://{defaultHost}/posts/{id}.json
