Hi webbrewers3,
According to your description, I did a test on my side. Based on my tests, the limit of the characters (including the folder path and the file extent name) is 157 when saving a classic SharePoint Online Site as template by Settings >Site Settings > Save as Template.
Note: the whole limited is around 260 characters since the prefix “https://tenantname.sharepoint.com/sites/sitename” that hidden in the error message
Therefore, the file path includes the following:
- Template name;
- Document library name;
- Folder name(s).
- File name.
In this scenario, I would like to suggest you considering the following workaround to get rid of this limitation:
- Save the site as template without the contents;
Copy your files from this site to your new sites by one of the following options:
a. Copy the files to the new sites with the “Copy to” feature. By using this feature, the file histories will be reserved in the new sites.
b. Open the document libraries in the file explorer, and copy the files in the file explorer. In this way, the file history won’t be preserved, but this method is more convenient.
I’m really sorry again for this inconvenience for your concern, If you have a further concern about this feature, we would kindly suggest you share your experience in the SharePoint UserVoice. Our team is happy to listen to the user's suggestions so that we can understand the user's concern better and provide a better product to our customers.
Thanks for your understanding and cooperation.
Best Regards
Higgins