nextcloud/server · error · Sabre\DAV\Exception\ServiceUnavailable
$class: $msg
Error message
$class: $msg
What it means
Error "$class: $msg" thrown in nextcloud/server.
Source
Thrown at apps/dav/lib/Connector/Sabre/PublicAuth.php:99
return $this->checkToken();
} catch (NotAuthenticated|MaxDelayReached $e) {
$this->throttler->registerAttempt(self::BRUTEFORCE_ACTION, $this->request->getRemoteAddress());
throw $e;
} catch (PreconditionFailed $e) {
$response->setHeader(
'Location',
$this->urlGenerator->linkToRoute(
'files_sharing.share.showShare',
[ 'token' => $this->getToken() ],
),
);
throw $e;
} catch (\Exception $e) {
$class = get_class($e);
$msg = $e->getMessage();
$this->logger->error($e->getMessage(), ['exception' => $e]);
throw new ServiceUnavailable("$class: $msg");
}
}
/**
* Extract token from request url
* @throws NotFound
*/
private function getToken(): string {
$path = $this->request->getPathInfo() ?: '';
// ['', 'dav', 'files', 'token']
$splittedPath = explode('/', $path);
if (count($splittedPath) < 4 || $splittedPath[3] === '') {
throw new NotFound();
}
return $splittedPath[3];
}View on GitHub (pinned to ecdeb153ff)
When it happens
Trigger: Thrown at apps/dav/lib/Connector/Sabre/PublicAuth.php:99 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/9ac58e82674035f4.
Report an issue: GitHub.