{"record":{"id":"5b78f1f6900cdc34","repo":"nextcloud/server","slug":"calendar-object-not-found","errorCode":null,"errorMessage":"Calendar object not found","messagePattern":"Calendar object not found","errorType":"exception","errorClass":"Sabre\\DAV\\Exception\\NotFound","httpStatus":404,"severity":"error","filePath":"apps/dav/lib/CalDAV/CachedSubscription.php","lineNumber":125,"sourceCode":"\n\t/**\n\t * @param PropPatch $propPatch\n\t */\n\t#[\\Override]\n\tpublic function propPatch(PropPatch $propPatch) {\n\t\t$this->caldavBackend->updateSubscription($this->calendarInfo['id'], $propPatch);\n\t}\n\n\t/**\n\t * @param string $name\n\t * @return CalendarObject|\\Sabre\\CalDAV\\ICalendarObject\n\t * @throws NotFound\n\t */\n\t#[\\Override]\n\tpublic function getChild($name) {\n\t\t$obj = $this->caldavBackend->getCalendarObject($this->calendarInfo['id'], $name, CalDavBackend::CALENDAR_TYPE_SUBSCRIPTION);\n\t\tif (!$obj) {\n\t\t\tthrow new NotFound('Calendar object not found');\n\t\t}\n\n\t\t$obj['acl'] = $this->getChildACL();\n\t\treturn new CachedSubscriptionObject($this->caldavBackend, $this->calendarInfo, $obj);\n\t}\n\n\t/**\n\t * @return INode[]\n\t */\n\t#[\\Override]\n\tpublic function getChildren(): array {\n\t\t$objs = $this->caldavBackend->getCalendarObjects($this->calendarInfo['id'], CalDavBackend::CALENDAR_TYPE_SUBSCRIPTION);\n\n\t\t$children = [];\n\t\tforeach ($objs as $obj) {\n\t\t\t$children[] = new CachedSubscriptionObject($this->caldavBackend, $this->calendarInfo, $obj);\n\t\t}\n","sourceCodeStart":107,"sourceCodeEnd":143,"githubUrl":"https://github.com/nextcloud/server/blob/ecdeb153ffdf227235c9a7e2d13dbe0f9c817bc3/apps/dav/lib/CalDAV/CachedSubscription.php#L107-L143","documentation":"Error \"Calendar object not found\" thrown in nextcloud/server.","triggerScenarios":"Thrown at apps/dav/lib/CalDAV/CachedSubscription.php:125 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"ecdeb153ffdf227235c9a7e2d13dbe0f9c817bc3","analyzedAt":"2026-08-17T01:36:13.386Z","schemaVersion":2},"datasetVersion":"2026-08-17T04:17:16.089Z"}