asifshaon / 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

Tasks API broken? #183

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Download samples (doesn't matter if stable or beta)
2. Run Tasks.WinForms.NoteMgr
3. Change an existing task.
4. Exit app or wait 5 minutes (app will sync on exit)

What is the expected output? What do you see instead?
Exception is thrown while syncing the changes. 

The request 'Google.Apis.Requests.Request(update @ 
https://www.googleapis.com/tasks/v1/lists/MTA1MTM2OTM1ODc3MDU5MDg2MDI6MDoxMDc0Nj
g1NDIz/tasks/MTA1MTM2OTM1ODc3MDU5MDg2MDI6MDow?alt=json&prettyPrint=true)' has 
failed. The service tasks has thrown an exception: 
Google.GoogleApiRequestException: Google.Apis.Requests.RequestError
Not Found [404]
Errors [
    Message[Not Found] Location[ - ] Reason[notFound] Domain[global]
]
 ---> System.Net.WebException: The remote server returned an error: (404) Not Found.
   at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
   at Google.Apis.Requests.Request.InternalEndExecuteRequest(IAsyncResult asyncResult) in c:\googlecode\11-23-2011\default\Src\GoogleApis\Apis\Requests\Request.cs:line 326
   --- End of inner exception stack trace ---
   at Google.Apis.Requests.Request.AsyncRequestResult.GetResponse() in c:\googlecode\11-23-2011\default\Src\GoogleApis\Apis\Requests\Request.cs:line 300
   at Google.Apis.Requests.ServiceRequest`1.GetResponse() in c:\googlecode\11-23-2011\default\Src\GoogleApis\Apis\Requests\ServiceRequest.cs:line 183
   at Google.Apis.Requests.ServiceRequest`1.Fetch() in c:\googlecode\11-23-2011\default\Src\GoogleApis\Apis\Requests\ServiceRequest.cs:line 203
   at TasksExample.WinForms.NoteMgr.NoteForm.<>c__DisplayClassf.<GetSyncNoteRequest>b__c() in C:\Users\TP\Desktop\tasks\Tasks.WinForms.NoteMgr\NoteForm.cs:line 166
   at TasksExample.WinForms.NoteMgr.NoteForm.<ClientSync>b__4(Action action) in C:\Users\TP\Desktop\tasks\Tasks.WinForms.NoteMgr\NoteForm.cs:line 141
   at System.Collections.Generic.List`1.ForEach(Action`1 action)
   at TasksExample.WinForms.NoteMgr.NoteForm.ClientSync() in C:\Users\TP\Desktop\tasks\Tasks.WinForms.NoteMgr\NoteForm.cs:line 141
   at TasksExample.WinForms.NoteMgr.NoteForm.NoteForm_FormClosing(Object sender, FormClosingEventArgs e) in C:\Users\TP\Desktop\tasks\Tasks.WinForms.NoteMgr\NoteForm.cs:line 198
   at System.Windows.Forms.Form.WmClose(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

What version of the product are you using? On what operating system?
Visual Studio 2010, Windows 7.

Please provide any additional information below.
The strange thing is that the exception contains 
"c:\googlecode\11-23-2011\default\Src\GoogleApis\Apis\Requests\Request.cs". I 
don't have such folder structure.

I tried downloading different versions and I can't get it to work. This is a 
critical problem.

Original issue reported on code.google.com by daniel....@gmail.com on 18 Jan 2012 at 6:37

GoogleCodeExporter commented 9 years ago
I just tested this and found that it does crash, it appears to be a required 
property or other constraint is not met when sending the document to the server.

Original comment by asky...@google.com on 25 Apr 2012 at 6:50

GoogleCodeExporter commented 9 years ago
Thanks very much for reporting this.

Original comment by asky...@google.com on 25 Apr 2012 at 6:50

GoogleCodeExporter commented 9 years ago
Issue 190 has been merged into this issue.

Original comment by asky...@google.com on 25 Apr 2012 at 8:41

GoogleCodeExporter commented 9 years ago

Original comment by asky...@google.com on 25 Apr 2012 at 8:49

GoogleCodeExporter commented 9 years ago

Original comment by asky...@google.com on 25 Apr 2012 at 8:49

GoogleCodeExporter commented 9 years ago
I am also facing the above mentioned issue. Please let me know what is the 
solution for this.

I am using VS 2012, Windows 7

Original comment by dhanaraj...@gmail.com on 1 Dec 2014 at 3:32