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.
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.