Simplify Code / Add Error Mensage to Request Code