Timeout response (504) on REST API calls

Hi there,

i am trying to download files (in svg format) via the REST API.
To accomplish that, i first get the document hierarchy via GET file / GET file nodes and then download the pages of the document as images in svg format.

Both calls tend to fail with a 504 / timeout, when issued for bigger files.

I guess the filesize is problematic, because exporting subgroups / children of the pages works properly. (This approach is not actually feasible for me, though. I need the whole page exported as one svg.)

Does anybody experience similar issues or could someone give me hint about what’s actually going on on the server side?

Best regards,