Skip to main content

Has anyone encountered a problem with code steps (Python) where the code fails the first time it is run, but works perfectly when the task is replayed?

I have a zap that seems to do this on each run?

I’ve also run the code locally on my machine and it works perfectly.

Hi @KataKata 

I used python in several zaps and they work fine, although zapier doesn’t have the full-blown python libraries or functions for that matter.

If this keeps happening, you can try using “webhook by Zapier” for API requests or use Javascript code step.