Forbidden To Download From Google Drive

  

I'm working with Google Drive but from time to time I receive error from Google saying: (but only while trying to download file. Removing or adding file is still.

Download files from google drive to co…

I'm working with Google Drive but from time to time I receive error from Google saying: (but only while trying to download file. removing or adding file is still working)


Below is the code I'm using to get file stream from Google Drive:

Cœur
21.1k10 gold badges120 silver badges165 bronze badges
MartinMartin

1 Answer

The 'Daily Limit for Unauthenticated Use Exceeded. Continued use requires signup.' is misleading. It implies you've reached some kind of quota, but that is almost never the case.

The Drive quota for unauthenticated use is ZERO. So what the message is really telling you is that your Drive request isn't carrying an Auth token. You should trace the http and you will find that the requests that are failing are missing the Authorization header. As to why, well that's an exercise for the reader.

pinoyyidForbiddenpinoyyid

How To Download Files From Google Drive

14.4k9 gold badges37 silver badges86 bronze badges

How To Download Videos From Google …

From

Can't Download From Google Drive

Got a question that you can’t ask on public Stack Overflow? Learn more about sharing private information with Stack Overflow for Teams.

Not the answer you're looking for? Browse other questions tagged javagoogle-drive-api or ask your own question.