Chosen Solution

So I got this iPad from my elementary school computer teacher as she works with my mom. She said it says plug into iTunes and it wouldn’t restore. So I tried in recovery and in DFU and it shows error 27. It had never been worked on before and has been sitting around for almost a year. What could this be? NAND?

That’s what everything is pointing to. Probably want @refectio’s opinion