Reputation: 687
I'm trying to access the Google Drive API in my app using the guide at REST API Quickstart, however when I run the app I get a 403 forbidden error message that tells me that the Drive API is not enabled for my project.
I don't understand why this is or how to fix it. The Drive API is definitely enabled in the Google Developer's Console and is set up as with OAuth 2.0 credentials, along with any other API's that I thought might be related. The full error screen grab is shown in the link:
Upvotes: 2
Views: 1550
Reputation: 658
If you used a different package name than the one in the example, then you might have forgotten to change it in the codes...like make sure you have the package name correctly set in the build.module, manifest...it happens when you just copy and paste stuff...
Upvotes: 1
Reputation: 117271
Check google developers console make sure drive SDK and drive API are enabled.
They both need to be enabled for some of the requests.
Upvotes: 0