{"record":{"id":"141072eef72c4f67","repo":"DIYgod/RSSHub","slug":"error-141072","errorCode":null,"errorMessage":"这个人还没有图文或动态。","messagePattern":"这个人还没有图文或动态。","errorType":"exception","errorClass":"InvalidParameterError","httpStatus":null,"severity":"warning","filePath":"lib/routes/coolapk/user-dynamic.ts","lineNumber":54,"sourceCode":"        headers: utils.getHeaders(),\n    });\n    const data = response.data.data;\n    if (!data) {\n        throw new InvalidParameterError('这个人没有任何动态。');\n    }\n    let out = await Promise.all(\n        data.map((item) => {\n            if (!username) {\n                username = item.username;\n            }\n\n            return utils.parseDynamic(item);\n        })\n    );\n\n    out = out.filter(Boolean); // 去除空值\n    if (out.length === 0) {\n        throw new InvalidParameterError('这个人还没有图文或动态。');\n    }\n    return {\n        title: `酷安个人动态-${username}`,\n        link: `https://www.coolapk.com/u/${uid}`,\n        description: `酷安个人动态-${username}`,\n        item: out,\n    };\n}\n","sourceCodeStart":36,"sourceCodeEnd":63,"githubUrl":"https://github.com/DIYgod/RSSHub/blob/bed535e0879dc71c5aff6f1e7bd1ac21ede40115/lib/routes/coolapk/user-dynamic.ts#L36-L63","documentation":"After successfully fetching and parsing the user's feed list from coolapk, all parsed items were filtered out. utils.parseDynamic returned falsy for every item, meaning the user's dynamics are all of unsupported types. This differs from error 168 in that the API returned data, but none of it could be converted to feed items.","triggerScenarios":"response.data.data is a non-empty array, but every item passed to utils.parseDynamic returns undefined/null. The user may have only posted content types that parseDynamic does not handle, or the parseDynamic function's type detection logic is outdated.","commonSituations":"The user exclusively posts content types not covered by parseDynamic (e.g., only reposts, only polls, only short videos); coolapk added a new dynamic type that parseDynamic doesn't recognize; the user's feed contains only promoted/ad content.","solutions":["Log the raw items to inspect their entityType or infoList fields.","Check utils.parseDynamic to see which types are handled and update if needed.","Verify by visiting the user's profile on coolapk to see what types of content they post.","If the user genuinely has only unsupported types, this error is correct behavior."],"exampleFix":null,"handlingStrategy":"validation","validationCode":"// After parsing, log what types were present\nif (out.length === 0) {\n    const types = data.map((item: any) => item.entityType || item.infoList?.[0]?.entityType).filter(Boolean);\n    logger.warn(`All ${data.length} items filtered out. Types present: ${[...new Set(types)].join(', ')}`);\n}","typeGuard":null,"tryCatchPattern":null,"preventionTips":["Log the dynamic types of items that fail to parse.","Keep utils.parseDynamic updated with new content types.","Check the user's profile on coolapk to see what types of content they post."],"tags":["coolapk","validation","dynamic-content","api-change"],"backgroundTag":null,"analyzedSha":"bed535e0879dc71c5aff6f1e7bd1ac21ede40115","analyzedAt":"2026-08-12T19:29:35.364Z","schemaVersion":2},"datasetVersion":"2026-08-12T23:17:12.415Z"}