Closed
Bug 1081640
Opened 11 years ago
Closed 11 years ago
X-LIC error - impossible to sync
Categories
(Calendar :: Provider: CalDAV, defect)
Tracking
(Not tracked)
RESOLVED
INVALID
People
(Reporter: edouard.duliege, Unassigned)
Details
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:32.0) Gecko/20100101 Firefox/32.0
Build ID: 20140918134209
Steps to reproduce:
My company uses Google as an IT service provider, I also have a personal Google account. I can sync my personal Google calendar without problem, however I can't with the business one. The events are shown but I can't modify them (read-only is unchecked).
Steps:
- set up calendar using CalDav https://www.google.com/calendar/dav/cal-ID/events
- maje sure read-only unchecked
- sync, events appear
- try to modify one that has no location, get this error message:
[JavaScript Error: "CalDAV: Unexpected status modifying item to XXX: 403
BEGIN:VCALENDAR
PRODID:-//Mozilla.org/NONSGML Mozilla Calendar V1.1//EN
VERSION:2.0
BEGIN:VTIMEZONE
TZID:Europe/Paris
X-LIC-LOCATION:Europe/Paris
BEGIN:DAYLIGHT
TZOFFSETFROM:+0100
TZOFFSETTO:+0200
TZNAME:CEST
DTSTART:19700329T020000
RRULE:FREQ=YEARLY;BYDAY=-1SU;BYMONTH=3
END:DAYLIGHT
BEGIN:STANDARD
TZOFFSETFROM:+0200
TZOFFSETTO:+0100
TZNAME:CET
DTSTART:19701025T030000
RRULE:FREQ=YEARLY;BYDAY=-1SU;BYMONTH=10
END:STANDARD
END:VTIMEZONE
BEGIN:VEVENT
CREATED:20140709T174635Z
LAST-MODIFIED:20141012T071034Z
DTSTAMP:20141012T071034Z
UID:XXXXXX
SUMMARY:XXXXXXX
STATUS:CONFIRMED
DTSTART;TZID=Europe/Paris:20141024T080000
DTEND;TZID=Europe/Paris:20141024T083000
X-LIC-ERROR:No value for LOCATION property. Removing entire property:
SEQUENCE:0
TRANSP:OPAQUE
X-MOZ-GENERATION:1
END:VEVENT
END:VCALENDAR
"]
- try to modify an event that has a location, get this in the console:
[JavaScript Error: "CalDAV: Unexpected status modifying item to XXXXXXX: 403
BEGIN:VCALENDAR
PRODID:-//Mozilla.org/NONSGML Mozilla Calendar V1.1//EN
VERSION:2.0
BEGIN:VEVENT
CREATED:20140929T140627Z
LAST-MODIFIED:20141012T071224Z
DTSTAMP:20141012T071224Z
UID:XXXXXX
SUMMARY:XXXXXXX
STATUS:CONFIRMED
X-MOZ-LASTACK:20140930T094710Z
DTSTART:20141012T080000Z
DTEND:20141012T083000Z
X-LIC-ERROR:No value for LOCATION property. Removing entire property:
LOCATION:paris
SEQUENCE:8
TRANSP:OPAQUE
X-MOZ-SNOOZE-TIME:20140930T095210Z
X-MOZ-GENERATION:2
END:VEVENT
END:VCALENDAR
"]
Actual results:
Can't modify an event
Expected results:
Event is modified
| Reporter | ||
Updated•11 years ago
|
OS: All → Linux
Hardware: All → x86_64
| Reporter | ||
Comment 1•11 years ago
|
||
forget the console output when I try to create a new event
[JavaScript Error: "CalDAV: Unexpected status adding item to XXXXXXx: 403
BEGIN:VCALENDAR
PRODID:-//Mozilla.org/NONSGML Mozilla Calendar V1.1//EN
VERSION:2.0
BEGIN:VTIMEZONE
TZID:Europe/Paris
X-LIC-LOCATION:Europe/Paris
BEGIN:DAYLIGHT
TZOFFSETFROM:+0100
TZOFFSETTO:+0200
TZNAME:CEST
DTSTART:19700329T020000
RRULE:FREQ=YEARLY;BYDAY=-1SU;BYMONTH=3
END:DAYLIGHT
BEGIN:STANDARD
TZOFFSETFROM:+0200
TZOFFSETTO:+0100
TZNAME:CET
DTSTART:19701025T030000
RRULE:FREQ=YEARLY;BYDAY=-1SU;BYMONTH=10
END:STANDARD
END:VTIMEZONE
BEGIN:VEVENT
CREATED:20141012T072504Z
LAST-MODIFIED:20141012T072504Z
DTSTAMP:20141012T072504Z
UID:XXXXXXXXXXX
SUMMARY:Nouvel évènement
DTSTART;TZID=Europe/Paris:20141011T081500
DTEND;TZID=Europe/Paris:20141011T090000
END:VEVENT
END:VCALENDAR
"]
Comment 2•11 years ago
|
||
Status 403 means Forbidden. I assume this happens because you are using the old CalDAV endpoint that is no longer supported by Google. Please retest with the new CalDAV endpoint: https://apidata.googleusercontent.com/caldav/v2/calid/events
https://developers.google.com/google-apps/calendar/caldav/v2/guide#connecting_to_googles_caldav_server
| Reporter | ||
Comment 3•11 years ago
|
||
Oh dear...
It works like a charm,thank you so much Stefan.
I don't understand why Google Support still promotes the deprecated endpoint though. Anyways.
Status: UNCONFIRMED → RESOLVED
Closed: 11 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•