Can anyone clarify the specific payload schema requirements for updating an existing ServiceNow incident via the Genesys Cloud Architect Data Action connector? We are encountering a 422 Unprocessable Entity error when attempting to transition an incident from state: 1 (New) to state: 3 (In Progress) based on a digital channel conversation trigger.
The error response from ServiceNow indicates a validation failure on the work_notes field, specifically complaining about an unexpected character encoding. The webhook payload is constructed using the standard conversation:participant:detail event, with the agent’s last utterance mapped directly to the work_notes parameter. We have verified that the ServiceNow REST API endpoint (/api/now/table/incident) accepts manual POST requests with identical JSON structures using Postman, suggesting the issue lies within the Genesys Cloud data transformation layer.
Environment details:
- Genesys Cloud Region:
europe-west-2 - Architect Version:
v1.4.2 - ServiceNow Version:
Washington DC - Integration Type:
OAuth 2.0 Client Credentials
Has anyone encountered similar serialization issues when passing multi-line text from Genesys digital channels into ServiceNow? We suspect the newline characters (\n) might not be escaping correctly within the Data Action JSON mapper. Any insights on configuring the payload formatter to handle UTF-8 encoding explicitly would be appreciated.