Skip to main content
When deploying custom Case fields to one of our sandboxes, the Metadata API is returning Error: limit exceeded failures on all custom fields defined in Case.object. Here is a portion of the build failure output:

[sf:deploy]

*********** DEPLOYMENT FAILED ***********

Request ID: xxx

All Component Failures:

1. objects/Case.object (Case.OC_Project_Due_Date__c) -- Error: limit exceeded (line 3594, column 13)

2. objects/Case.object (Case.Omni_Data_Uploaded_Allocations__c) -- Error: limit exceeded (line 3642, column 13)

3. objects/Case.object (Case.Omni_Data_Uploaded_Assets__c) -- Error: limit exceeded (line 3653, column 13)

4. objects/Case.object (Case.Omni_Data_Uploaded_Characteristics__c) -- Error: limit exceeded (line 3664, column 13)

5. objects/Case.object (Case.Omni_Data_Uploaded_Historical__c) -- Error: limit exceeded (line 3675, column 13)

6. objects/Case.object (Case.Omni_Data_Uploaded_Holdings__c) -- Error: limit exceeded (line 3686, column 13)

7. objects/Case.object (Case.Omni_Data_Uploaded_Performance__c) -- Error: limit exceeded (line 3697, column 13)

8. objects/Case.object (Case.Omni_Data_Uploaded_Personnel__c) -- Error: limit exceeded (line 3708, column 13)

.....

I checked the 'Limits' section for the Case object and it states we're using 2% of our custom Case field allocation (i.e. 15 of 800).

I've confirmed that there are no custom fields in the custom Case field recycle bin.

Anyone know if this is an underlying issue with Salesforce? Refreshing or creating a new sandbox each time we run into this issue is not a good option for us whatsoever.
5 risposte
  1. 21 dic 2015, 20:22
    My understanding is that Salesforce uses the Metadata API under-the-hood for change set deployments/management. To confirm this I created a change set with a bunch of custom Case fields and deployed to the problematic sandbox. It failed with the same limit errors. This has happened to two of our developer sandboxes now. This is seems to be a repeatable, underlying issue with the Salesforce platform that needs to be addressed. It goes without saying, the sooner the better.
0/9000