Creating site page from saved template throws error : -2147024809, System.ArgumentException& message ;Invalid data has been used to update the list item. The field you are trying to update may be read only

Ashwin ch 1 Reputation point
2022-09-14T09:05:11.343+00:00

Not sure why exactly this is happening only in one subsite.

recently, i deleted a custom column called 'topic' and then added new topic column and made changes to all the content type.
error is: Failed to load resource: .../_api/sitepages/pages(4067)/CopyWithConfiguration
the server responded with a status of 400 ()

I tried deleting the saved template and tried to create new template, by choosing save as template option, however i am getting same error as:

Inner-Message: Invalid data has been used to update the list item. The field you are trying to update may be read only.
Exception-Message: We're sorry, we encountered an unexpected error. Please refresh the page and try again.

however if i refresh the page, it removes the webparts in the template and readding it will resolve the issue.
Currently the templates content type is handbook chapters, however if i change it to site page and try to create new site page from it, issue resolves.

can anyone help me with this,

SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
10,610 questions
SharePoint Development
SharePoint Development
SharePoint: A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.Development: The process of researching, productizing, and refining new or existing technologies.
2,897 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.