Hi everyone,
I am trying to access some of the files kept in a folder inside my google drive account and unable to access them. Also the map option is missing. However, the connection is working fine. Please find some screenshot below:
Your help is much appreciated.
Thanks in advance.
Welcome to the Make community!
You might have missed a crucial scope when connecting.
How to create an OAuth app in GCP: https://www.make.com/en/help/tutorials/calling-google-apis-via-the--http-make-a-oauth-2-0-request--module â FOLLOW THIS
1a. Enable the relevant API
Find the relevant API here: Google Cloud console
Go to API page, end click âEnableâ
1b. Add the relevant scopes
Direct Link: https://console.cloud.google.com/apis/credentials/consent/edit
2. Insert all the known Google Redirect URIs for your app
Direct Link: https://console.cloud.google.com/apis/credentials
Here are some known redirect URIs you need for your Google Cloud Console OAuth app. If you set these up, you can reuse the same GCP app for other Google apps and modules on Make.
Once youâve set these up, you can use/reuse the same Make connection for all the supported Google apps & modules on Make - youâll only have to enable the APIs for your custom app.
3. Publish your GCP OAuth2 app
Direct Link: https://console.cloud.google.com/apis/credentials/consent
You might need to set your OAuth application to âProductionâ, otherwise the credentials expire very frequently.
1. To do this, go to menu item âOAuth consent screenâ
or click here https://console.cloud.google.com/apis/credentials/consent
2. Then click the button below if the Publishing status is not âIn productionâ
4. Set up connection (HTTP OAuth, or respective Google App)
A. HTTP OAuth2
You need a âAuthorize parametersâ key of redirect_uri
with the above Make OAuth2 callback URL.
You can find the Client ID and Client Secret in the OAuth2 app you created in GCP, on the right-hand side of where you inserted the 8 callback URLs in step 2:
B. Google App
Insert the GCP app client ID and secret here BEFORE clicking âSign inâ
Gmail example:
samliew â request private consultation
Join the Make Fans Discord server to chat with other makers!
2 Likes
Thank you for your help. Now I can access the files and folders but the map option is still missing. Can you help me with that too please?
Regards,
Sabyasachi
In your second screenshot, that shows the map option.
Just insert the file id in there.
samliew â request private consultation
Join the unofficial Make Discord server to chat with us!
1 Like