Hello everyone,

I have a problem and hope anybody as a idea for me. Some reading in other 
forum-threads doesn't fix my problem.

In first my Code:

var myService = new google.gdata.calendar.CalendarService('myApp');
g_token = 
google.accounts.user.login("https://www.google.com/calendar/feeds/";);  
//Login into GoogleCalendar!

// ... some other lines ...

myService.deleteEntry(
   
"https://www.google.com/calendar/feeds/[email protected]/private/full/g1p85gcu28emknqg0ekglqv80k";,
    function(res){console.debug(res);},
    function(err){console.debug(err);}
);

The ID from the feed-URL is reading from a valid-Calendar-Event-Feed. When 
the code is running, the following error was returned:

*Error: If-Match or If-None-Match header or entry etag attribute required*
http://www.google.com/uds/api/gdata/2.4/9c597f6780f49935322b8dc6d9f79364/core,batch,geo,opensearch,atom,app,gdata,acl,calendar.I.js
  
- Line 115

else if(O[lb]==F.client[lb].BAD_REQUES...ause=nb;return 
Na(Zc)}[Ab](this),H)}; 

 
How I can send the required etag in query-url? 
Following doesn't fix it:

   - 
   
https://www.google.com/calendar/feeds/[email protected]/private/full/g1p85gcu28emknqg0ekglqv80k?etag=YYYYY
   - 
   
https://www.google.com/calendar/feeds/[email protected]/private/full/g1p85gcu28emknqg0ekglqv80k/YYYYY
   - 
   
https://www.google.com/calendar/feeds/[email protected]/private/full/YYYYY


So enough text written, forward many regards for your ideas. Let know me, 
when you need more informations.

Bye
Matthias

-- 
You received this message because you are subscribed to the Google
Groups "Google Calendar Data API" group.
To post to this group, send email to
[email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://code.google.com/apis/calendar/community/forum.html

Reply via email to