function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion

WSC: Error in Metadata retrieve of SiteChangelist object

I'm trying to retreive the CustomObject type and I get the following message: 


unpackaged/package.xml: Metadata API received improper input. Please ensure file name and capitalization is correct. Load of metadata from db failed for metadata of type:CustomObject and file name:SiteChangelist.


What is the the SiteChangelist object?  I didn't see this object documented in any of the API docs.

Hi Bryano, 

This error is generally seen when there is bad metadata on WF Rules / reports etc.
For instance, WF Rule tasks created for a role that doesn't exist anymore.

How to fix this-
a) Need to find the bad metadata for WF Rules on that object.
b) Fix the bad metadata and then retrieve the WF Rules for that object.