Legacy Dev Forum Posts

 View Only

Sign Up

Parsing HTTP error codes from custom data action

  • 1.  Parsing HTTP error codes from custom data action

    Posted 06-05-2025 18:41

    Michael_Huang | 2018-11-10 01:22:18 UTC | #1

    We have an endpoint that emits a different HTTP error code depending on what went wrong on our backend, and we'd like to handle errors in Architect depending on which code is returned (ie. 404 would result in different behavior than 429). Is it possible to parse HTTP error codes from a custom data action?

    It seems to me that currently only the body can be parsed upon success. In this case, we'd have to modify our endpoint to always succeed, and encapsulate the error in the body.


    Jason_Mathison | 2018-11-10 19:51:40 UTC | #2

    Hi Michael,

    It is currently not possible for a Data Action to get an HTTP error code returned to an Architect flow. You can bring up this idea at https://purecloud.ideas.aha.io/ideas .

    --Jason


    system | 2018-12-11 19:51:41 UTC | #3

    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: 3961