nextcloud/server · error · Sabre\DAV\Exception\MethodNotAllowed
Creating objects in a cached subscription is not allowed
Error message
Creating objects in a cached subscription is not allowed
What it means
Error "Creating objects in a cached subscription is not allowed" thrown in nextcloud/server.
Source
Thrown at apps/dav/lib/CalDAV/CachedSubscriptionObject.php:43
#[\Override]
public function get() {
// Pre-populating the 'calendardata' is optional, if we don't have it
// already we fetch it from the backend.
if (!isset($this->objectData['calendardata'])) {
$this->objectData = $this->caldavBackend->getCalendarObject($this->calendarInfo['id'], $this->objectData['uri'], CalDavBackend::CALENDAR_TYPE_SUBSCRIPTION);
}
return $this->objectData['calendardata'];
}
/**
* @param resource|string $calendarData
* @return string
* @throws MethodNotAllowed
*/
#[\Override]
public function put($calendarData) {
throw new MethodNotAllowed('Creating objects in a cached subscription is not allowed');
}
/**
* @throws MethodNotAllowed
*/
#[\Override]
public function delete() {
throw new MethodNotAllowed('Deleting objects in a cached subscription is not allowed');
}
}
View on GitHub (pinned to ecdeb153ff)
When it happens
Trigger: Thrown at apps/dav/lib/CalDAV/CachedSubscriptionObject.php:43 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of nextcloud/server@ecdeb153ff (2026-08-17).
Data as JSON: /api/errors/a815bdaadafef5de.
Report an issue: GitHub.