This image shows the If condition that was added to check if an error occurred during the REST call.