Closed sirsbusiso closed 5 years ago
Unfortunately you didn't provide enough information to allow us to debug the issue.
Hi there,
I was trying to test the Calendar api on my console application and the exception I encounter says 'System.IO.FileNotFoundException: Could not find file' for the credentials.json file that I downloaded and added onto my project.
Thanks. CalendarIssue.docx
Please ensure you have followed the directions in the quickstart:
https://developers.google.com/calendar/quickstart/dotnet#step_3_set_up_the_sample
I will do so, thanks Erick.
Hi Erick,
I have tried following the step by step tutorial and I encounter an Auth exception, please see below.
Unhandled Exception: System.InvalidOperationException: At least one client secrets (Installed or Web) should be set at Google.Apis.Auth.OAuth2.GoogleClientSecrets.get_Secrets() at ConsoleApplication1.Program.Main(String[] args)
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access)