Skip to main content
Question

Code step only works on replay

  • August 3, 2021
  • 1 reply
  • 28 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.

Did this topic help you find an answer to your question?
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

robschmidt
Forum|alt.badge.img+9
  • Zapier Expert
  • 617 replies
  • August 3, 2021

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.