What is the document file path limitation in SharePoint Online?


​A document's file path includes includes the length of your document library name, folders, and the file. It does not count the characters in the site URL itself. Total file path length for documents is 400 characters when accessing files through the browser or directly through desktop apps.

If you use OneDrive to sync files locally, the file path limit is 259 characters.

Common error messages

Common error messages when attempting to open a document in the desktop app include:

How to fix this error

Options include: