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!
- Change SharePoint Online List Experience to New Experience from Classic
- Cannot load PowerApps form in SharePoint Online due to repeated authentication
- Create SharePoint list from Excel spreadsheet and import table
- [Solved] SharePoint Search Internal server error exception
- [Fix] SharePoint: This embed code doesnt seem to work. We only support iframe based embeds
- How to extend retiring SharePoint 2010 Workflows and continue with Office 365
- SharePoint Online: Editing session has ended Message
- SharePoint error cannot connect to the configuration database
- That did'nt work, Issue type User not in directory - SharePoint external access error
- How to embed web page in SharePoint
- SharePoint - The URL is invalid. It may refer to a nonexistent file or folder, or refer to a valid file or folder that is not in the current Web.
- SharePoint error 2130575251 - The security validation for this page is invalid and might be corrupted
- Microsoft 365: How to Turn Off Delve in SharePoint Online for All Users
- SharePoint Server 2016 error Microsoft Office Online Server 2016 cant be installed on the same machine as a Microsoft SharePoint Server product
- JSON column formatting to preview SharePoint Online file on mouse hover
- How to show Videos on SharePoint Page
- How to get SharePoint Online user details from person or group column using REST API
- How to retrieve all SharePoint Online List Items using Rest API
- How to wrap column text in SharePoint Online Modern List Grid View using JSON formatting
- Recommended size and resolution for SharePoint Online Site logo
- SharePoint List redirect user after submitting form NewForm.aspx
- Add Custom External Link to SharePoint Site Navigation
- Drag drop files here option missing for SharePoint document library
- Can Microsoft SharePoint Lists be synced and accessed offline without internet?
- SharePoint - Use Today's Date Time in list view filter and calculated column
- Convert SQL to CSV in Notepad++ - NotepadPlusPlus
- URL Decoder Tool - Tools
- How to change the tab color on Microsoft Excel on Mac - MacOS
- Java: Convert String to InputStream - Java
- How to Convert Python Notebook .ipynb (JSON) to Executable .py Module - Python
- How to Reconfigure Current Date and Time on Mac using Terminal - MacOS
- [fix] zsh: command not found: git - Git
- This class should be public (android.support.v7.internal.widget.ActionBarView.HomeView) Lint Error - Android