Zapier errors / Schema
Invalid API Response: Results must be an array
Cause
A polling trigger expected a bare array of items but the API returned a wrapper object (e.g. {"items": [...]}) or undefined.
Fix
Switch the trigger to Code Mode and return just the array, e.g. return bundle.response.data.items. Always return an array even when empty (return [] not null). Re-test the trigger to confirm Zapier accepts the shape.
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