# Cannot create post object with targetType content

**URL:** <https://forum.social.plus/t/cannot-create-post-object-with-targettype-content/181>\
**Category:** Web\
**Tags:** technical\
**Created:** [June 18, 2021, 11:04am UTC](https://forum.social.plus/t/cannot-create-post-object-with-targettype-content/181 "2021-06-18T11:04:05Z")\
**Posts on this page:** 4\
**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 18, 2021, 11:04am UTC](https://forum.social.plus/t/cannot-create-post-object-with-targettype-content/181/1 "2021-06-18T11:04:05Z")

</div>

Hello Amity,

We tryied to create a post object via rest API directly with specify postId and targetType content  
here is the example of our post request.

 ![Screen Shot 2564-06-18 at 16.22.07](https://europe1.discourse-cdn.com/flex013/uploads/amity/original/1X/773d1c1a1a23cd5ddd2f375adcd2b916d5775476.png)

we get the error response like this

![Screen Shot 2564-06-18 at 16.22.15](https://europe1.discourse-cdn.com/flex013/uploads/amity/original/1X/7ef09701d098edaa4ab4a3cd347c95601a19f639.png)

Please give us solution. the idea is that we don’t want to create targetType user which is the default if we don’t pass this parameter since the post might interfere with the user feed.

Thank you in advance

---

<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 19, 2021, 11:06am UTC](https://forum.social.plus/t/cannot-create-post-object-with-targettype-content/181/2 "2021-06-19T11:06:06Z")

</div>

Hi @jing thanks for letting us know, the team is looking into it and will keep you posted.

---

<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 21, 2021, 8:23am UTC](https://forum.social.plus/t/cannot-create-post-object-with-targettype-content/181/3 "2021-06-21T08:23:21Z")

</div>

@jing Our team has found the issue and will deploy a patch tomorrow. Thanks for your patience

---

<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 22, 2021, 4:24am UTC](https://forum.social.plus/t/cannot-create-post-object-with-targettype-content/181/4 "2021-06-22T04:24:51Z")

</div>

@jing Our team has applied the patch on production, please have a check and let us know if you still face the same issue, thanks for your patience.
