In this InfoPath 2013 tutorial, we will discuss how to resolve “The form cannot be submitted to the specified SharePoint document library”. Also, we will see how to resolve “The form cannot be submitted to the specified SharePoint list or document library. The SharePoint location may be read-only or you may not have permissions to access it”.
Here we will discuss how we can solve the below error which comes while submitting an InfoPath customized form in SharePoint online.
Recently we developed an InfoPath form using InfoPath designer 2013 and we were saving to a form library in SharePoint online site.
But when we open an item to edit and then try to submit it, it was not allowing me to save the item, it was giving an error like below:
The form cannot be submitted because of an error.
Click OK to resume filling out the form. You may want to check your form data for errors.
The form cannot be submitted to the specified SharePoint document library. The document library already contains a file with the same name. A value in the form may be used to specify the file name. If you know what that value is, modify it and try submitting the form again.
An entry has been added to the Windows event log of the server.
Log ID:5567
Correlation ID:e772479e-c011-5000-9744-34c9d2f79a44
The full error looks like below:

The form cannot be submitted to the specified SharePoint document library
We developed an InfoPath form and we were saving to SharePoint online form library. In that form, we were using a custom submit button, and saving the data using custom rules to SharePoint online form library.
To check the rule associated with a button, select the button and click on “Manage Rules” which is under Home tab in the ribbon.

We were saving the form using a data connection. Click on the “Data” tab and then click on “Data Connections“.

The “Data Connections” tab will show all the data connections used in the form. Select the particular data connection which you are using and then click on “Modify” like below:

Then in the “Data Connection Wizard”, Check the “Allow overwrite if the file exists” checkbox like below:

After that as long as you will not change the Name field (which I have used in the fx to use as the file name), it will edit the item rather saving the item.
The form cannot be submitted to the specified SharePoint list or document library. The SharePoint location may be read-only or you may not have permissions to access it.
If you are getting an error related to permissions while submitting the form like below:
The form cannot be submitted to the specified SharePoint list or document library. The SharePoint location may be read-only or you may not have permissions to access it.
The above issue usually comes, if you have set any item level permissions in the list or document library in SharePoint Online.
To verify this, Open the list settings page then click on Advanced Settings and then check the below things.
The Create and edit all items radio should be selected like below:

The form cannot be submitted because it contains validation error. Errors are marked with either a red asterisk (required filed) or a red, dashed border (invalid values)
You can also get the form cannot be submitted error, if you are trying to submit a form with a value for the mandatory fields. The full error will come as:
The form cannot be submitted because it contains validation error. Errors are marked with either a red asterisk (required filed) or a red, dashed border (invalid values).
In this case make sure that the fields which are mandatory in the list, contains a value in the InfoPath form.
The best thing is whatever columns are mandatory in the list, make those forms to mandatory in the list form also.
The form cannot be submitted. One or more field types are not installed properly. Go to the list settings page to delete these fields.
You may also get The form cannot be submitted error if you have any invalid fields in the SharePoint list. The full error will come as: The form cannot be submitted. One or more field types are not installed properly. Go to the list settings page to delete these fields.
To solve this error, you can go to the list settings and delete the fields which are invalid.
Read some similar InfoPath tutorials:
- InfoPath alternatives for designing SharePoint Forms
- How to publish InfoPath forms as a content type in SharePoint 2013?
- Deploy Administration approved InfoPath forms in SharePoint 2013
- Make attachment field mandatory in InfoPath Designer 2013 in SharePoint Online list
- InfoPath failed to publish because the default content type in the document library is not based on the Form content type SharePoint Online InfoPath Error
- The URL template.xsn is an unsupported relative URL error in SharePoint online modern form library
- You do not have permissions to access a SharePoint list that contains data required for this form to function correctly
- Make the attachment field mandatory in InfoPath Designer 2013 in SharePoint Online list
- Publish InfoPath form to SharePoint 2013 form library or List
- Microsoft InfoPath Views Tutorial
- Working with InfoPath form library SharePoint 2013/2016/Online
- Unable to connect SharePoint site. The Operation could not be completed error in InfoPath 2013 SharePoint Online
- This feature requires SharePoint 2010 or greater with InfoPath Forms Services enabled
- InfoPath 2013 show hide section using Rules in SharePoint online
- Limit attachment size in InfoPath 2013 SharePoint online
- InfoPath 2013 multiple attachments
Hope this article will be helpful to solve below InfoPath errors in SharePoint Online.
- The form cannot be submitted to the specified SharePoint list or document library. The SharePoint location may be read-only or you may not have permissions to access it.
- The form cannot be submitted to the specified SharePoint document library.
Hello Everyone!! I am Bhawana a SharePoint MVP and having about 10+ years of SharePoint experience as well as in .Net technologies. I have worked in all the versions of SharePoint from wss to Office 365. I have good exposure in Customization and Migration using Nintex, Metalogix tools. Now exploring more in SharePoint 2016 🙂 Hope here I can contribute and share my knowledge to the fullest. As I believe “There is no wealth like knowledge and no poverty like ignorance”
Thank you very much Bhawana. Very useful.
What if only one user is receiving this error , others from the same team are able to submit the form.We are still running on SharePoint 2013 and Infopath 2013.