nextcloud/server · error · Error
Failed to load tags
Error message
Failed to load tags
What it means
Error "Failed to load tags" thrown in nextcloud/server.
Source
Thrown at apps/systemtags/src/services/api.ts:46
<nc:color />
</d:prop>
</d:propfind>`
/**
* Fetch all tags.
*/
export async function fetchTags(): Promise<TagWithId[]> {
const path = '/systemtags'
try {
const { data: tags } = await davClient.getDirectoryContents(path, {
data: fetchTagsPayload,
details: true,
glob: '/systemtags/*', // Filter out first empty tag
}) as ResponseDataDetailed<Required<FileStat>[]>
return parseTags(tags)
} catch (error) {
logger.error(t('systemtags', 'Failed to load tags'), { error })
throw new Error(t('systemtags', 'Failed to load tags'), { cause: error })
}
}
/**
* Fetch a single tag by its ID.
*
* @param tagId - The ID of the tag to fetch
*/
export async function fetchTag(tagId: number): Promise<TagWithId> {
const path = '/systemtags/' + tagId
try {
const { data: tag } = await davClient.stat(path, {
data: fetchTagsPayload,
details: true,
}) as ResponseDataDetailed<Required<FileStat>>
return parseTags([tag])[0]!
} catch (error) {
logger.error(t('systemtags', 'Failed to load tag'), { error })View on GitHub (pinned to ecdeb153ff)
When it happens
Trigger: Thrown at apps/systemtags/src/services/api.ts:46 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/d09ba19f20884588.
Report an issue: GitHub.