Getting “Failed when querying Provider REST API” while integrating messaging in pipedrive

Hi,
we are integrating messaging app extension. The flow works fine till creating the channel then pipedrive hits our getConversation endpoint and we send the bekow json to pipedrive but the we get the below mentioned exception in created channel api (because pipedrive is internally calling getConversation when we calll its create channel api).

JSON :

{
“success”: true,
“data”: [
{
“id”: “3ad344c6-8b8a-4389-84be-66fc13b0b5b8”,
“link”: “string”,
“status”: “open”,
“seen”: true,
“next_messages_cursor”: null,
“messages”: [
{
“id”: “3ad344c6-8b8a-4389-84be-66fc13b0b5b8”,
“status”: “sent”,
“created_at”: “2022-03-29T06:38:06.913Z”,
“message”: “string”,
“sender_id”: “string”,
“reply_by”: “2022-03-29T06:38:06.913Z”,
“attachments”: [
{
“id”: “3ad344c6-8b8a-4389-84be-66fc13b0b5b8”,
“type”: “string”,
“name”: “string”,
“size”: 0,
“url”: “string”,
“preview_url”: “www.google.com
}
]
}
],
“participants”: [
{
“id”: “3ad344c6-8b8a-4389-84be-66fc13b0b5b8”,
“name”: “string”,
“role”: “end_user”,
“avatar_url”: null
},
{
“id”: “3ad344c6-8b8a-4389-84be-66fc13b0b5b8”,
“name”: “string”,
“role”: “source_user”,
“avatar_url”: null
}
],
“additional_data”: {
“after”: null
}
}
]
}

Exception :

400 Bad Request: “{“success”:false,“error”:“Failed when querying Provider REST API”,“error_info”:“Please check the reference docs in https://developers.pipedrive.com/docs/api/v1",“data”:{“reason”:"Validation failed:\n{\n "additional_data": "Expected { before?: string | null; after?: string | null; }, but was missing"\n}.\nObject should match { data: { link: string; id: string; status: unknown; seen: boolean; next_messages_cursor: string | null; messages: { id: string; status: unknown; created_at: string; message: string; sender_id: string; attachments: { id: string; type: string; name: string | null; size: number | null; url: string; preview_url: string | null; link_expires?: boolean; }; reply_by?: string | null; }; participants: { id: string; name: string; role: unknown; avatar_url?: string | null; avatar_expires?: boolean; fetch_avatar?: boolean; platform?: string; }; }; additional_data: { before?: string | null; after?: string | null; }; }”,“url”:“https://demo.telephonycloud.co.in/crm-apis/pipedrive/api/channels/1/conversations",“validationDetails”:{“additional_data”:"Expected { before?: string | null; after?: string | null; }, but was missing”}},“additional_data”:{“code”:“PROVIDER_API_ERROR”}}”

Could anyone please look into this.

Thanks & Regards

additional_data should be in same level as data
{“success”: , “data”: , “additional_data”: {} }