Zapier · Code by Zapier
You cannot return more than 250 items from a Code action
Short answer
This Code by Zapier error means the step returned more than the 250 items allowed in the output object. Return 250 items or fewer, or split the work across several Code steps.
VerifiedLast verified
01Error text
You cannot return more than 250 items from a Code action.02Likely causes
- Code steps are limited to 250 items in the output object.
03How to fix it
- Reduce the number of items in the return object to 250 or fewer.
- To process more items, split the work across multiple Code steps or filter the data before returning it.
04Official documentation
→Related errors
- Scripting payload too largeThis Code by Zapier error means the code and the data it processes exceed the 6 MB I/O limit of the Code step environment. Return only the keys you need, and filter or trim large API responses before returning them.
- Process exited before completing requestThis Code by Zapier error means the script completed without calling callback, often because a fetch().then() chain has no .catch(). Add .catch(callback) to the chain, or use await.
- 'NoneType' object does not support item assignmentThis Code by Zapier Python error means the code assigned into a value that is None. Initialize dicts and lists before assigning into them, and check input_data values for None first.
Test every fix in a non-production environment before you apply it to production. See how entries are verified.
More for Zapier work:Open Zapier jobsZapier rates and salaries