Legacy Dev Forum Posts

 View Only

Sign Up

The provided request is empty

  • 1.  The provided request is empty

    Posted 06-05-2025 18:43

    Hampus_Nygren | 2022-10-04 09:26:25 UTC | #1

    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.REMOTEENDPOINT" } ], "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": "BADREQUEST", "status": 400, "messageParams": {}, "details": [], "errors": [] } ] }


    Jason_Mathison | 2022-10-04 14:00:02 UTC | #2

    I suggest starting with this troubleshooting step:

    https://help.mypurecloud.com/articles/custom-action-fails-for-unexpected-reason/

    --Jason


    John_Carnell | 2022-10-04 14:00:06 UTC | #3


    This post was migrated from the old Developer Forum.

    ref: 16578