{"record":{"id":"1f6f00238db534e0","repo":"nextcloud/server","slug":"no-such-calendar","errorCode":null,"errorMessage":"No such calendar","messagePattern":"No such calendar","errorType":"exception","errorClass":"Sabre\\DAV\\Exception","httpStatus":500,"severity":"error","filePath":"apps/dav/lib/DAV/CustomPropertiesBackend.php","lineNumber":348,"sourceCode":"\n\t/**\n\t * Validate the value of a property. Will throw if a value is invalid.\n\t *\n\t * @throws DavException The value of the property is invalid\n\t */\n\tprivate function validateProperty(string $path, string $propName, mixed $propValue): void {\n\t\tswitch ($propName) {\n\t\t\tcase '{urn:ietf:params:xml:ns:caldav}schedule-default-calendar-URL':\n\t\t\t\t/** @var Href $propValue */\n\t\t\t\t$href = $propValue->getHref();\n\t\t\t\tif ($href === null) {\n\t\t\t\t\tthrow new DavException('Href is empty');\n\t\t\t\t}\n\n\t\t\t\t// $path is the principal here as this prop is only set on principals\n\t\t\t\t$node = $this->tree->getNodeForPath($href);\n\t\t\t\tif (!($node instanceof Calendar) || $node->getOwner() !== $path) {\n\t\t\t\t\tthrow new DavException('No such calendar');\n\t\t\t\t}\n\n\t\t\t\t$this->defaultCalendarValidator->validateScheduleDefaultCalendar($node);\n\t\t\t\tbreak;\n\t\t}\n\t}\n\n\t/**\n\t * @param string[] $requestedProperties\n\t *\n\t * @return array<string, mixed|Complex|Href|string>\n\t * @throws \\OCP\\DB\\Exception\n\t */\n\tprivate function getPublishedProperties(string $path, array $requestedProperties): array {\n\t\t$allowedProps = array_intersect(self::PUBLISHED_READ_ONLY_PROPERTIES, $requestedProperties);\n\n\t\tif (empty($allowedProps)) {\n\t\t\treturn [];","sourceCodeStart":330,"sourceCodeEnd":366,"githubUrl":"https://github.com/nextcloud/server/blob/ecdeb153ffdf227235c9a7e2d13dbe0f9c817bc3/apps/dav/lib/DAV/CustomPropertiesBackend.php#L330-L366","documentation":"Error \"No such calendar\" thrown in nextcloud/server.","triggerScenarios":"Thrown at apps/dav/lib/DAV/CustomPropertiesBackend.php:348 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"}