{"record":{"id":"13794cea4f46f5ee","repo":"DIYgod/RSSHub","slug":"pixiv-not-login-13794c","errorCode":null,"errorMessage":"pixiv not login","messagePattern":"pixiv not login","errorType":"exception","errorClass":"ConfigNotFoundError","httpStatus":null,"severity":"error","filePath":"lib/routes/pixiv/illustfollow.ts","lineNumber":50,"sourceCode":"        },\n    ],\n    name: 'Following timeline',\n    maintainers: ['ClarkeCheng'],\n    handler,\n    url: 'www.pixiv.net/bookmark_new_illust.php',\n    description: `::: warning\nOnly for self-hosted\n:::`,\n};\n\nasync function handler() {\n    if (!config.pixiv || !config.pixiv.refreshToken) {\n        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>');\n    }\n\n    const token = await getToken();\n    if (!token) {\n        throw new ConfigNotFoundError('pixiv not login');\n    }\n\n    const response = await getIllustFollows(token);\n    const illusts = response.data.illusts;\n    return {\n        title: 'Pixiv关注的新作品',\n        link: 'https://www.pixiv.net/bookmark_new_illust.php',\n        description: 'Pixiv关注的画师们的最新作品',\n        item: illusts.map((illust) => {\n            const images = pixivUtils.getImgs(illust);\n            return {\n                title: illust.title,\n                author: illust.user.name,\n                pubDate: parseDate(illust.create_date),\n                description: `${illust.caption}<br><p>画师：${illust.user.name} - 阅览数：${illust.total_view} - 收藏数：${illust.total_bookmarks}</p>${images.join('')}`,\n                link: `https://www.pixiv.net/artworks/${illust.id}`,\n                category: illust.tags.map((tag) => tag.name),\n            };","sourceCodeStart":32,"sourceCodeEnd":68,"githubUrl":"https://github.com/DIYgod/RSSHub/blob/bed535e0879dc71c5aff6f1e7bd1ac21ede40115/lib/routes/pixiv/illustfollow.ts#L32-L68","documentation":"Error \"pixiv not login\" thrown in DIYgod/RSSHub.","triggerScenarios":"The configured pixiv credentials no longer authenticate successfully.","commonSituations":"See trigger scenarios.","solutions":["Refresh or replace PIXIV_REFRESHTOKEN; the current pixiv login session is invalid or expired."],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"bed535e0879dc71c5aff6f1e7bd1ac21ede40115","analyzedAt":"2026-08-12T19:29:35.364Z","schemaVersion":2},"datasetVersion":"2026-08-12T23:17:12.415Z"}