nextcloud/server · error · OCA\DAV\Connector\Sabre\Exception\InvalidPath

$invalidPathException->getMessage()

Error message

$invalidPathException->getMessage()

What it means

Error "$invalidPathException->getMessage()" thrown in nextcloud/server.

Source

Thrown at apps/dav/lib/Connector/Sabre/Node.php:358

		return str_replace(['S', 'M'], '', $this->getDavPermissions());
	}

	public function getOwner(): ?IUser {
		return $this->info->getOwner();
	}

	/**
	 * @throws InvalidPath
	 */
	protected function verifyPath(?string $path = null): void {
		try {
			$path ??= $this->info->getPath();
			$this->fileView->verifyPath(
				dirname($path),
				basename($path),
			);
		} catch (InvalidPathException $invalidPathException) {
			throw new InvalidPath($invalidPathException->getMessage(), false, $invalidPathException);
		}
	}

	/**
	 * @param ILockingProvider::LOCK_* $type
	 * @throws LockedException
	 */
	public function acquireLock($type): void {
		$this->fileView->lockFile($this->path, $type);
	}

	/**
	 * @param ILockingProvider::LOCK_* $type
	 * @throws LockedException
	 */
	public function releaseLock($type): void {
		$this->fileView->unlockFile($this->path, $type);
	}

View on GitHub (pinned to ecdeb153ff)

When it happens

Trigger: Thrown at apps/dav/lib/Connector/Sabre/Node.php:358 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/88b48f8c13bcd1be. Report an issue: GitHub.