0

We are using Google real-time API for some internal communication. However, some of the files got bigger than 10MB. Now we are getting error "Requested Resource Too Large to Return" when trying to download it via the server (https://www.googleapis.com/drive/v2/files/realtime/ call).

Is there are a way to download this file using server API?

user2196351
  • 539
  • 5
  • 13

1 Answers1

1

You Can try to download the file in parts/chunks as what suggested in this SO post.

For further reference, you can check this documentation about partial download.

Partial download involves downloading only a specified portion of a file. You can specify the portion of the file you want to dowload by using a byte range with the Range header. For example:

Range: bytes=500-999
MαπμQμαπkγVπ.0
  • 5,887
  • 1
  • 27
  • 65