You need to sign in to do that
Don't have an account?
Maniish
Google drive API integration. User not authorized.
Hi Everyone,
I am trying to integrate my Google drive with salesforce. I referred all the steps mentioned in FilesConnect document.
Same steps are shown in this link too.
https://www.youtube.com/watch?v=pSN7H8CPp-Y
As an admin, i am able to access the drive.
But other users, whom i have assigned the permission set to access Google drive are facing the issue as "You are not authorized to perform that operation." Below is the screeshot of the problem.
Needs your advice.
Thanks,
Manish KP
I am trying to integrate my Google drive with salesforce. I referred all the steps mentioned in FilesConnect document.
Same steps are shown in this link too.
https://www.youtube.com/watch?v=pSN7H8CPp-Y
As an admin, i am able to access the drive.
But other users, whom i have assigned the permission set to access Google drive are facing the issue as "You are not authorized to perform that operation." Below is the screeshot of the problem.
Needs your advice.
Thanks,
Manish KP
You need to first authenticate the credentials from the link https://console.developers.google.com/project
Follow the link for the step to create the project and credentials -- credentials https://help.salesforce.com/articleView?id=000239696&type=1
The second Step you need to create one visual force page, I have added the VF page
The third step is you need to create the apex-class and assign the client id and client secret which you will get from google API credentials,
I have attached the apex-class also after following this step you will be authenticated and your file will be uploaded from salesforce to google drive.
Feel free to ask if you need further clarification.
Mark, it as best answers if you like it.
Thanks!
I have tried above code and I'm getting 'Unauthorized' 401 error. can you pls tell me if any permission I need give to perform file ipload.
In above code inside method 'GoogleDriveAuthUri' what should be the value of state parameter?
Thanks
Manujnath