Hello, shalu kumari
Welcome to Microsoft Community.
To avoid any redundant efforts, I’d like to gather a bit more information about the location of the file in question. Could you please confirm if the file is saved within your OneDrive folder? Or is it possibly located in a folder that isn’t set to sync with OneDrive? Some users have experienced similar issues when files are placed in folders designated for synchronization.
Additionally, do you have any antivirus software installed on your computer that scans files? Occasionally, files scanned by antivirus programs can become corrupted.
Lastly, could you kindly provide a detailed list of all the troubleshooting methods you’ve attempted? This will help us ensure we don’t repeat any steps you’ve already tried.
Looking forward to your response so we can assist you further.
Yuhao Li
Microsoft Community Technical Support