Hello Bubblers!
I’m quite new to this platform, and to API’s in general so bear with me.
I’m trying to connect to the google drive API in order to signup/login my users and let them access their google documents through my app.
When I try to log in using my google account it gives me error:
The service apiconnector2-bTGPz did not return an ID for this user. The user cannot be logged in. Please check your settings or reach out to the plugin author.
Anyone that knows what I have missed or done wrong?
Thank you in advance!
Hi! Did you ever figure this out? I am trying to have access to my own drive throughout the app so that I can create documents on the fly.
I’m having the same issue
I wrestled with this for a long time. My use case is making folders in Google Drive.
I also wanted maximum flexibility, so I didn’t use any plugins.
Here is what I learned:
All you need to know to get your OAuth set up is in this great video by @wisebubbler https://www.youtube.com/watch?v=20Gu_7poxec . I won’t get into that here as this video does a great job.
I set scopes in Bubble to https://www.googleapis.com/auth/drive https://www.googleapis.com/auth/drive.appdata https://www.googleapis.com/auth/drive.file https://www.googleapis.com/auth/drive.appfolder
Mostly because I don’t understand scopes and those are all the ones I could find for Drive that seem relevant.
Now to share what I did to get it going.
You can see the setting that worked here. I was using Shared Drives in Google, so there is an extra step for that. You can remove the ?supportsAllDrives=true is you are not doing that. IF You ARE using Shred Drives, you need to go to your Google Console, Enabled APIS and services, Google Drive API, Drive UI Integration and select Shared drives support at the bottom
Then, back in Bubble set up the API Connector under where you set up the OAuth.
Content-Type set to application/json (not private)
Then I set the folder name and location (parent). Using the right quotation marks as in the image below is key. Then set the MimeType to ‘application/vnd.google-apps.folder’ to tell Google that you are making a folder.
I use this as an Action so I can put it in my workflows.
I hope this saves someone some time.
1 Like