Clay Icon

Adding Conditional for Error Codes to Avoid Duplicate Charges in Zenrows

Β·
Β·

Looking for a way to add conditional for Error codes i.e. Zenrows still charges you for 404 error codes. We have fallbacks when initial zenrows fails but realizing when we rerun that fallback column we're getting charge twice from zenrows since when the initial call is a 404 so will every subsequent call. Can we get the error code to use as part of the conditional to only run if it's not 404?

  • Avatar of Muhammad S.
    Muhammad S.
    Β·
    Β·

    curious, if the initial call is returning 404 indicating broken link then why do you want to rerun it again?

  • Avatar of Mike R.
    Mike R.
    Β·
    Β·

    Because an error can also be a timeout and those i do want to rerun. 404 are broken links like you mentioned so i don’t want to rerun those. Typically timeouts are like 50% of errors

  • Avatar of Clay T.
    Clay T.
    APP
    Β·
    Β·

    Hey Mike!! sorry for the delay, it's been busy!! :)

  • Avatar of Clay T.
    Clay T.
    APP
    Β·
    Β·

    Will ask if that could be added here since it doesn't currently have a way to differentiate between errors as you say.