DIYgod/RSSHub · error · Error
Unknown type: ${type}
Error message
Unknown type: ${type} What it means
Error "Unknown type: ${type}" thrown in DIYgod/RSSHub.
Source
Thrown at lib/routes/pingwest/user.ts:77
searchParams: {
page: 1,
user_id: realUid,
tab: type,
},
});
const $ = load(response.data.data.list);
let item: DataItem[];
const needFullText = option === 'fulltext';
switch (type) {
case 'article':
item = await utils.articleListParser($, needFullText, cache);
break;
case 'state':
item = utils.statusListParser($);
break;
default:
throw new Error(`Unknown type: ${type}`);
}
const typeToLabel = {
article: '文章',
state: '动态',
};
return {
title: `品玩 - ${userName} - ${typeToLabel[type]}`,
description: userSign,
image: userAvatar,
link: aimUrl,
item,
};
}
View on GitHub (pinned to bed535e087)
Solutions
- Use one of the supported type parameter values for this route.
When it happens
Trigger: The type path parameter does not match any supported pingwest user content type.
Common situations: See trigger scenarios.
AI-assisted analysis of DIYgod/RSSHub@bed535e087 (2026-08-12).
Data as JSON: /api/errors/f6aa67b461c7379f.
Report an issue: GitHub.