Hot fix: better exception using HTTPException