File extension to long

%3CLINGO-SUB%20id%3D%22lingo-sub-1037549%22%20slang%3D%22en-US%22%3EFile%20extension%20to%20long%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1037549%22%20slang%3D%22en-US%22%3E%3CP%3EAm%20having%20a%20challenge%20with%20file%20extension%20is%20too%20long.%20When%20i%20save%20the%20same%20file%20on%20my%20C%20drive%20it%20saves%2C%20but%20when%20it%20comes%20to%20one%20drive%20it's%20not%20syncing.%20I%20tried%20changing%20the%20file%20and%20shorten%20it%20but%20i%20still%20get%20the%20same%20error.%20Anyone%26nbsp%3B%20who%20fae%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1037549%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EOneDrive%20for%20Business%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1037595%22%20slang%3D%22en-US%22%3ERe%3A%20File%20extension%20to%20long%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1037595%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F263854%22%20target%3D%22_blank%22%3E%40Damsky_2485%3C%2FA%3E%3CBR%20%2F%3E%3CBR%20%2F%3ESee%20article%3CBR%20%2F%3E%3CBR%20%2F%3E%3CA%20href%3D%22https%3A%2F%2Fsupport.office.com%2Fen-gb%2Farticle%2Finvalid-file-names-and-file-types-in-onedrive-onedrive-for-business-and-sharepoint-64883a5d-228e-48f5-b3d2-eb39e07630fa%3Fui%3Den-US%26amp%3Brs%3Den-GB%26amp%3Bad%3DGB%23filenamepathlengths%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fsupport.office.com%2Fen-gb%2Farticle%2Finvalid-file-names-and-file-types-in-onedrive-onedrive-for-business-and-sharepoint-64883a5d-228e-48f5-b3d2-eb39e07630fa%3Fui%3Den-US%26amp%3Brs%3Den-GB%26amp%3Bad%3DGB%23filenamepathlengths%3C%2FA%3E%3CBR%20%2F%3E%3CBR%20%2F%3EThe%20entire%20path%2C%20also%20known%20as%20maxpath%20-%20including%20the%20file%20name%2C%20must%20contain%20fewer%20than%20400%20characters%20for%20OneDrive%2C%20OneDrive%20for%20Business%20and%20SharePoint%20Online.%20This%20may%20be%20occurring%20if%20the%20file%20is%20within%20several%20subfolders%3CBR%20%2F%3E%3CBR%20%2F%3EIf%20you%20move%20the%20file%20into%20a%20higher%20level%20folder%20it%20should%20sync%20correctly.%20You%20may%20need%20to%20check%20the%20synchronization%20(OneDrive%20in%20the%20system%20tray).%20Ultimately%20you%20may%20need%20to%20reconsider%20the%20folder%20structure%20and%20naming%20conventions%20in%20OneDrive%20for%20Business%20to%20ensure%20it%20is%20compliant%20to%20path%20length%26nbsp%3B%3CBR%20%2F%3E%3CBR%20%2F%3EHope%20that%20helps%20to%20answer%20your%20question%3CBR%20%2F%3E%3CBR%20%2F%3EBest%2C%20Chris%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
Occasional Visitor

Am having a challenge with file extension is too long. When i save the same file on my C drive it saves, but when it comes to one drive it's not syncing. I tried changing the file and shorten it but i still get the same error. Anyone  who fae

1 Reply
Highlighted

Hi @Damsky_2485

See article

https://support.office.com/en-gb/article/invalid-file-names-and-file-types-in-onedrive-onedrive-for-...

The entire path, also known as maxpath - including the file name, must contain fewer than 400 characters for OneDrive, OneDrive for Business and SharePoint Online. This may be occurring if the file is within several subfolders

If you move the file into a higher level folder it should sync correctly. You may need to check the synchronization (OneDrive in the system tray). Ultimately you may need to reconsider the folder structure and naming conventions in OneDrive for Business to ensure it is compliant to path length 

Hope that helps to answer your question

Best, Chris