Nandkishor_Yadav | 2021-09-20 12:31:56 UTC | #1
{ "message": "The request could not be understood by the server due to malformed syntax.", "code": "bad.request", "status": 400, "messageParams": {}, "contextId": "af3bfab9-9ac0-4396-b2d2-edbd18ce0a59", "details": [ { "errorCode": "ACTION.REMOTEENDPOINT" } ], "errors": [ { "message": "REST call for action execute failed. Message:Request to backend service failed. Response from web service: {\"message\":\"The request could not be understood by the server due to malformed syntax.\",\"code\":\"bad.request\",\"status\":400,\"contextId\":\"f5f97c93-2a80-408c-850e-00349e6404be\",\"details\":[],\"errors\":[]} [af3bfab9-9ac0-4396-b2d2-edbd18ce0a59]", "code": "BADREQUEST", "status": 400, "messageParams": {}, "details": [], "errors": [] } ] }
Any help? I am attaching an export of my data action.
Add-Callback-Request-20210920132745.custom.json|attachment (1.6 KB)
Jason_Mathison | 2021-10-01 09:44:07 UTC | #2
Looking at the example of using this api in the api explorer https://developer.genesys.cloud/developer-tools/#/api-explorer
It looks like it expects you to send an array of values, not a single object. [ {New Item for Contact List} ]
--Jason
Nandkishor_Yadav | 2021-09-20 13:55:59 UTC | #3
Appreciate for pointing out the problem, Jason. It's solved now.
John_Carnell | 2021-09-20 18:33:42 UTC | #4
Thanks Jason for the comments.
system | 2021-10-21 18:34:16 UTC | #5
This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.
This post was migrated from the old Developer Forum.
ref: 12063