Maragatham | 2023-02-23 13:23:04 UTC | #1
Hi Team,
We are getting below error message from Web Service in Data Action. However getting proper json response in Postman.
{ "message": "The request could not be understood by the server due to malformed syntax.", "code": "bad.request", "status": 400, "messageParams": {}, "contextId": "bd00fcdd-a123-48fd-aa80-a8330b6f7211", "details": [ { "errorCode": "ACTION.REMOTEENDPOINT" } ], "errors": [ { "message": "REST call for action execute failed. Message: Request to backend service failed. Response from web service: {\r\n \"sessionId\": \"XXX\",\r\n \"transactionId\": \"XXX\",\r\n \"message\": \"XXX\",\r\n \"errorCode\": \"XXX\"\r\n} [bd00fcdd-a123-48fd-aa80-a8330b6f7211]", "code": "BADREQUEST", "status": 400, "messageParams": {}, "details": [], "errors": [] } ] } We tried adding Transfer-Encoding as buffered in header also.But still same issue.
Jason_Mathison | 2023-02-23 18:13:54 UTC | #2
Hi Maragatham,
The error is indicating that the remote endpoint returned a response code of 400. The response from the remote endpoint appears to be valid json. I would check if the message or errorCode contained in that response indicates what is wrong with the request.
--Jason
Maragatham | 2023-02-27 08:30:06 UTC | #3
Sure.We will request for the verification at End point.
system | 2023-03-30 08:31:04 UTC | #4
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: 18551