I have a workflow to call an API and pass the output (Response code & Message of Response Body) to variables.
When API call is success, I can see both Response code and Response body with information in output file. But when there is error I don't see any information available in variables. When I do test API, for success: variables are populated and for failure: I get a popup with error message.
Is there a way to pass failure code & message to variables?