Genesys Architect Data Action failing to parse Cognigy JSON response

Hey folks,

I’m stuck on a Data Action in Genesys Cloud Architect. I need to fetch user profile data from NICE CXone (specifically the Cognigy integration) to populate attributes for a downstream flow. The Data Action is set up to call a REST API endpoint, but it keeps failing with a parsing error.

Here is the JSON payload I’m sending in the request body:

{
 "entityId": "{{contact.id}}",
 "fields": ["firstName", "lastName", "vipStatus"]
}

The response from the server looks fine in Postman, but the Data Action mapping fails. The error message in the flow trace is vague, just saying Invalid JSON structure. I’ve checked the response headers and it’s returning application/json with a 200 OK status.

The actual JSON response from the API looks like this:

{
 "status": "success",
 "data": {
 "firstName": "John",
 "lastName": "Doe",
 "vipStatus": true
 }
}

In the Data Action configuration, I’m trying to map response.data.firstName to the output attribute User.FirstName. But it seems like the parser is choking on the nested data object. I’ve tried changing the root path to just response, but that doesn’t help either.

Is there a specific way to handle nested objects in Genesys Cloud Data Actions? Or maybe the issue is with how the Cognigy token is being passed in the Authorization header? I’m using a simple Bearer token for now.

Any ideas on why the parsing would fail when the JSON looks valid? I’ve been staring at this for hours and can’t find a clear example in the docs.