Apple Event: May 7th at 7 am PT

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Why do I get error that filenames longer than 31 characters are unsupported?

I have read more than one post on this happening on Mavericks, yet I see nothing that indicates anything other than yep, it is an intermittent problem. To summarize:

When saving a file, or exporting to PDF, or printing to PDF, etc., the filesystem will sometimes throw an exception:

1. Error dialog presents: "Names longer than 31 characters are not supporred on the destination volumne."

2. If the filename is shortened, it is "accepted" yet no file is saved at the destination folder.

3. (In my observation) The previously used destination folder is not remembered for saving/exporting subsequent files. (This seems consistent with the files not actually being saved, despite shorter filenames.


This is very problematic, and it has occurred numerous times. Disk Utility shows no problems with the hard disk (using Verify). Rebooting seems to clear it up (sometimes), but it is pretty silly for a Mac to require a reboot like that (that sounds like Windows).


Any help / response would be appreciated.

Posted on Feb 2, 2014 11:05 AM

Reply
82 replies

Aug 3, 2015 7:17 AM in response to Leslie Worley

Hi colleagues,

I recently faced the same problem with this unsupported length of filenames (particularly with Mail- and TextEdit-files). Searching the Internet I found a hint that led me to a solution (Apple Mail Fehler beim Speichern von Anhängen - Namen mit mehr als 31 ...)(sorry, german only).


According to that hint the problem is caused by the usage of an external Windows-(MS-DOS)-formatted drive (i.e. USB-stick or else) , where the Mac seems to take over this formatting-infos and „remembers“ them when you later want to save a file on your disk.


Recapitulating the steps I did before I was confronted with that annoying error message I suggest:

you better not open, edit, save and close a file while it’s still located on the MS-DOS-stick (SD-card…) but copy or move it to the Mac, edit and save it there, then copy or move it back to the external drive.


Simply transferring files from one drive to the other does not cause a problem but to open , edit , save and close a file directly on the ext. drive leads to the unwanted error-message (most probably you also get a message telling you, that „Versions“ is not supported when saving and closing the file on that drive).


So I did the following to get rid of the 31-character limitation:

1. go to ~/Library, search for the „Caches“-folder, delete it

2. search for the „Caches“-folder in Macintosh HD/Library and delete it (admin identification may be necessary)

3. go to Macintosh HD/System/Library and again delete the „Caches“-folder herein (admin-ID needed).

4. restart the Computer (the Cache-folders are rebuilt automatically).


Proofing file-saving in Mail and TextEdit brought up no more error messages.


For me it works and I hope it will for you.


All the best

Norbert


PS: I found this reply by Niel on the same issue which I think supports the theory of how the target drive is formatted.

User uploaded file

Sep 18, 2016 10:32 AM in response to Udo from Berlin

Thanks, Udo and Kurt. This solved my problem. I'm on El Capitan. The surprising thing was that having one of these special characters in a file name ANYWHERE on the hard drive will prevent me from saving a file with a long name anywhere else on the drive (saving from an Adobe CC app). OSX seems to allow the file names with characters that cause these problems, but then it will cause a problem later on when saving to that drive from specific apps.

Why do I get error that filenames longer than 31 characters are unsupported?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.