You've saved a file, but OneDrive stubbornly refuses to sync it. The error mentions an unrecognised character in the filename. It's a common and frustrating issue for small businesses, but it's usually quick to fix. This guide shows you how to find the offending file, rename it correctly, and get your sync back on track.
OneDrive syncs your files across Windows, Mac, iOS and Android. To keep everything consistent, it follows rules that are stricter than some operating systems. Characters that are perfectly legal on a Mac or in a web app can be illegal in OneDrive because they conflict with Windows file system rules.
The usual culprits are:
If a file contains any of these, OneDrive will flag an error and stop syncing that file. The rest of your files may continue to sync, but the problem file will remain stuck.

OneDrive usually tells you which file is the problem. Look for a red cross on the OneDrive cloud icon in your system tray or menu bar. Click it to open the activity centre. There you'll see a list of files with errors.
If you have many files, use the search box in File Explorer or Finder and type the error message, or sort by status. In Windows, you can also open OneDrive settings, go to the Account tab, and choose Choose folders to see which folders are syncing. The error is often shown next to the file name.
If you still can't find it, try pausing and resuming sync. The error will usually reappear and point you to the file.
Once you've identified the file, rename it using only safe characters. Safe characters include letters, numbers, spaces, hyphens (-) and underscores (_). Avoid all the special characters listed above.
Here's how:
If the file is in a shared folder or a SharePoint library, you may need to rename it there instead. The same rules apply.
After renaming, check the OneDrive activity centre to confirm the error has cleared. If it hasn't, try restarting OneDrive or your computer.
The best fix is to avoid invalid characters altogether. Set a simple naming convention for your team. For example, use hyphens instead of colons, and avoid symbols like # or % in filenames. Train staff to use safe names when saving files.
If you regularly receive files from external parties, consider running a quick check before saving them into OneDrive. A simple rule: if a character isn't a letter, number, space, hyphen or underscore, replace it.
For businesses that rely on Microsoft 365, it's worth having a support partner who can help set up best practices and troubleshoot sync issues quickly. Our Microsoft 365 support team can assist with configuration and training. Also, ensure your files are backed up regularly. While OneDrive is resilient, it's not a full backup solution. See our guide on why all hard drives eventually fail for more on data safety.
Most filename issues are easy to fix yourself. But if you have hundreds of files with errors, or if sync problems persist, it may be a sign of a deeper issue. Sometimes the OneDrive cache becomes corrupted, or there are permission problems.
If you've tried renaming and restarting without success, it's time to get help. Our remote IT support team can diagnose and fix OneDrive problems quickly, without you leaving your desk. We can also review your file naming policies and set up automated checks to prevent future disruptions.
Don't let a small character bring your file sharing to a halt. A quick fix now saves hours of frustration later.
Our friendly IT support team can fix sync issues remotely and get your files flowing again. No fuss, no downtime. Get in touch today.
Explore remote IT support → Book a FREE IT Consultation →Related services: Microsoft 365 support · data backup · computer repair in London
When you subscribe to the blog, we will send you an e-mail when there are new updates on the site so you wouldn't miss them.