Closed aih closed 3 years ago
E.g. 117s126
This may be due to missing a short_title?
data.json
{ "actions": [ { "acted_at": "2021-01-28", "action_code": "10000", "references": [], "text": "Introduced in Senate", "type": "action" }, { "acted_at": "2021-01-28", "action_code": "", "committees": [ "SSFI" ], "references": [], "status": "REFERRED", "text": "Read twice and referred to the Committee on Finance.", "type": "referral" } ], "amendments": [], "bill_id": "s126-117", "bill_type": "s", "by_request": false, "committee_reports": [], "committees": [ { "activity": [ "referral" ], "committee": "Senate Finance", "committee_id": "SSFI" } ], "congress": "117", "cosponsors": [ { "bioguide_id": "B001310", "district": null, "name": "Braun, Mike", "original_cosponsor": true, "sponsored_at": "2021-01-28", "state": "IN", "title": "Sen", "withdrawn_at": null }, { "bioguide_id": "E000295", "district": null, "name": "Ernst, Joni", "original_cosponsor": true, "sponsored_at": "2021-01-28", "state": "IA", "title": "Sen", "withdrawn_at": null }, { "bioguide_id": "I000024", "district": null, "name": "Inhofe, James M.", "original_cosponsor": true, "sponsored_at": "2021-01-28", "state": "OK", "title": "Sen", "withdrawn_at": null } ], "enacted_as": null, "history": { "active": false, "awaiting_signature": false, "enacted": false, "vetoed": false }, "introduced_at": "2021-01-28", "number": "126", "official_title": "A bill to amend the Internal Revenue Code of 1986 to make permanent the individual tax provisions of the tax reform law, and for other purposes.", "popular_title": null, "related_bills": [], "short_title": null, "sponsor": { "bioguide_id": "C001098", "district": null, "name": "Cruz, Ted", "state": "TX", "title": "Sen", "type": "person" }, "status": "REFERRED", "status_at": "2021-01-28", "subjects": [], "subjects_top_term": null, "summary": null, "titles": [ { "as": "introduced", "is_for_portion": false, "title": "A bill to amend the Internal Revenue Code of 1986 to make permanent the individual tax provisions of the tax reform law, and for other purposes.", "type": "official" }, { "as": null, "is_for_portion": false, "title": "A bill to amend the Internal Revenue Code of 1986 to make permanent the individual tax provisions of the tax reform law, and for other purposes.", "type": "display" } ], "updated_at": "2021-01-29T05:45:59Z", "url": "https://www.govinfo.gov/bulkdata/BILLSTATUS/117/s/BILLSTATUS-117s126.xml" }
This is now fixed. The issue was that the directory contained two data.json files, one of which was not the right format. I've now added error catching for that case.
E.g. 117s126
This may be due to missing a short_title?
data.json