{"record":{"id":"1f0250900d87a421","repo":"DIYgod/RSSHub","slug":"pixiv-not-login","errorCode":null,"errorMessage":"pixiv not login","messagePattern":"pixiv not login","errorType":"exception","errorClass":"ConfigNotFoundError","httpStatus":null,"severity":"error","filePath":"lib/routes/pixiv/bookmarks.ts","lineNumber":44,"sourceCode":"        {\n            source: ['www.pixiv.net/users/:id/bookmarks/artworks', 'www.pixiv.net/en/users/:id/bookmarks/artworks'],\n        },\n    ],\n    name: 'User Bookmark',\n    maintainers: ['EYHN'],\n    handler,\n};\n\nasync function handler(ctx) {\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 id = ctx.req.param('id');\n\n    const token = await getToken();\n    if (!token) {\n        throw new ConfigNotFoundError('pixiv not login');\n    }\n\n    const [bookmarksResponse, userDetailResponse] = await Promise.all([getBookmarks(id, token), getUserDetail(id, token)]);\n\n    const illusts = bookmarksResponse.data.illusts;\n    const username = userDetailResponse.data.user.name;\n\n    return {\n        title: `${username} 的收藏`,\n        link: `https://www.pixiv.net/users/${id}/bookmarks/artworks`,\n        description: `${username} 的 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('')}`,","sourceCodeStart":26,"sourceCodeEnd":62,"githubUrl":"https://github.com/DIYgod/RSSHub/blob/bed535e0879dc71c5aff6f1e7bd1ac21ede40115/lib/routes/pixiv/bookmarks.ts#L26-L62","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"}