<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Thanks Andre, I’ll have a poke at your suggestions and follow-up shortly.<div class=""><br class=""></div><div class="">Just wondering - would exporting the entire calendar to a .ics file, deleting the current calendar, then removing the problematic event before importing the .ics file into a new calendar be an option here? Would there be any undesirable side effects of the export/import?</div><div class=""><br class=""></div><div class="">Thanks again for your time,</div><div class=""><br class=""></div><div class="">Ian</div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On May 30, 2017, at 9:46 PM, Andre LaBranche <<a href="mailto:dre@apple.com" class="">dre@apple.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html charset=utf-8" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><br class=""><div class=""><blockquote type="cite" class=""><div class="">On May 29, 2017, at 12:44 PM, Ian Baker <<a href="mailto:ibaker@eem.ca" class="">ibaker@eem.ca</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><span style="font-family: Geneva; font-size: 13px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">Just wondering if there are any suggestions about this “Y</span><span class="" style="font-family: Geneva; font-size: 13px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);"><font face="Menlo" class="">ou are not authorized to access this resource” issue wjem trying to delete this corrupt event.</font></span></div></blockquote></div><br class=""><div class="">Hi,</div><div class=""><br class=""></div><div class="">I guess my next suggestion would be to try doing that kind of curl delete on a newly test event in the same calendar as the problem event. That should validate that this curl approach can work.</div><div class=""><br class=""></div><div class="">If that test succeeds, this suggests there is something about the event itself that is making it not deletable at the HTTP / CalDAV layer. In this case, you could try calendarserver_verify_data's "nuke" option, which supports three different methods for identifying the target.</div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><font face="Courier" class="">╭─ andre@zomg ~/work/ccs-calendarserver<br class="">╰─ $ ./bin/calendarserver_verify_data --help<br class=""><br class="">Usage: calendarserver_verify_data [options]<br class="">Version: 13<br class=""><br class="">This tool scans the calendar store to look for and correct any<br class="">problems.<br class=""><br class="">OPTIONS:<br class=""><br class="">Modes of operation:<br class=""><br class="">-h : print help and exit.<br class="">--ical : verify iCalendar data.<br class="">--mismatch : verify scheduling state.<br class="">--missing : display orphaned calendar homes - can be used.<br class=""> with either --ical or --mismatch.<br class="">--double : detect double-bookings.<br class="">--dark-purge : purge room/resource events with invalid organizer<br class="">--split : split recurring event<br class="">--upgrade : upgrade iCalendar data.<br class=""><br class="">--nuke PATH|UID|RID : remove specific calendar resources - can<br class=""> only be used by itself. PATH is the full<br class=""> /calendars/__uids__/XXX/YYY/ZZZ.ics object<br class=""> resource path. UID is the iCalendar UID,<br class=""> prefixed with "uid:", of the resources to<br class=""> remove. RID is the SQL DB resource-id.</font></div><div class=""><font face="Courier" class="">... [truncated]</font></div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">-dre</div></div></div></blockquote></div><br class=""></div></body></html>