Raise an exception even on 404, to get the error