How can I fix an android tablet which says data wipe error
Try to enter Recovery Mode and factory reset again from there.

To enter recovery mode, power off your phone and press and hold the power button along with the volume down button. The Recovery Mode menu should appear and there should be an option to do a factory reset.

See here for more info on how to enter Recovery Mode.