[Problem/Question]
Hi,
when I try to use reply in thread I am passing message that I am replying to to ThreadProvider, then UI kit do a request (getReply) and in query path messageId is 0. Then API return Message not found error.
Actual message ID passed to provider is definitely not 0. When I use CURL for same request but with proper parent message id api returns correct data.
https://api-{APP_ID}sendbird.com/v3/group_channels/{channelUrl}/messages/0?is_sdk=true&with_sorted_meta_array=true&include_reactions=true&include_thread_info=true&include_parent_message_info=true&include_poll_details=true
Message I am passing to ThreadProvider:
Seems like bug to me, or am I missing something?
EDIT: it seems like messageId used in request is not acual id of message I am passing to ThreadProvider but its parentMessageId.
I manually changed parentMessageId from 0 to passed messageId, request is returning some data, but Thread component still displaying Something Went Wrong.
RESPONSE:
[UIKit Version]
“@sendbird/chat”: “4.3.0”,
“@sendbird/uikit-react”: “3.3.5”,
“react: 18.1.0”
[Reproduction Steps]
// Please provide reproduction steps and, if possible, code snippets.
[Frequency]
Always.
[Current impact]
Not able to use Threading.