Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

Delivery Customization Functions: OutputTooLargeError

Delivery Customization Functions: OutputTooLargeError

gsprorowski
Shopify Partner
2 0 1

 

Hi everyone,

I'm facing an issue with a Shopify Function where I add 250 rates in a zone (the maximum limit). However, when I try to hide them all if needed, I encounter the following error:

The output size limit of 20000 bytes was exceeded.

I thought it should be possible to handle all 250 rates, but this limit is causing problems.

Is there a way to minimize the output by removing unnecessary structures or abbreviating names? For instance, renaming OptionHandleDelivery to something shorter.

Has anyone else encountered this issue, and is there a solution to make it work within the size limit?

Thanks in advance!

Replies 0 (0)