Hi, I am trying to build a Data Action for Agentless WhatsApp:
I am getting the following 400 error:
{ "message": "The request could not be understood by the server due to malformed syntax.", "code": "bad.request", "status": 400, "messageParams": {}, "contextId": "fbbf33a6-139f-4fc4-a288-ad66ae30d8a1", "details": [ { "errorCode": "ACTION.REMOTE_ENDPOINT" } ], "errors": [ { "message": "REST call for action execute failed. Message: Request to backend service failed. Response from web service: {\"message\":\"Bad request: Message text cannot be sent with messengerType <whatsapp>\",\"code\":\"bad.request\",\"status\":400,\"messageWithParams\":\"Bad request: {details}\",\"messageParams\":{\"details\":\"Message text cannot be sent with messengerType <whatsapp>\"},\"contextId\":\"e788abfd-f8d3-4199-9fc2-50400d1d12ab\",\"details\":[],\"errors\":[]} [fbbf33a6-139f-4fc4-a288-ad66ae30d8a1]", "code": "BAD_REQUEST", "status": 400, "messageParams": {}, "details": [], "errors": [] } ] }
The input configuration looks like this:
> {
> "title": "body",
> "type": "object",
> "properties": {
> "fromAddress": {
> "type": "string"
> },
> "toAddress": {
> "type": "string"
> },
> "toAddressMessengerType": {
> "type": "string"
> },
> "textBody": {
> "type": "string"
> }
> },
> "additionalProperties": true
> }
Any help would be greatly appreciated.