DIYgod/RSSHub · error · ConfigNotFoundError
Skeb followings RSS is disabled due to the lack of relevant
Error message
Skeb followings RSS is disabled due to the lack of relevant config
What it means
Same Skeb auth gate, applied to the friend-works route: requires `config.skeb.bearerToken` to fetch the latest requests from a user's followed clients. Throws before `getFollowingsItems(username, 'friend_works')`.
Source
Thrown at lib/routes/skeb/friend-works.ts:44
},
name: 'Friend Works',
maintainers: ['SnowAgar25'],
handler,
radar: [
{
title: 'Friend Works',
source: ['skeb.jp/:username'],
target: '/friend_works/:username',
},
],
description: "Get the latest requests for the specified user's followings on Skeb.",
};
async function handler(ctx): Promise<Data> {
const username = ctx.req.param('username');
if (!config.skeb || !config.skeb.bearerToken) {
throw new ConfigNotFoundError('Skeb followings RSS is disabled due to the lack of relevant config');
}
const items = await getFollowingsItems(username, 'friend_works');
return {
title: `Skeb - ${username} - フォロー中のクライアントの新着リクエスト`,
link: `https://skeb.jp/${username}`,
item: items as DataItem[],
};
}
View on GitHub (pinned to bed535e087)
Solutions
- Set `SKEB_BEARER_TOKEN` in the environment and restart.
- Validate the token against the Skeb API directly.
- Rotate the token on expiry.
Example fix
// before # SKEB_BEARER_TOKEN unset // after SKEB_BEARER_TOKEN=<your bearer token>
Defensive patterns
Strategy: validation
Validate before calling
if (!config.skeb?.bearerToken) {
return ctx.body('Skeb route requires SKEB_BEARER_TOKEN.', 503);
} Type guard
const hasSkebToken = (c: typeof config): boolean => Boolean(c.skeb?.bearerToken);
Prevention
- Centralize the Skeb auth check so all three routes behave consistently.
- Rotate the token on a schedule.
- Alert when the token nears expiry.
When it happens
Trigger: A request to /friend_works/:username on an instance without the Skeb bearer token configured.
Common situations: Default deploy; expired token; public instance without Skeb credentials.
Related errors
- Skeb followings RSS is disabled due to the lack of relevant
- Skeb followings RSS is disabled due to the lack of relevant
- Readwise access token is missing
- Ehentai favorites RSS is disabled due to the lack of <a href
- QWeather RSS is disabled due to the lack of <a href="https:/
AI-assisted analysis of DIYgod/RSSHub@bed535e087 (2026-08-12).
Data as JSON: /api/errors/19b585a122672982.
Report an issue: GitHub.