Data Action 400 Error: Zendesk Ticket Fields to Genesys Cloud Custom Data

Quick question, has anyone seen this weird error? with the Data Action configuration during our Zendesk to Genesys Cloud migration. We are trying to map legacy Zendesk ticket fields to Genesys Cloud Custom Data using the REST API integration, but the flow consistently fails with a 400 Bad Request. The error payload indicates a validation issue with the custom data definition, specifically around the data type mapping.

The environment is EU1, and we are using the standard Architect Data Action node. The Zendesk field is a simple string, which should map directly to a Genesys Cloud Custom Data field of type ‘string’.

Here is the Data Action configuration YAML:

actionType: restApi
httpMethod: POST
url: https://api.eu.genesiscloud.com/v2/customdata/definitions
headers:
 Content-Type: application/json
 Authorization: Bearer {{access_token}}
body:
 name: zdesk_priority_mapping
 dataType: string
 label: Zendesk Priority
 description: Migrated from Zendesk ticket priority field

The error response is:

{
 "errors": [
 {
 "code": "INVALID_REQUEST_BODY",
 "message": "Field 'dataType' must be one of: string, number, boolean, date, datetime"
 }
 ]
}

This is confusing because ‘string’ is clearly a valid type according to the documentation. Is there a specific format requirement for the body in the Data Action that differs from the standard API? We need this mapping to work for our reporting dashboard migration.