I used a SharePoint list as a WebPart in a new page and enabled 'Add an Item' to that WebPart so that users can add items to that list directly through the WebPart present on the new page. Now when the users are trying to add an item in the WebPart, then they are getting below error
"Invalid file name. The file name you specified could not be used. It may be the name of an existing file or directory, or you may not have permission to access the file."
But we can add an item to that list by going through the list but not through the webpart. Please Suggest.