Zapier · Code by Zapier

Scripting payload too large

Short answer

This 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.

VerifiedLast verified

01Error text

Zapier error
Scripting payload too large.

02Likely causes

  • The environment for Code steps (AWS Lambda) has an I/O limit of 6 MB.
  • The total size of the code and the data it processes cannot exceed that limit.

03How to fix it

  1. Reduce the data your function returns. Return only the keys you need.
  2. If processing a large API response, filter or trim the data before returning it.

04Official documentation

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

The iPaaS Brief

Subscribe to The iPaaS Brief.

The iPaaS newsletter for the people who run integrations. From iPaaS Group.

Free. You finish on theipaasbrief.com and confirm by email.