DIYgod/RSSHub · error · ConfigNotFoundError

pixiv not login

Error message

pixiv not login

What it means

Error "pixiv not login" thrown in DIYgod/RSSHub.

Source

Thrown at lib/routes/pixiv/illustfollow.ts:50

        },
    ],
    name: 'Following timeline',
    maintainers: ['ClarkeCheng'],
    handler,
    url: 'www.pixiv.net/bookmark_new_illust.php',
    description: `::: warning
Only for self-hosted
:::`,
};

async function handler() {
    if (!config.pixiv || !config.pixiv.refreshToken) {
        throw new ConfigNotFoundError('pixiv RSS is disabled due to the lack of <a href="https://docs.rsshub.app/deploy/config#route-specific-configurations">relevant config</a>');
    }

    const token = await getToken();
    if (!token) {
        throw new ConfigNotFoundError('pixiv not login');
    }

    const response = await getIllustFollows(token);
    const illusts = response.data.illusts;
    return {
        title: 'Pixiv关注的新作品',
        link: 'https://www.pixiv.net/bookmark_new_illust.php',
        description: 'Pixiv关注的画师们的最新作品',
        item: illusts.map((illust) => {
            const images = pixivUtils.getImgs(illust);
            return {
                title: illust.title,
                author: illust.user.name,
                pubDate: parseDate(illust.create_date),
                description: `${illust.caption}<br><p>画师:${illust.user.name} - 阅览数:${illust.total_view} - 收藏数:${illust.total_bookmarks}</p>${images.join('')}`,
                link: `https://www.pixiv.net/artworks/${illust.id}`,
                category: illust.tags.map((tag) => tag.name),
            };

View on GitHub (pinned to bed535e087)

Solutions

  1. Refresh or replace PIXIV_REFRESHTOKEN; the current pixiv login session is invalid or expired.

When it happens

Trigger: The configured pixiv credentials no longer authenticate successfully.

Common situations: See trigger scenarios.


AI-assisted analysis of DIYgod/RSSHub@bed535e087 (2026-08-12). Data as JSON: /api/errors/13794cea4f46f5ee. Report an issue: GitHub.