You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The response is received and interpreted as a zip file successfully. However, the file is unable to be opened as if it was corrupted.
I've tested the same code using zipToFile and the zip file saved locally can be opened and contains the right data. Furthermore, the streamed file is significantly smaller than the locally stored alternative. Its almost as if the response is ended too early?
The zip file size I've been testing with is just under 5mb. Not sure if the stream is chunked, but not cycled to the end? I'm just speculating here, I haven't had the chance to clone and test locally but I will if I come around to it in the near future.
In the mean time, do you have any ideas as to what the issue could be?
The text was updated successfully, but these errors were encountered:
I've got the following code:
The response is received and interpreted as a zip file successfully. However, the file is unable to be opened as if it was corrupted.
I've tested the same code using
zipToFile
and the zip file saved locally can be opened and contains the right data. Furthermore, the streamed file is significantly smaller than the locally stored alternative. Its almost as if the response is ended too early?The zip file size I've been testing with is just under 5mb. Not sure if the stream is chunked, but not cycled to the end? I'm just speculating here, I haven't had the chance to clone and test locally but I will if I come around to it in the near future.
In the mean time, do you have any ideas as to what the issue could be?
The text was updated successfully, but these errors were encountered: