Question: could not complete your request because invalid jpeg marker?
Answer: Solution 3: Open the file in another photo app and save as JPEG. Open the problematic image in a photo app such as Preview (on macOS) or Photos (on Windows). Now save the file again as a JPEG image from within such an app. Try opening the file again in Photoshop.