Handled errors from Post request