iPad 5th Generation - WiFi - 128GB - A1822 Rose Gold Needs Repair

iPad is in good condition and doesn't appear to have any locks. It is a 128GB model, wi-fi only, and runs IOS 16. A screen protector is installed. Error 4013 occurs repeatedly when trying to restore. I think it could be the battery or possibly the lightning port, but i don't know. There is some cosmetic damage to the top corner next to the power button. Please contact me with any questions. Thank you.

eBay