Invalid file or folder name characters in OneDrive for Business

If a file or folder you’re trying to upload to OneDrive for Business contains any of the characters listed below, rename the file or folder to remove these characters. The list of invalid characters is different on Office 365 and SharePoint 2013.

Invalid file or folder name characters in OneDrive for Business on Office 365 Invalid file or folder name characters in OneDrive for Business on SharePoint 2013
" # % * : < > ? / \ | ~ " # % & * : < > ? / \ { | }.
 
 
Applies to:
OneDrive for Business, SharePoint Online Enterprise (E1), SharePoint Online Enterprise (E3 & E4), SharePoint Online Midsized Business, SharePoint Online Small Business, SharePoint Online Website, SharePoint Server 2013 Enterprise, SharePoint Server 2013 Standard