I am trying to create a thread in an existing conversation using the java api. ``` ConversationThread thread = new net.helpscout.api.model.thread.Message(); thread.setType(ThreadType.Message); // Required thread.setBody(event.getMessageBody()); // Required thread.setStatus(Status.Closed); // Required PersonRef createdBy = new UserRef(); createdBy.setId(event.getUserId()); thread.setCreatedBy(createdBy); // Required client.createConversationThread(helpscoutTicketId, thread); ``` The exact error is `java.lang.RuntimeException: net.helpscout.api.exception.InvalidFormatException: The request was not formatted correctly` I don't understand why this is happening. Any ideas? Any help is appreciated. Thanks !!
I am trying to create a thread in an existing conversation using the java api.
The exact error is
java.lang.RuntimeException: net.helpscout.api.exception.InvalidFormatException: The request was not formatted correctlyI don't understand why this is happening. Any ideas? Any help is appreciated. Thanks !!