Ihor | 2023-05-25 06:15:47 UTC | #1
I have a Genesys Bot Connector and I am trying to use /api/v2/textbots/bots/execute endpoint to send a message to an existing bot session.
Body
{ "botId": "1", "botAlias": "", "integrationId": "xxxxxx", "botSessionId": "qweqweqweq", "botChannels": ["Messaging"], "postTextMessage": { "type": "Text", "text": "sss", "content": [ { "contentType": "Text", "text": { "type": "Text", "body": "Hi How are you" } } ] } }
and I am getting an error:
{ "message": "Code: 502, Reason: Bad Gateway, msg: ", "code": "bots.bot.general.provider.failure", "status": 400, "messageParams": {}, "contextId": "cfbf6a91-a214-47eb-a7cb-b0dcd5d2f428", "details": [], "errors": [] }
Why am I getting this error? is the body look correct?
tim.smith | 2023-05-25 17:45:22 UTC | #2
Please open a case with Genesys Cloud Care. 5xx errors cannot be investigated via the dev forum.
system | 2023-06-24 17:46:03 UTC | #3
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
This post was migrated from the old Developer Forum.
ref: 20110