We are building a handover flow from CXone Studio to a NICE Cognigy Voicebot. The GetRESTProxy call to the bot endpoint returns a 502 Bad Gateway error. The script uses the ASSIGN action to set the JSON payload with the session_id and caller_id. The endpoint works fine in Postman with the same headers.
Here is the snippet:
{
"call": "GetRESTProxy",
"method": "POST",
"url": "https://api.cognigy.ai/v1/bot/trigger",
"headers": {
"Authorization": "Bearer {{global.authToken}}",
"Content-Type": "application/json"
},
"body": "{'session': '{{interaction.id}}', 'caller': '{{interaction.phoneNumber}}'}"
}
The error logs show a timeout on the proxy layer. Is there a specific timeout setting in Studio that overrides the default? We are using CXone 24.2.