"unrecognizable format" error importing images into Photos
I'm in the process of moving my photos from an old iMac iPhotos library to a MacBook Pro with the Photos app. I have been exporting the photos from iPhotos to a flash drive, then importing into Photos. The problem I'm encountering is that I get an error message when attempting to import some(not all) photos into Photos which says "this item cannot be added to your Photo library because of it may be an unrecognizable file format or the file may contain invalid data."
The photos which supposedly have an issue can be previewed just fine when clicking on them as they appear on the flash drive.
Some photos import with no issue at all.
Any ideas how to resolve this issue to avoid losing photos forever?
MacBook Pro 15″, macOS 14.0