Google Drive API downloadUrl not working

  • I have an audio recording in Google Drive.
  • files "viewed by anyone with a link"
  • I created a podcast channel that links to these files.

For a podcast client to upload files, it needs a direct download link. The Google Drive API returns two fields in the file metadata that can fulfill this role:

  • webContentLinkDesigned for use in a browser. This allows my podcast client to upload files less than 25 MB in size; unfortunately, in this amount Google requires user confirmation, because the file is not checked by a virus. This user confirmation step prevents my podcast clients from downloading a file if it exceeds 25 MB.
  • downloadUrl- this is what you should use, but I can't get it to work at all. If I copy-paste downloadUrldirectly into the address bar of the browser, I get nothing. Similarly, my podcast client cannot download anything using downloadUrl.

This problem seems unresolved and suggests that it is still broken, but I have a few questions:

  • Should I provide an API key requesting downloadUrl? WebContentLink does not require a key.
  • Is there any workaround?
+4
source share

All Articles