Why Appian throws Internal Server Error on REST API when an interface or expression evaluation fails?
Discussion posts and replies are publicly visible
Internal Server Error relates to HTTP Response code 500 which basically means your request could not be fulfilled due to an unexpected error on the server.
Now whatever system you are integrating with, who calls the API exposed on Appian, doesn't know / care what are interfaces / expressions, and their failure in evaluation is not exactly of much use to the external system. So it's better to respond generic established messages and error codes.
And, for debugging on Appian end, detailed error messages gets logged in App server logs.
If you are interested in reading more RFC 7231 mentions in section 6.6. Server Error 5xx
Thanks for the reply. But, I am not integrating with any System and my question is specific to Appian's behavior of throwing this error when an expression or interface evaluation fails.
Hi Leela , you would need to check your expression and find out why it's failing , handling your expression and sending proper response will resolve your issue.
So, are you trying to ask why Appian gives Internal server error error instead of Expression evaluation error?
and, I didn't get your question around what do you want to know about this
Leela Venkata said:Appian's behavior of throwing this error