{"record":{"id":"3f49febe5086c63c","repo":"nextcloud/server","slug":"deleting-objects-in-a-cached-subscription-is-not-a","errorCode":null,"errorMessage":"Deleting objects in a cached subscription is not allowed","messagePattern":"Deleting objects in a cached subscription is not allowed","errorType":"exception","errorClass":"Sabre\\DAV\\Exception\\MethodNotAllowed","httpStatus":405,"severity":"error","filePath":"apps/dav/lib/CalDAV/CachedSubscriptionObject.php","lineNumber":51,"sourceCode":"\t\treturn $this->objectData['calendardata'];\n\t}\n\n\t/**\n\t * @param resource|string $calendarData\n\t * @return string\n\t * @throws MethodNotAllowed\n\t */\n\t#[\\Override]\n\tpublic function put($calendarData) {\n\t\tthrow new MethodNotAllowed('Creating objects in a cached subscription is not allowed');\n\t}\n\n\t/**\n\t * @throws MethodNotAllowed\n\t */\n\t#[\\Override]\n\tpublic function delete() {\n\t\tthrow new MethodNotAllowed('Deleting objects in a cached subscription is not allowed');\n\t}\n}\n","sourceCodeStart":33,"sourceCodeEnd":54,"githubUrl":"https://github.com/nextcloud/server/blob/ecdeb153ffdf227235c9a7e2d13dbe0f9c817bc3/apps/dav/lib/CalDAV/CachedSubscriptionObject.php#L33-L54","documentation":"Error \"Deleting objects in a cached subscription is not allowed\" thrown in nextcloud/server.","triggerScenarios":"Thrown at apps/dav/lib/CalDAV/CachedSubscriptionObject.php:51 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"}