What to check
Record the drive model, the exact error and whether you used the installation file for the PS4. Keep the original drive if you still have it.
What your result tells you
Bring both the context and backup status. The workshop can check the drive, connector and installation step separately.
Manufacturer troubleshooting and reference
Get help with this issue
PlayStation storage diagnostics and repair