Hello,
I am currently trying to add a custom provider in Creatio by following this document. While the base setup is working, I have encountered a few issues as below:
1. Incoming Message Issue
Description:
- Messages sent to the custom receive endpoint are not displayed in the chat interface if the Sender field is missing or the sender does not exist in the Contact Identity table.
Sample Payload:
{
"Recipient": "12345678",
"Message": "Hello How Are you?",
"Sender": "1414291595",
"Timestamp": "0"
}
Questions:
- If the sender is not recognized or is missing the message is not showing on Chat.
- Are these messages still stored in Creatio?
- If so, where (e.g., specific database table, logs, etc.) can we find them?
- Is there a recommended approach for handling unknown senders?
- Sometimes even if the senderid is correct, the chatID is showing null (Chat is not created)
2. Outgoing Message Error
Description:
Sending a message from the Creatio chat UI results in the following error:
"Error while sending the message."
Findings:
- The issue appears to be that the internal method OmnichannelOutcomeMessagingService.SendMessage expects a ChannelName in the payload which seems to be missing when trying to send from Default chat module. This was verified by testing in Postman—adding ChannelName manually in payload allows the message to be sent successfully.
Questions:
- How can we programmatically include ChannelName in the payload used by the chat component as it is part of a locked file?
Can anyone please guide me with this?
Like
0 comments