"Invalid characters" error when you sync files from Windows Explorer to OneDrive for Business

Problem

When you use Microsoft OneDrive for Business (formerly Microsoft SkyDrive Pro) to sync files from Windows Explorer to a Microsoft SharePoint site, some files may not sync as expected. Instead, a red X is displayed on the file icon in Windows Explorer and then you experience one of the following problems:

Note: This article applies only to the previous OneDrive for Businesssync app (groove.exe). In most cases, we recommend that you use the newer OneDrive sync app (onedrive.exe) instead. Which OneDrive app?

  1. In the Microsoft Office Upload Center, you receive the following error message:

    Upload Failed
    Invalid characters

  2. In OneDrive for Business. Sync problems appears in the notification area. When you click View sync problems, you receive the following message:

    X item can’t be synced with OneDrive for Business.

    NOTE: X is the number of files that OneDrive for Business is trying to sync.

    Under the Error column, the following message is also present:

    This file name contains invalid characters.

NOTE: This issue occurs if you're syncing files to Microsoft Office 365 SharePoint Online or Microsoft SharePoint Server 2013.

Solution

To resolve this issue, delete any invalid characters from the file name of the Windows Explorer file that you're trying to upload to the SharePoint site. 

For more information about the characters that can cause this specific issue, see Restrictions and limitations when you sync SharePoint libraries to your computer through OneDrive for Business.


After you have deleted unsupported characters from the file name, the file will sync with OneDrive for Business.

More information

This issue occurs because the characters that are listed in the "Solution" section are not supported by OneDrive for Business.

For more information about OneDrive for Business, go to What is OneDrive for Business? 


Still need help? Go to Microsoft Community.

Expand your Office skills
Explore training
Get new features first
Join Office Insiders