Hi:
Unfortunately, I wouldn't be able to specifically help you with those errors or why the HP recovery process isn't working, but you can always clean install W10 at any time by using the media creation tool at the link below.
Create a USB (you need an 8 GB USB flash drive) installation flash drive.
https://www.microsoft.com/en-us/software-download/windows10
The software will work with the W10 product key in the BIOS, and automatically activate once you are connected to the internet.
Note: If your notebook originally came with W8.1, and you upgraded it to W10 during the free upgrade period, then if you are asked to enter a product key, check the 'Skip' box, and W10 will install and automatically activate once you are connected to the internet.
Then install the drivers and available software you need from the your PC's support page.