I managed to fix this by hooking into gform_post_export_entries
and using WP Stateless to sync the generated file to our storage location. Then I removed the standard AJAX action for download and made our own ajax action that sends the file to the browser.
1 Like