Hi @conan-x
If the _zap_search_success_on_miss
is set to true
and the Zap still errors, then it means that what the API returns is not what Zapier expects. As seen here, when a value cannot be found, an empty array should be returned by the integration.
Do ensure that the search actions return an empty array when a value cannot be found. You can do this by using code mode to add a Javascript condition for this search action that if a 404 error is returned by your API (or any other status code that your API uses to signify a not-found error), an empty array should be returned. Anything other then this, then the Zap would not respect the _zap_search_success_on_miss
value
Hope that helps.
That’s exactly what I was looking for. Thanks a lot for the clarity and pointing to the docs. The Zapier docs are vast and it’s been a long time since I looked through that bit and didn’t turn up in my search engine.