# Adding Reaction to Comment-Type Posts Not Working

**URL:** <https://forum.social.plus/t/adding-reaction-to-comment-type-posts-not-working/1851>\
**Category:** General\
**Created:** [January 21, 2026, 6:33am UTC](https://forum.social.plus/t/adding-reaction-to-comment-type-posts-not-working/1851 "2026-01-21T06:33:46Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mqm](https://avatars.discourse-cdn.com/v4/letter/m/4af34b/32.png) [@mqm](https://forum.social.plus/u/mqm)\
**Post date:** [January 21, 2026, 6:33am UTC](https://forum.social.plus/t/adding-reaction-to-comment-type-posts-not-working/1851/1 "2026-01-21T06:33:46Z")

</div>

Hello, our team is having issues reacting to comment-type posts.

1. First, we our attempting to use the CommentTray component as the frontend component: [Comment Tray Component | social.plus docs](https://docs.social.plus/social-plus-uikit/uikit-4/social/comment-and-reaction/comment-tray-component) (since renamed the AmityStoryTabComponent).
2. Posting a comment is successful:
  1. We POST to `/api/v3/comments`
  2. Request:
    1. 

```auto
{"referenceId":"wlc-2026-01-19","referenceType":"content","data":{"text":"Here is another comment."},"mentionees":[],"metadata":{"mentioned":[]}}

```

    2. In the response object, the `comment` does have ` "referenceType": "content",`, and the id/commentId is set to :  
` "_id": "696fc0d80b1a94a57661c65b",￼ "commentId": "696fc0d80b1a94a57661c65b",`

  3. Reacting to the comment is NOT successful:
    1. POST `/api/v2/reactions`
    2. Request:
      1. 

```auto
{"referenceId":"696fc0d80b1a94a57661c65b","referenceType":"comment","reactionName":"like"}

```

      2. Note the `referenceId` above matches the id of the posted comment

    3. Response:
      1. 

```auto
{
    "status": "error",
    "message": "reaction validation failed: targetId: Cast to ObjectId failed for value \"wlc-2026-01-19\" (type string) at path \"targetId\" because of \"BSONError\", targetType: `content` is not a valid enum value for path `targetType`.",
    "code": 500000,
    "data": {
        "detail": []
    }
}

```

    4. According to the API documentation, this is the correct structure for the request object to that endpoint: [Social+ API Reference](https://api.docs.social.plus/#tag/reaction/post/api/v2/reactions)
      1. NOTE: These API requests are constructed by the UIKit, we are not building it directly

Overall, it looks like the API is NOT accepting reactions on posts that have a `referenceType` of `comment` - but there is no obvious reason why that is the case.

---

<div class="post-metadata">

**Author:** ![SocialPlus\_Support](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.social.plus/socialplus_support/32/798_2.png) [@SocialPlus\_Support](https://forum.social.plus/u/SocialPlus_Support)\
**Post date:** [January 21, 2026, 11:04am UTC](https://forum.social.plus/t/adding-reaction-to-comment-type-posts-not-working/1851/2 "2026-01-21T11:04:29Z")

</div>

Hello @mqm, thanks for sharing the detailed information. We’ve escalated this to the team to investigate and will keep you posted once we have an update.

---

<div class="post-metadata">

**Author:** ![mqm](https://avatars.discourse-cdn.com/v4/letter/m/4af34b/32.png) [@mqm](https://forum.social.plus/u/mqm)\
**Post date:** [February 11, 2026, 6:52pm UTC](https://forum.social.plus/t/adding-reaction-to-comment-type-posts-not-working/1851/3 "2026-02-11T18:52:45Z")

</div>

Our team was informed that this has fix has been implemented?
