ITADN

GetList fails on certain list records

#289Closedj-childers 创建于 2026-02-01
bug
J
j-childerscommented
# Bug report ## Details ### Describe the bug A some lists (in this case, related to a starter pack) produce null results. I suspect the parsing fails if there's no `list.description` property in the JSON response. Empty strings in description don't produce the failure. ### Expected behavior Successful response from API call. ### Actual behavior Result property is null, status is OK, Successful = false. ## Helpful Extra information ### Bluesky API If your problem is how the libraries handle a particular Bluesky API please tell us which API the problem refers to. Bluesky API : app.bsky.graph.getList List URi: `at://did:plc:hgrpyurhswze7rt7z2smeu2q/app.bsky.graph.list/3mcdzw2ptry2m` ### API Response Parsing Bugs Headers: ``` HTTP/2 200 x-powered-by: Express access-control-allow-origin: * ratelimit-limit: 3000 ratelimit-reset: 1769914924 ratelimit-remaining: 2838 ratelimit-policy: 3000;w=300 cache-control: private vary: Authorization, Accept-Encoding content-encoding: gzip content-type: application/json; charset=utf-8 atproto-content-labelers: did:plc:ar7c4by46qjdydhdevvrndac;redact,did:plc:e4elbtctnfqocyfcml6h2lf7,did:plc:oubsyca6hhgqhmbbk27lvs7c date: Sun, 01 Feb 2026 03:01:15 GMT strict-transport-security: max-age=63072000 X-Firefox-Spdy: h2 ``` JSON ``` { "list": { "uri": "at://did:plc:hgrpyurhswze7rt7z2smeu2q/app.bsky.graph.list/3mcdzw2ptry2m", "cid": "bafyreihszwqbe7nxh2mv4o2wk365yanh3p3zimbunfrjdtq7gcmmzohx6i", "name": "People with awesome Starter Packs 10", "purpose": "app.bsky.graph.defs#referencelist", "listItemCount": 102, "indexedAt": "2026-01-14T02:36:01.535Z", "labels": [], "viewer": { "muted": false }, "creator": { "did": "did:plc:hgrpyurhswze7rt7z2smeu2q", "handle": "adventurer56.bsky.social", "displayName": "@Adventurer56 - Don’t Major in Minor Things!", "avatar": "https://cdn.bsky.app/img/avatar/plain/did:plc:hgrpyurhswze7rt7z2smeu2q/bafkreibolysg7oocsydjf6smucasfmwlb2oebf36ds4iaanrnyrh27iuo4@jpeg", "associated": { "chat": { "allowIncoming": "following" }, "activitySubscription": { "allowSubscriptions": "followers" } }, "viewer": { "muted": false, "blockedBy": false, "following": "at://did:plc:jr67biy54ndfhbarhocxpl77/app.bsky.graph.follow/3llro6jl4ov2q", "followedBy": "at://did:plc:hgrpyurhswze7rt7z2smeu2q/app.bsky.graph.follow/3llsbu7qyet2j" }, "labels": [], "createdAt": "2024-07-08T01:23:22.679Z", "description": "USMC & Gov. Ret. Immigrant in Japan\n\nPROBLEM: #BillionairesClassWarfareAgainstUs\nhttps://youtu.be/8K6-cEAJZlE?si=66SwmDL5HmuD8WAn\n \n#SlavaUkraini\n\n#UniversalHealthCare\n\n#EqualRightsAndJustice4All\n\n#ReleaseUnredactedEpsteinFilesNow", "indexedAt": "2026-01-29T03:55:21.745Z" } }, "items": [ { "uri": "at://did:plc:hgrpyurhswze7rt7z2smeu2q/app.bsky.graph.listitem/3mdozvtu5sp26", "subject": { "did": "did:plc:5ldqhnk4quyil4mie2yjg2po", "handle": "habsmtlcanadiens.bsky.social", "displayName": "Frank 🇨🇦", "avatar": "https://cdn.bsky.app/img/avatar/plain/did:plc:5ldqhnk4quyil4mie2yjg2po/bafkreihqedf7schqeqqrp2xvs4pw6rqkpycljkqqoq3ilalfzybkywwflu@jpeg", "associated": { "chat": { "allowIncoming": "none" }, "activitySubscription": { "allowSubscriptions": "followers" } }, "viewer": { "muted": false, "blockedBy": false, "following": "at://did:plc:jr67biy54ndfhbarhocxpl77/app.bsky.graph.follow/3ltigy37bgh27", "followedBy": "at://did:plc:5ldqhnk4quyil4mie2yjg2po/app.bsky.graph.follow/3ltkgap5pvg2r" }, "labels": [ { "cts": "2025-09-30T10:45:42.982Z", "src": "did:plc:e4elbtctnfqocyfcml6h2lf7", "uri": "did:plc:5ldqhnk4quyil4mie2yjg2po", "val": "follow-farming", "ver": 1 }, { "src": "did:plc:5ldqhnk4quyil4mie2yjg2po", "uri": "at://did:plc:5ldqhnk4quyil4mie2yjg2po/app.bsky.actor.profile/self", "cid": "bafyreige7ztqav2ff6rey7q5zuq7avvmjhgxccsiuwcg4jtpa56et7u65y", "val": "!no-unauthenticated", "cts": "2024-02-11T18:35:34.611Z" } ], "createdAt": "2024-02-11T18:35:34.027Z", "description": "#CANADA 🇨🇦\n#CANADASTRONG\n#CANADIAN\n#NEVER51\n#ELBOWSUP\nSAFE SPACE #LGBTQ+ 🏳️‍🌈🏳️‍⚧️\n#BLM\nNO DM \n#STANDWITHUKRAINE 🇺🇦", "indexedAt": "2026-01-31T12:39:34.645Z" } } ], "cursor": "3mdozvtu5sp26" }```
关闭于 2026-02-01 4 条评论