Adding Reaction to Comment-Type Posts Not Working

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 (since renamed the AmityStoryTabComponent).
  2. Posting a comment is successful:
    1. We POST to /api/v3/comments
    2. Request:
      1. {"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. {"referenceId":"696fc0d80b1a94a57661c65b","referenceType":"comment","reactionName":"like"}
          
        2. Note the referenceId above matches the id of the posted comment
      3. Response:
        1. {
              "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
        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.

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.

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