Right out of the box, my HP laptop displays "my disk (SMART event) is at risk" error in Intel Optane Memory and Storage
Solution 1:
So essentially the M.2 SSD in your laptop is not just an SSD, but also contains a 16 GB RAM chip that acts as an extra disk-cache.
The Optane driver software glues these together so Windows considers the combination to be a single device.
Now the Optane software thinks there is an error, but a SMART test on the SSD part is fine.
This indicates a problem with the RAM cache, which will usually not go away by itself. And it may get worse suddenly.
First of all: Make a backup of anything important on that laptop as the SSD can fail completely at any time if this problem gets worse.
(And personally I would not consider this laptop to be reliable at all with this error.)
Try updating all bios/firmware/drivers with the latest version from the HP website. Sometimes a thing like this is a glitch that disappears with an update, so that may help.
It it doesn't go way after updates call HP again and make this a warranty issue. Get the SSD replaced. (That also means a re-install of Windows. Another reason for the backup I mentioned.)
If the helpdesk isn't very helpful be persistent and get this escalated.
They should replace the SSD under warranty. A recurring error like this is just unacceptable.