LibraryOfCongress / api.congress.gov

congress.gov API
642 stars 39 forks source link

(committee-meeting API): 500 response "Reverse for 'hearing_detail' with keyword arguments not found" #129

Closed ryparker closed 8 months ago

ryparker commented 1 year ago

A specific committee meeting is returning a 500 error:

{
    "error": "Reverse for 'hearing_detail' with keyword arguments '{'jacketNumber': 51632, 'congress': 118, 'chamber': 'joint'}' not found. 1 pattern(s) tried: ['v3/hearing/(?P<congress>(\\\\d+))/(?P<chamber>(house|senate|nochamber))/(?P<jacketNumber>(\\\\d+))(?P<file_ext>(\\\\.xml|\\\\.json|/))?$(?i)'] (NoReverseMatch)",
    "request": {
        "chamber": "house",
        "congress": "118",
        "contentType": "application/json",
        "eventId": "115515",
        "format": "json"
    }
}

Reproduce:

curl 'https://api.congress.gov/v3/committee-meeting/118/house/115515?format=json&api_key=<API_KEY>'
mnewatloc commented 1 year ago

We have created a ticket for this issue. Thank you for bringing this to our attention.

ryparker commented 11 months ago

I've noticed a few more with this issue.

From the 118th Congress:

ryparker commented 8 months ago

My apologies, I had this issue confused with https://github.com/LibraryOfCongress/api.congress.gov/issues/196

This can be closed.