api.congress.gov icon indicating copy to clipboard operation
api.congress.gov copied to clipboard

MultipleObjectsReturned - DJango Error

Open lexi-the-cute opened this issue 2 years ago • 2 comments

This screenshot shows the same bill showing up twice when paginating. Screenshot_20230210_214655

This screenshot shows the error message I get when I try to read the bill. Screenshot_20230210_214821

lexi-the-cute avatar Feb 11 '23 02:02 lexi-the-cute

Here's the URL to access the bill. You'll have to replace the redacted message with your own API key. https://api.congress.gov/v3/bill/21/hr/209?api_key=REDACTED&format=json

lexi-the-cute avatar Feb 11 '23 02:02 lexi-the-cute

Hello. Bill data prior to 1973 (93rd Congress) may have data issues, have missing or incorrect metadata, or be incomplete as compared to more current bill data. In some cases, these bills may follow different patterns (e.g., bill numbers were sometimes re-used) when compared to more current bill data. We will aim to address data issues in our database like the one reported here, and the updated details will be available on both the congress.gov website and the congress.gov API.

rbram avatar Feb 14 '23 12:02 rbram