The provided request is empty

Hi,

I'm trying to POST data to a 3rd party API using a data action and all is well.

But if the request body contain a lot of text, I cant see the exact number but I guess its close to 1000 characters. It will fail with the following error. Is there a limit on request body characters?

{
  "message": "The request could not be understood by the server due to malformed syntax.",
  "code": "bad.request",
  "status": 400,
  "messageParams": {},
  "contextId": "6f6a14b3-b079-4e08-9225-3245bcd07e2a",
  "details": [
    {
      "errorCode": "ACTION.REMOTE_ENDPOINT"
    }
  ],
  "errors": [
    {
      "message": "REST call for action execute failed. Message: Request to backend service failed. Response from web service: {\"Message\":\"The provided request is empty.\"} [6f6a14b3-b079-4e08-9225-3245bcd07e2a]",
      "code": "BAD_REQUEST",
      "status": 400,
      "messageParams": {},
      "details": [],
      "errors": []
    }
  ]
}

I suggest starting with this troubleshooting step:

--Jason

1 Like