When I try to use Google drive reference it always shows ReferenceError: "Drive" is not defined. (line 16, file "Code").
This is because it is still using the old version of your application, before you implemented doGet. You don't need to goto manage versions. You can just do Publish>Deploy as Web App> and select "new" in the project version dropbox.
There are a few possible causes for these errors: A Google server or system is temporarily unavailable. Wait for a few moments and try running the script again. There is an error in your script that doesn't have a corresponding error message.
I've solves this error by go to:
Resources -> Advanced Google Services -> Enable Drive Api
Note: you need to Enable Drive Api in Google Console
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With