This topic was automatically generated from Slack. You can find the original thread here.
Is there any way to know if a pipedream action failed? One idea is to look at the os return and see if anything that mentions “error” in there. But it seems like that field is not always populated and that it is an “any” type, so unclear to me if it can be relied upon.
Yea, the nuance is that that call didn’t fail in Pipedream, it failed in the upstream API. We will only 4**** on you in the case of a bad payload, etc.
Got it - is there a guarantee that os will always be an array returned? trying to think of best way to parse it - it’s typed as “any” in the api docs and “unknown” in the SDK