Not working Send a message on behalf of a communication in a chat conversation

I cant send message using "Send a message on behalf of a communication in a chat conversation." API. Please find my conversation and communication id,
conversationId : d180f1b3-a30c-4ba1-b5c9-92004abebeb4
communicationId : d91402b7-fb10-413e-b5c3-72c72a2a900f

Getting the below response,
{
"message": "Not Found",
"code": "chat.error.not.found",
"status": 404,
"messageWithParams": "Not Found",
"messageParams": {},
"contextId": "265a572c-d2f4-43d1-a826-606bb0115599",
"details": [],
"errors": []
}

I got the communicationId from the GetConversation API,
{"id":"d180f1b3-a30c-4ba1-b5c9-92004abebeb4","startTime":"2021-10-12T19:34:56.679Z","participants":[{"id":"03c34521-ddec-4348-96cb-e52d2aacca31","startTime":"2021-10-12T19:34:56.679Z","connectedTime":"2021-10-12T19:34:56.679Z","queueId":"d3e13ca3-ea85-4af3-b9c7-4827600695d6","queueName":"Edenred Chat Queue - Dev","purpose":"customer","wrapupRequired":false,"attributes":{"ivr.DistributionGroup":null},"calls":[],"callbacks":[],"chats":[{"state":"connected","id":"9f0fab45-d9b7-45b9-a122-85e5c370aaa3","roomId":"NONE","segments":[{"startTime":"2021-10-12T19:34:56.679Z","type":"Interact","howEnded":"Disconnect","endTime":null,"disconnectType":null}],"held":false,"direction":"inbound","connectedTime":"2021-10-12T19:34:56.69Z","provider":"","afterCallWorkRequired":false,"disconnectType":null,"disconnectedTime":null,"startAlertingTime":null}],"cobrowsesessions":[],"emails":[],"messages":[],"screenshares":[],"socialExpressions":[],"videos":[],"endTime":null,"name":"12Mina12 12Gigli12","conversationRoutingData":null,"userUri":null,"userId":null,"wrapupPrompt":null,"wrapupTimeoutMs":null,"alertingTimeoutMs":null},{"id":"76386d59-0609-4075-afec-1a8b01412917","startTime":"2021-10-12T19:34:56.681Z","connectedTime":"2021-10-12T19:34:56.681Z","queueId":"d3e13ca3-ea85-4af3-b9c7-4827600695d6","queueName":"Edenred Chat Queue - Dev","purpose":"acd","wrapupRequired":false,"attributes":{"ivr.DistributionGroup":"d3e13ca3-ea85-4af3-b9c7-4827600695d6"},"calls":[],"callbacks":[],"chats":[{"state":"disconnected","id":"e65d6106-c35e-420d-99e9-8de97333ba26","roomId":"NONE","segments":[{"startTime":"2021-10-12T19:34:56.681Z","type":"Interact","howEnded":"Disconnect","endTime":"2021-10-12T19:35:05.936Z","disconnectType":"transfer"}],"held":false,"direction":"inbound","connectedTime":"2021-10-12T19:34:56.72Z","provider":"","afterCallWorkRequired":false,"disconnectType":"transfer","disconnectedTime":"2021-10-12T19:35:05.936Z","startAlertingTime":null}],"cobrowsesessions":[],"emails":[],"messages":[],"screenshares":[],"socialExpressions":[],"videos":[],"endTime":"2021-10-12T19:35:05.936Z","name":"Edenred Chat Queue - Dev","conversationRoutingData":{"queue":{"id":"d3e13ca3-ea85-4af3-b9c7-4827600695d6","selfUri":"/api/v2/routing/queues/d3e13ca3-ea85-4af3-b9c7-4827600695d6"},"language":{"id":""},"priority":0,"skills":[],"scoredAgents":[]},"userUri":null,"userId":null,"wrapupPrompt":null,"wrapupTimeoutMs":null,"alertingTimeoutMs":null},{"id":"9805cd34-f92d-478b-adca-b352e5a860c4","startTime":"2021-10-12T19:34:56.778Z","connectedTime":"2021-10-12T19:35:05.934Z","queueId":"d3e13ca3-ea85-4af3-b9c7-4827600695d6","queueName":"Edenred Chat Queue - Dev","purpose":"agent","wrapupRequired":true,"attributes":{"ivr.DistributionGroup":null},"calls":[],"callbacks":[],"chats":[{"state":"connected","id":"d91402b7-fb10-413e-b5c3-72c72a2a900f","roomId":"NONE","segments":[{"startTime":"2021-10-12T19:34:56.778Z","type":"Alert","howEnded":"Interact","endTime":"2021-10-12T19:35:05.934Z","disconnectType":null},{"startTime":"2021-10-12T19:35:05.934Z","type":"Interact","howEnded":"Disconnect","endTime":null,"disconnectType":null}],"held":false,"direction":"inbound","connectedTime":"2021-10-12T19:35:05.934Z","provider":"","afterCallWorkRequired":false,"disconnectType":null,"disconnectedTime":null,"startAlertingTime":"2021-10-12T19:34:56.82Z"}],"cobrowsesessions":[],"emails":[],"messages":[],"screenshares":[],"socialExpressions":[],"videos":[],"endTime":null,"name":"Anbarasan Sadagopi","conversationRoutingData":{"queue":null,"language":null,"priority":0,"skills":[],"scoredAgents":[]},"userUri":"/api/v2/users/d018b060-3157-40e4-b669-7b5cc3bd6a73","userId":"d018b060-3157-40e4-b669-7b5cc3bd6a73","wrapupPrompt":"timeout","wrapupTimeoutMs":120000,"alertingTimeoutMs":30000}],"recordingState":"NONE","divisions":[{"division":{"division":null,"entities":null},"entities":[{"id":"d3e13ca3-ea85-4af3-b9c7-4827600695d6","selfUri":"/api/v2/routing/queues/d3e13ca3-ea85-4af3-b9c7-4827600695d6"},{"id":"d018b060-3157-40e4-b669-7b5cc3bd6a73","selfUri":"/api/v2/users/d018b060-3157-40e4-b669-7b5cc3bd6a73"}]}],"selfUri":"/api/v2/conversations/d180f1b3-a30c-4ba1-b5c9-92004abebeb4"}

The 404 response appears to be a legitimate response as far as I can tell. Please open a case with Genesys Cloud Care to investigate further if you believe this error is incorrect.

We are using Genesis call support for our company : Edenred. Now we want to enable chat bot for the agents.
We already have an existing chat bot running in our application, in that if user types agent, we want to call "Transfer to ACD agent" API. Can you please help us on this?

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.