Currently, vals can return a maximum of 250,000 characters of JSON. This is a limit we’re working on increasing.
In the meantime, one workaround is to gzip your data before returning it:
Please reach out if you need help with this or need higher limits. We can prioritize getting you access. Email steve@val.town.