ravipatidar54 / google-api-dotnet-client

Automatically exported from code.google.com/p/google-api-dotnet-client
Apache License 2.0
0 stars 0 forks source link

Getting 'Invlid credentials' exception randomly for some users #220

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.Its a random issue occurs for some users.My calendar App is syncing with 
Google calendar.Some times for some users,I am getting the exception like 
'Invalid Credentials'.For the same user,the previous request to Google was 
successful.
2.
3.

What is the expected output? What do you see instead?
I think this exception comes for the initial time if the application is not 
authorized.But this not that case.Sync with Google calendar is happening in 
most cases.

What version of the product are you using? On what operating system?
The Api dll version is 1.1.4344.23403.Operating System is Windows Sever 2003 r2.

Please provide any additional information below.
I noticed that in such cases,there is no calendar id is appended in the request 
url.The exception is
The request 'Google.Apis.Requests.Request(insert @ 
https://www.googleapis.com/calendar/v3/calendars?alt=json&prettyPrint=true )' 
has failed. The service calendar has thrown an exception: 
Google.GoogleApiRequestException: Google.Apis.Requests.RequestError
Invalid Credentials [401]
Errors [
    Message[Invalid Credentials] Location[Authorization - header] Reason[authError] Domain[global]
]
 ---> System.Net.WebException: The remote server returned an error: (401) Unauthorized.

Thanks,
Sreedevi 

Original issue reported on code.google.com by sreedevi...@gmail.com on 15 Jun 2012 at 6:19

GoogleCodeExporter commented 9 years ago

Original comment by pele...@google.com on 10 May 2013 at 9:08

GoogleCodeExporter commented 9 years ago

Original comment by pele...@google.com on 10 May 2013 at 9:09

GoogleCodeExporter commented 9 years ago
Does it still happen to you?
It's an old bug and I'm trying to understand if it's still relevant 

Original comment by pele...@google.com on 6 Sep 2013 at 7:23

GoogleCodeExporter commented 9 years ago
Old bug - I'm closing this issue.
Consider using our new library and I'm pretty sure you would be able to 
reproduce it there.

Thanks!

Original comment by pele...@google.com on 24 Oct 2013 at 1:51