The PROBLEM
The user receives the error message 'URL is invalid' while uploading the file to SharePoint Online or SharePoint 2013 document library. The problem is not limited to any specific file format, it may occur with Docx, xlsx, pdf, others.
The URL [file name] is invalid. It may refer to a nonexistent file or folder, or refer to a valid file or folder that is not on the current Web.
How to fix URL is invalid SharePoint error
Version ColumnThe problem may occur when the Version column is configured as an Indexed Column. Remove the Version column from the list of Indexed Columns to fix.
- Navigate to the library/list with problem.
- From Ribbon --> Library tab --> Library Settings.
- Click Fields --> Indexed Columns.
- Click Indexed Columns --> Version.
- Click Delete --> click OK.
- Re-upload the problematic file again.
Invalid Date
The problem may occur when the default value for date column is incorrect, maybe an invalid format. Make sure the value for the date/time filed is in the expected format.
Make necessary changes and re-try, the file should be uploaded now.
The problem maybe sometimes with the file itself and not the contents. Copy the contents to a new file and try uploading, this works in many cases.PE| More help with ULS logs
If you still can't figure out the problem, check SharePoint logs (C:\Program files\Common Files\Microsoft Shared\Web Server Extensions\14\LOGS) or ask Microsoft support to provide you the logs, deep dive into the logs to find the issue and fix. Contact Microsoft Support for further help
Have Questions? Post them here!
Provide Feedback For This Article
We take your feedback seriously and use it to improve our content. Thank you for helping us serve you better!
😊 Thanks for your time, your feedback has been registered!
Comments & Discussion
Facing issues? Have questions? Post them here! We're happy to help!