Zapier errors / Config

ReferenceError: fetch is not defined

platform: Zapier / category: Config

Cause

The Code by Zapier step runs on a Node.js version older than 18, where global fetch does not exist.

Fix

Check the Node version in the Code step settings and switch to Node 18+ if available. If you cannot change the runtime, use the https built-in module, or move the request into a custom integration using z.request.

Source thread →

Part of the Automation Error Index — Zapier errors: browse all.

Hitting an automation error we have not covered?

AutomateLab builds and debugs n8n, Make, and agent workflows as fixed-scope projects. If something is broken in production, tell us what you are seeing.

Describe the problem