leader: raise HTTPError