Give this a try before Google 'Fixes' it!
I was just testing a simple API call when the response came back completely wrong. No error. No "file not found". Just... way more than I asked for.
In this video, I show exactly what happens when you pass an empty or falsy fileId to Drive.Files.get() — and why it's behaving nothing like the documented REST API.
Spoiler: it's not supposed to do this.
You can find the full code in the Google Issue Tracker I submitted:
https://issuetracker.google.com/issues/486079026
Give it a ➕1️⃣ OR, even better, add a comment.
=== My Site ===🐐
https://yagisanatode.com/
=== More on Google Apps Script ===
https://yagisanatode.com/google-apps-script/
=== Products ===🐐
= Courses =
https://yagisanatode.com/products-category/courses/
= Google Workspace Tools =
https://yagisanatode.com/products-category/google-workspace-tool/
= Google Workspace Add-ons =
https://yagisanatode.com/products-category/gwao/
#GoogleDrive #AppsScript #APIBug #Coding #GoogleAPI #DriveAPI #yagisanatode
Download
0 formats
No download links available.
Something Weird is Going on with Google Drive API Files.get() | NatokHD