Which version of Photoshop are you using and when exactly do you get such error message?
A screenshot of the error message would be a lot helpful for us.
Please refer to the attachment. Thank you
Sorry, It seems that you've attached the file using your Email client. Please use a browser on your computer and then attach the file. Refer FAQ: How do I capture and post a screen shot or video?
Can you offer a solution ?