title: Forbidden error : While fetching events from iCloud using caldav extension
body: <pre><code>URL -: https://pxx-caldav.icloud.com/token/calendars/calendarId
  
  @"&lt;C:calendar-query xmlns:D='DAV:'
                   xmlns:C='urn:ietf:params:xml:ns:caldav'&gt;
                                       &lt;D:prop&gt;
                                         &lt;D:getetag/&gt;
                                  &lt;C:calendar-timezone xmlns:D='DAV:' xmlns:C='urn:ietf:params:xml:ns:caldav'&gt;&lt;/C:calendar-timezone&gt;
                                         &lt;C:calendar-data&gt;
                                          &lt;C:expand start='{0}'
                                                  end='{1}'/&gt;
                                           &lt;C:comp name='VCALENDAR'&gt;
                                             &lt;C:prop name='VERSION'/&gt;
                                             &lt;C:comp name='VEVENT'&gt;
                                               &lt;C:prop name='SUMMARY'/&gt;
                                               &lt;C:prop name='DESCRIPTION'/&gt;
                                               &lt;C:prop name='STATUS'/&gt;
                                                &lt;C:prop name='TRANSP'/&gt;
                                                 &lt;C:prop name='ATTENDEE'/&gt;
                                               &lt;C:prop name='UID'/&gt;
                                               &lt;C:prop name='DTSTART'/&gt;
                                               &lt;C:prop name='DTEND'/&gt;
                                               &lt;C:prop name='DURATION'/&gt;
                                               &lt;C:prop name='RRULE'/&gt;
                                               &lt;C:prop name='RDATE'/&gt;
                                               &lt;C:prop name='EXRULE'/&gt;
                                               &lt;C:prop name='EXDATE'/&gt;
                                               &lt;C:prop name='RECURRENCE-ID'/&gt;
                                             &lt;/C:comp&gt;
                                           &lt;/C:comp&gt;
                                         &lt;/C:calendar-data&gt;
                                       &lt;/D:prop&gt;
                                       &lt;C:filter&gt;
         &lt;C:comp-filter name='VCALENDAR'&gt;
           &lt;C:comp-filter name='VEVENT'&gt;
             &lt;C:time-range start='{0}'
                           end='{1}'/&gt;
           &lt;/C:comp-filter&gt;
         &lt;/C:comp-filter&gt;
       &lt;/C:filter&gt;
                                     &lt;/C:calendar-query&gt;"
  </code></pre>
  
  <p>while retrieving events it gives forbidden error on some particular calendars of some accounts. While retrieving calendars it shows read/write access but while fetching events it gives error. It gives error on few calendars but error is continuous on them.
  I am getting following error -:</p>
  
  <pre><code> &lt;error&gt; &lt;supported-report /&gt; &lt;/error&gt;
  </code></pre>