This fix is applicable in Windows environment. I do not have a solution for mac yet.
Trying to open images in Photoshop after downloading from Whatsapp? You are most likely to see this error message
“Could not complete your request because a SOFn, DQT or DHT JPEG marker is missing before a JPEG SOS marker”