Question

Code step only works on replay

  • 3 August 2021
  • 1 reply
  • 26 views

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.


This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

1 reply

Userlevel 7
Badge +9

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.