Site TIPS PAGE🔎 SEARCH  Ξ INDEX  MAIN MENU  UP ONE LEVEL
 OJB's Web Site. Version 2.4. Mac Tip.Location: tip239 tips mac owen2 
Tip

Discuss   Up to OJB's Mac Tips List

OneDrive Quits (Path Too Long)

OneDrive does not like long file names, and to be more precise, it doesn't like long path names. The path is the complete way to get to the file. For example if you have a file called "File" in a folder called "Folder1" which in turn is in a folder called "Folder2" then the path is "Folder2/Folder1/File". This means when you get a warning from OneDrive that it quit because a path was too long, you need to look at the complete set of folders containing the file, starting at the OneDrive folder itself.

Generally you can then rename either the file or any folder in the path to that file which is too long, then restart OneDrive and it should continue - probably finding the next long path, to be honest! (OneDrive is the worst common cloud sync service, in my opinion).

But things can get even worse, because sometimes OneDrive will insist that a path is still too long after it has been shortened, or even if the files or folders have been deleted! This is because there is a second location where this stuff is cached which needs to be fixed as well (shortened or deleted).

Here's how to fix this problem...

Make sure OneDrive isn't running.
Note: to quit, click the OneDrive menubar item, click the cog icon, click "Quit OneDrive".
In the Finder (Desktop), go to the "Go" menu and choose "Go to Folder...".
Type "~/Library/Group Containers/UBF8T346G9.OneDriveStandaloneSuite" and press return.
Show invisible files by holding down command and shift and pressing the dot (.) key.
Open the OneDrive folder (usually called "OneDrive.noindex" but might have a custom name).
Open the OneDrive folder inside this folder (same naming as above, minus ".noindex").
You should see a copy of the folder structure in the real OneDrive folder.
Find the file or folder giving the problem and rename it to the same as the real one.
Note: the "real one" is the folder you have tried to rename already.
Hide invisible files again by holding down command and shift and pressing the dot (.) key.
Open OneDrive again.
Note: to open OneDrive, find it in the "Applications" folder and double-click it.

You might need to repeat this if multiple long paths are found. In general it is often best to quit OneDrive and correct all the long files before restarting it again... or use a good sync service, like iCloud!





I usually write a blog post about once a week. The latest post can be viewed here: Think for Yourself: In the end, everything is just an opinion. Be skeptical, and think for yourself! (posted 2026-04-25 at 21:12:02). Or go to the Home Page of My Blog to choose a post to view.

I do podcasts too! You can listen to my latest podcast, here: OJB's Podcast 2026-04-14 How Far is that Star?: How would we really know how big the universe is? Or subscribe to my podcast RSS feed, on my RSS Feeds page.

If you're not sure what to view from the thousands of pages on my site, here are some suggestions: My Latest Airshow Report (photos and movies from Warbirds Over Wanaka, 2026), My Favourite Wines and Beers (tasting notes for some of my favourites), An Interesting Astronomical Observation (learn a bit about astronomy from these observing notes), See Some Photos (A short rail journey through the Taieri Gorge), Read Some Mac Tips (Learn about how to use your Mac, and fix some problems).


Latest Site News and Notifications (Desktop): You are currently viewing OJB's web site, version 2.4 which has some major changes, and possibly errors! Please report any problems to ojb@mac.com.

 Site ©2026 by OJBWeb ServerMicrosoft Free ZoneMade & Served on Mac 
Site Features: Blog RSS Feeds Podcasts Feedback Log07 Jun 2024. Hits: 1,001,471,059
Description: Mac TipLogged: nothingLoad Timer: 228ms