HelpCode by Zapier

Code by Zapier error: "Your code had an error!"

Last updated:


You may see this error in your Code by Zapier step: "Your code had an error!".


  • Syntax error in code
  • No data in mapped fields

How to fix it

  • Review your code to check for any syntax errors. The error message displayed in the errored Zap run may indicate which line errored.
  • If the issue was caused by a mapped field from a previous step, you can use Formatter to create a default value when a previous field doesn't create data.

Need more help?

Contact Support

Tell us about your problem, and we’ll find you a solution or you can email support.
Get Help

Hire an Expert

We have a directory of professionals across the globe who are ready to help.
Find a Zapier Expert

Zapier Community

Connect with other Zapier users and industry professionals to get help crafting the perfect workflow.
Check out the community

Zapier University

Video courses designed to help you become a better Zapier user, whether you’re a beginner or more experienced.
View courses