Anvil Server disconnects when large amounts of data are passed back

Hi @jsardonicus

How do you measure that file size? Are you returning it as dicts and lists from the uplink function, or as a string, or in a Media object?

Serialised data returned from uplink or server modules currently has a size limit of 4MB, excluding media (so, if you want to send more than 4MB of data, try sending as Media) - but it looks like your payload is well below that size, so something funny is going on…

Can you share the data you’re sending as an email attachment to support@anvil.works?