Click here to Skip to main content
14,357,858 members
Rate this:
Please Sign up or sign in to vote.
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, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100