Data Action fails to parse the response from our Cognigy integration. The payload returns a profileToken string, but the JSON mapping throws a Cannot read property 'sub' of undefined error in the Architect logs. Here is the request body:
{
"url": "https://api.cognigy.ai/v1/profiles",
"method": "POST",
"body": {"externalId": "{{interaction.contactId}}"}
}
The response is valid JSON, just not the shape the mapping expects. Anyone hit this?