nextcloud/server · error · Sabre\DAV\Exception\MethodNotAllowed

Deleting objects in a cached subscription is not allowed

Error message

Deleting objects in a cached subscription is not allowed

What it means

Error "Deleting objects in a cached subscription is not allowed" thrown in nextcloud/server.

Source

Thrown at apps/dav/lib/CalDAV/CachedSubscriptionObject.php:51

		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:51 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/3f49febe5086c63c. Report an issue: GitHub.