File extension to long

Copper Contributor

Am having a challenge with file extension is too long. When i save the same file on my C drive it saves, but when it comes to one drive it's not syncing. I tried changing the file and shorten it but i still get the same error. Anyone  who fae

1 Reply

Hi @Damsky_2485

See article

https://support.office.com/en-gb/article/invalid-file-names-and-file-types-in-onedrive-onedrive-for-...

The entire path, also known as maxpath - including the file name, must contain fewer than 400 characters for OneDrive, OneDrive for Business and SharePoint Online. This may be occurring if the file is within several subfolders

If you move the file into a higher level folder it should sync correctly. You may need to check the synchronization (OneDrive in the system tray). Ultimately you may need to reconsider the folder structure and naming conventions in OneDrive for Business to ensure it is compliant to path length 

Hope that helps to answer your question

Best, Chris