Legacy Dev Forum Posts

 View Only

Sign Up

POST Web service data action Problem

  • 1.  POST Web service data action Problem

    Posted 06-05-2025 18:41

    Andres_Moya | 2019-10-29 16:08:46 UTC | #1

    Dears,

    I am trying to integrate a Web Service (Post) of Oracle Service Cloud and Purecloud with data actions based on HTTPS. When make a test I receive the following error:

    { "status": 500, "code": "internal.server.error", "message": "The server encountered an unexpected condition which prevented it from fulfilling the request.", "messageParams": {}, "contextId": "3aca1f3b-f38e-457f-8145-9f8af9ee627a", "details": [ { "errorCode": "ACTION.REMOTEENDPOINT" } ], "errors": [ { "status": 500, "code": "INTERNALSERVER_ERROR", "message": "REST call for action execute failed. Message:Unable to send message after 2 attempts, due to: NonRepeatableRequestException: Cannot retry request with a non-repeatable request entity. [3aca1f3b-f38e-457f-8145-9f8af9ee627a]", "messageParams": {}, "details": [], "errors": [] } ] }

    The error as it is shown is more related to "Cannot retry request with a non-repeatable request entity". When I use get services from the same WebService I have no problem. Any ideas to solve this issue?

    Thank you and best regards, Amoya


    Jason_Mathison | 2019-10-29 16:38:58 UTC | #2

    Hi Amoya,

    I took a look at the context ID, and we don't really have any additional details about what is going wrong.

    One thing to try is this: https://help.mypurecloud.com/articles/custom-action-fails-for-unexpected-reason/

    If that doesn't help then please open up a case with customer care so that we can get a copy of your data action and reproduce this problem.

    --Jason


    Becky_Powell | 2019-10-29 17:02:36 UTC | #3

    Hi Amoya,

    You might also want to reference this page - see the section entitled "ACTION.REMOTE_ENDPOINT."

    This error code indicates that an error occurred at the remote endpoint, but not does not involve PureCloud.

    I also found quite a bit of information on stackoverflow on this error - perhaps it will help you: https://stackoverflow.com/questions/8222929/httppost-failed-due-to-cannot-retry-request-with-a-non-repeatable-request-entit

    --Becky


    Andres_Moya | 2019-10-29 17:31:26 UTC | #4

    Thanks Jason!

    adding the header: "Transfer-Encoding": "buffered", execute the action without any inconvenience.

    Best Regards, Andres Moya


    system | 2019-11-29 17:35:03 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: 6357