This error usually occurs if a hard drive was formatted on Windows and then connected to a macOS computer; macOS Big Sur, Catalina, Ventura, or Sierra does not support all the file storage block sizes that Windows does, so this causes it not to recognize the hard drive. You can use the First Aid tool to resolve this issue or reformat the drive if the problem persists.