Data action fails with “Unexpected token < in JSON at position 0” when hitting our Cognigy endpoint. The response is definitely JSON but the Architect step bombs. Here’s the config:
{
"method": "POST",
"url": "https://api.cognigy.com/v1/profiles",
"headers": {
"Authorization": "Bearer ${token}"
}
}
What’s wrong with the mapping?