Below is the failure report generated by the code you posted, minus your notebook's serial number.
Failure ID Tag Checksum HP Serial Number Test Date Failure Code Device Includes Error Message
0TQJKV-96HAAF-MFPW2J-60AK03 | OK | XXXXXXXXXX | 11/30/20 | 301 | Storage | Floppy Drive, Hard Drive, Memory Drive, Optical Drive, SCSI, Tape Drive | Hard Disk 1 SMART Hard Drive Detects Imminent Failure |
You will need to install a new NVMe solid state drive, and reinstall the operating system.
If you can still get into Windows, back up any files you need to save onto a portable hard drive.
Below is the link to the service manual, where you can find the SSD removal and replacement procedure.
HP Pavilion 15 Laptop PC Maintenance and Service GuideIMPORTANT! This document is intended for HP au...
After you replace the drive you can, with another Windows PC running W7 64 bit or newer, use the HP cloud recovery tool to create a bootable USB recovery drive that will reinstall W10, the drivers and the software that originally came with the notebook.
Here is an info link for how to use that utility...
PC consumer HP - Utilizzo di HP Cloud Recovery Tool (Windows 10, 7) | Assistenza clienti HP®