Hello,
It seems that managing conversations results in a failure (exception thrown) when trying to parse the conversation body while the request succeeds.
This is triggered on my end by simply managing the conversation with an assignment body.
$this->client->conversations->manage(new ManageConversationPartsRequest(
[
'conversationId' => $conversationId,
'body' => ConversationsManageRequestBody::assignment(new AssignConversationRequest(
[
'type' => AssignConversationRequestType::Admin->value,
'adminId' => $adminId,
'assigneeId' => $assigneeId,
]
))
]
));
Failed to deserialize response: Cannot deserialize value of type boolean with any of the union types: string | integer | datetime | Intercom\\Types\\CustomObjectInstanceList
at /code/vendor/intercom/intercom-php/src/Conversations/ConversationsClient.php:595
On 5.0.2
Hello,
It seems that managing conversations results in a failure (exception thrown) when trying to parse the conversation body while the request succeeds.
This is triggered on my end by simply managing the conversation with an assignment body.
On 5.0.2