(committee, committee/{house}) - returns 500 when passing fromDateTime
param
#290
Labels
bug
Something isn't working
Milestone
Certain equests to committee endpoints:
https://api.congress.gov/v3/committee
https://api.congress.gov/v3/committee/house
https://api.congress.gov/v3/committee/senate
Return a 500 response if a
fromDateTime
parameter is passed with certain dates.Error response:
Example requests that failed:
https://api.congress.gov/v3/committee/senate?fromDateTime=2024-11-01T00:00:00Z
https://api.congress.gov/v3/committee/house?fromDateTime=2024-11-20T00:00:00Z
https://api.congress.gov/v3/committee?fromDateTime=2024-11-01T00:00:00Z
https://api.congress.gov/v3/committee?fromDateTime=2024-08-02T00:00:00Z
https://api.congress.gov/v3/committee?fromDateTime=2024-07-01T00:00:00Z&toDateTime=2024-09-01T00:00:00Z
Exampe successful request:
https://api.congress.gov/v3/committee?fromDateTime=2024-07-01T00:00:00Z
My initial hypothesis was that the endpoint is erroring if there are no committees with
update_date
s returned, but another failed request ishttps://api.congress.gov/v3/committee?fromDateTime=2024-08-01T00:00:00Z
. The successful request above however returns a committee with anupdate_date
of"2024-08-27T17:40:40Z"
, which should be included when passing afromDateTime
of2024-08-01T00:00:00Z
but instead the endpoint 500s.The text was updated successfully, but these errors were encountered: