Discussing Shopify Functions development, deployment, and usage in Shopify apps.
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!