C
C#6mo ago
Simpleskill

API connecting C# project to Google Drive

Hello, I am working on a proof of concept related to the ability of C# to interact with Excel files stored in Google Drive. The aim is to download these files into a local folder and conduct another proof of concept to upload the same files back to Google Drive, updating the older versions with the local copies. These actions will be scheduled to run on a virtual machine already operating on Windows. Today, I attempted to create a Google project and set up Service credentials. However, I encountered an obstacle where the project needed verification by Google before granting permission to use the respective API. Afterward, I tried creating another project with OAUTH credentials and tested it using the Google oauthplayground. In my code, I am using the following namespaces: using Google.Apis.Auth.OAuth2; using Google.Apis.Drive.v3; However, upon establishing a connection, I faced a redirection to a Google page displaying the following message: "Access blocked: This app's request is invalid #########@gmail.com Unable to sign in because this app has sent an invalid request. You can try again later or contact the developer to resolve this issue. Learn more about this error. If you are the developer of this app, see the error details. Error 400: redirect_uri_mismatch" I appreciate any assistance or insights you can provide in resolving this matter.
No description
0 Replies
No replies yetBe the first to reply to this messageJoin