PyCon / pycon2019

Website for PyCon 2019
BSD 3-Clause "New" or "Revised" License
158 stars 89 forks source link

Proposals API endpoints return 404 during connectivity problems? #586

Open brandon-rhodes opened 8 years ago

brandon-rhodes commented 8 years ago

A report from @njl suggests that the the proposal_detail API view not only returns 404 when a proposal does not exist (which is perfectly correct behavior), but also when there are transient errors. If we can confirm this, or figure out from the logs what is going on, then we should pivot to an accurate status like 500 so that users of the API endpoint can distinguish the two cases correctly.