Hi,

I want to add a new entry to a new calendar.  I create a new

calendar:

            CalendarEntry newCalendar = createCalendar( title, service ); 
Everything is fine! Then I create an event:

            eventFeedUrl = new URL(newCalendar.getId());

            service.insert( eventFeedUrl, myEntry ); I got an Exception :-(

com.google.gdata.util.InvalidEntryException: Bad Request Unknown visibility 
found:calendars

      at

com.google.gdata.client.http.HttpGDataRequest.handleErrorResponse(HttpGDataRequest.java:

594)

      at

com.google.gdata.client.http.GoogleGDataRequest.handleErrorResponse(GoogleGDataRequest.java:

563)

      at

com.google.gdata.client.http.HttpGDataRequest.checkResponse(HttpGDataRequest.java:

552)

      at

com.google.gdata.client.http.HttpGDataRequest.execute(HttpGDataRequest.java:

530)

      at

com.google.gdata.client.http.GoogleGDataRequest.execute(GoogleGDataRequest.java:

535)

      at com.google.gdata.client.Service.insert(Service.java:1409)

      at com.google.gdata.client.GoogleService.insert(GoogleService.java:

599)

What is wrong?

Stefan

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