OneDrive - We Cannot Sync This Item Because the Path is Too Long

Creation date: 9/21/2023 11:16 AM    Updated: 10/17/2023 3:51 PM    onedrive
Question:


Click Exit and then the OneDrive app will crash.

Cause:

 If files are synced to a PC or Mac, the following limitations apply:

  • Each segment of the path (a segment is a file name or folder name like “Promotion” or “Some File.xlsx” in the examples above) can't be more than 255 characters due to operating system limitations.
  • The length of the OneDrive root folder (e.g. C:\users\meganb\OneDrive - Contoso) + the relative path of the file (up to 400 chars) cannot be more than 520 characters.

If there are such files in a sharing folder, everyone who syncs the folder will see the same prompt and eventually OneDrive won't work properly for all of them.

What to do:

1. Locate the file based on the path on OneDrive Web.


2. Contact who modified the file to move it to a lower level OR rename the files/folders.

Ask the author to move the folders/files to root level or lower level OR rename the files/folders.
Files