# Cannot update metadata of post

**URL:** <https://forum.social.plus/t/cannot-update-metadata-of-post/188>\
**Category:** Web\
**Tags:** technical\
**Created:** [June 29, 2021, 7:40am UTC](https://forum.social.plus/t/cannot-update-metadata-of-post/188 "2021-06-29T07:40:01Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jing](https://avatars.discourse-cdn.com/v4/letter/j/71e660/32.png) [@jing](https://forum.social.plus/u/jing)\
**Post date:** [June 29, 2021, 7:40am UTC](https://forum.social.plus/t/cannot-update-metadata-of-post/188/1 "2021-06-29T07:40:01Z")

</div>

Hello Amity,

We have a requirement that needs to update the metadata field of a post while the post does not need to have data type `text`?

Is this possible to enable this action ?

currently, we hit an error saying

![Screen Shot 2564-06-29 at 14.33.27](https://europe1.discourse-cdn.com/flex013/uploads/amity/original/1X/9b62edceeb50f425a47fabfe4d11f822b37aac65.png)

The post data is only metadata field

![Screen Shot 2564-06-29 at 14.33.20](https://europe1.discourse-cdn.com/flex013/uploads/amity/original/1X/2a70526a4e5dab7399652eccedcdf947d01ee57a.png)

Should this action allow? since we have to use the dataType field for other purposes not just `text`

Or please give us a suggestion, Thank you

Best,  
Jing

---

<div class="post-metadata">

**Author:** ![stevenamity](https://avatars.discourse-cdn.com/v4/letter/s/bbe5ce/32.png) [@stevenamity](https://forum.social.plus/u/stevenamity)\
**Post date:** [June 29, 2021, 9:00am UTC](https://forum.social.plus/t/cannot-update-metadata-of-post/188/2 "2021-06-29T09:00:59Z")

</div>

@jing

Thanks for asking!

Currently only “text” is supported for updating, but your data has the posts[x].dataType == content.movie

please do not set that field explicitly if you intend to update the post thereafter. Hope this helps

---

<div class="post-metadata">

**Author:** ![jing](https://avatars.discourse-cdn.com/v4/letter/j/71e660/32.png) [@jing](https://forum.social.plus/u/jing)\
**Post date:** [June 29, 2021, 9:38am UTC](https://forum.social.plus/t/cannot-update-metadata-of-post/188/3 "2021-06-29T09:38:20Z")

</div>

Thanks @stevenamity

we would change dataType to `text` only.
