Skip to main content
Solved

Accessing and Using Raise's Output_Key After Try-Catch-Raise

  • May 22, 2026
  • 1 reply
  • 23 views

Forum|alt.badge.img

I am using Try-Catch-Raise inside Compound Action to handle error Status Code scenarios and show user static message.

Example:
Status Code 401 = return static message with a link to request access.
Status Code 500 = return static message with a link to raise incident ticket.

But for Status Code 400, I’ll need to return different message to user depends on the response error JSON object.
The Raise step has an output_key which can store the error JSON object:
 

 

May I know where and how can I access+use this output_key?
I tried adding Action/Return/Switch after the Raise, but none of them works because plugin will end gracefully after Raise.
If I change the Raise to Return (so that it is now Try-Catch-Return, no more Raise), how can I map the response’s error object in the Return?

Appreciate if anyone can give some example if achieve this before, thank you.

Best answer by Kevin Mok

Hey ​@ZeZiong.Chua - This looks to be a product limitation, we don’t expose the http errors in the compound action so you wouldn’t be able to return a certain message depending on the error code.

I believe the catch allows you to target multiple errors but not individually with multiple “catches” that would allow you to do a generic message.

I will let our team know internally about this

1 reply

Kevin Mok
Forum|alt.badge.img+2
  • Community Manager
  • Answer
  • May 26, 2026

Hey ​@ZeZiong.Chua - This looks to be a product limitation, we don’t expose the http errors in the compound action so you wouldn’t be able to return a certain message depending on the error code.

I believe the catch allows you to target multiple errors but not individually with multiple “catches” that would allow you to do a generic message.

I will let our team know internally about this