+ Start a Discussion
sahitya adminsahitya admin 

hitting governor limit in metadatapi

System.CalloutException: Web service callout failed: WebService returned a SOAP Fault: EXCEEDED_ID_LIMIT: record limit reached. cannot submit more than 10 records in this operation faultcode=sf:EXCEEDED_ID_LIMIT faultactor=
need your help in fixing this error.urgent requirement.thanks in advance
SandhyaSandhya (Salesforce Developers) 

This is a limit for metadata please refer below link.

You must submit arrays of only one type of component. For example, you can submit an array of 10 custom objects or 10 profiles, but not a mix of both types.

Please refer below link which says to use Batch Apex to overcome this.

Hope this helps you!

Please mark it as Best Answer if my reply was helpful. It will make it available for other as the proper solution.
Thanks and Regards