Lỗi access to doc-0c-cc-docs.googleusercontent.com was denied
If you have ever gotten the error "Access to doc-08-1g-docs.googleusercontent.com was denied" while downloading from Google Drive or gotten the error "You are not authorized to view this page" in general in Chrome, you may have learnt the solution is to clear the browsing data or cookies to fix the problem. That indeed does fix the problem but it does not really address why the error occurs in the first place. This error occurs when you are signed into more than one google account and trying to download something or access something from a NON PRIMARY google account. If the download link generated opens in another tab, then your PRIMARY google account is actually trying to open the link, which is why you get the "Not autorized error". It is a legitimate error because your primary google account is indeed not authorized to open another accounts links. This is the reason clearing browsing data or cookies fixes the problem as it logs you out of all the google accounts. The easiest way to fix it is by opening a Incognito window and download it there or making the account you are downloading from the primary account. I'm using the default code provided from google here, and I don't quite understand why its not working. The code outputs the prompt
https://stackoverflow.com/questions/48678478/how-to-download-file-from-google-drive-with-link-in-android). Links are working fine in the mobile browser on Android and computer browser. The problem only occurs on WebView-based apps in Android. But here is good news: WebViewGold for Android offers a simple solution for this! Please configure “drive.google.com” as a host to be opened externally, see https://www.webviewgold.com/docs/android/ – this should solve the problem 🙂 Google Drive Help Sign in Google Help
Send feedback on... This help content & information General Help Center experience
Google Drive |