add client and internal error