All API endpoints should return an appropriate HTTP code on error.
All API endpoints should return an appropriate HTTP code on error.