Click here to Skip to main content
15,881,757 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Google Drive Access from an Application: Not able to upload or create folder in drive using google account with different domain in our application.

When tried, below is the exception thrown.

Exception : Google.Apis.Auth.OAuth2.Responses.TokenResponseException: Error:"unauthorized_client", Description:"Unauthorized", Uri:"" at Google.Apis.Requests.ClientServiceRequest`1.Execute() at myclass.CreateFolder() in C:\inetpub\websites\XXX\YYYY\abc.vb:line 103

Cross verified all settings, everything looks good 4. Verified Authorized URL in Console developers (Google Cloud platform). 5. Verified Google Drive is enabled in Console developers. 6. Verified Client Administrator API Access, scopes, Services.

am I missing anything here, kindly provide suggestions on resolving this issue.

What I have tried:

Tried to access google drive from google app
Posted
Comments
Graeme_Grant 9-Nov-17 5:56am    
Cross??? Not familiar with that.

The error sounds like either an invalid or no dev/app (not user) credentials sent.

This may help: .NET Quickstart  |  Drive REST API  |  Google Developers[^]

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900