You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{
"error": "cannot access local variable 'bill' where it is not associated with a value (UnboundLocalError)",
"request": {
"billNumber": "2",
"billType": "s",
"congress": "118",
"contentType": "application/json",
"format": "json"
}
}
The text was updated successfully, but these errors were encountered:
When requesting details for a bill that does not exist the API returns a 500. I expected this to return 404.
e.g.
curl --location 'https://api.congress.gov/v3/bill/118/s/2?format=json&api_key=<API_KEY>'
Returns 500:
The text was updated successfully, but these errors were encountered: