Hello,
I am working on a application where I am editing some files usin CSOM, when I try to update masterpage catalog files from Publishing portal site, getting error with below codes and I have decided to suppress the error if error code are these below. Would like to know what these error code means and Is there any documents for SharePoint CSOM error codes?
and is there any property using which I can skip these files which will give such errors before even starting editing.
File: /_catalogs/masterpage/Display Templates/System/Item_CatalogTitle.js
Message: This file is currently associated to an HTML file of the same name and is drawing content from it. Until the files are disassociated, you will not be able to move, delete, rename, or make any other changes to this file.
Error Code: -2130575223
Error Trace Correlation ID: fe7b13f3-f9e0-4394-b82a-60e089dee7a1
Error Type Name: Microsoft.SharePoint.SPException
File: /_catalogs/masterpage/Display Templates/System/Control_QueryBuilderRefinement.js
Message: This file is currently associated to an HTML file of the same name and is drawing content from it. Until the files are disassociated, you will not be able to move, delete, rename, or make any other changes to this file.
Error Code: -2130239098
Error Trace Correlation ID: a04d36de-d959-4ab1-9e56-fc282dae6c3c
Error Type Name: Microsoft.SharePoint.SPException
Thanks in advance!
@RaytheonXie_MSFT