Incorrect root_id when reply a message in threads

Hello, I am using the API to respond to messages.
For the response to the first thread, the root_id is working well, but when responding to subsequent messages in the threads, Mattermost is responding with an incorrect root_id.
What should I do to fix this?

Hi @LeviHana432! Thanks for reaching out. It sounds like the root_id might not be set correctly for thread replies. Check the Create Post API docs to ensure each reply uses the correct root_id. :rocket: