We are currently performing maintenance on Appian Community. As a result, discussions posts and replies are temporarily unavailable. We appreciate your patience.

Web API not returning error

There is a web api that runs a process model when data is passed in. Upon executing the process model, I receive a failure in the process model due to memory (attached below) which stops the process model. However the web api returns the success payload (error 200) rather than the error payload (error 500). Why doesn't the API return the on failure payload, and how do I configure it to return the failure payload if this memory issue arises again?

  Discussion posts and replies are publicly visible

Parents Reply
  • 0
    Certified Lead Developer
    in reply to alir5058

    What I mean is, when you test the WebAPI object, see if you are getting the datasubset as output from the called QE. You will need to find the difference in output when the data is returned vs when the data is not being returned. And then you can add it as a condition and return 500.

    Additionally, try to reduce the size of the output. Add a smaller page size. We don't really work on a large data sets

Children
No Data