-
Notifications
You must be signed in to change notification settings - Fork 37
"LIMIT_EXCEEDED: Too many files in retrieve call, limit is: 10000" #166
Comments
@kaulonline it is a salesforce development platform limit. |
Thanks Diéffrei. Agree, this is a salesforce limit and this will be encountered during any metadata calls > 10000 components , however wanted to know if there was any additional mechanism built to either loop through or split the retrieve request. |
Got it! |
Yeah.. It would be interesting to see this tool handle > 10K component. Meanwhile, I tried to split the package and keeping a limited types and got the below error :
|
hmmmm yeap I had the same problem too. (#118) |
Thanks for pointing to the same issue. Yeah this seems to be the similar issue. Although, I had taken out Reports/Dashboards/Groups/Roles and Document (+many more unnecessary ones) |
There are no plans for However you can try working around this limit with a simple wrapper bash script. The scripts splits the given patterns from the The patterns must only match Metadata which is safe to be retrieved without any CustomObject, such as Example $ force-dev-tool fetch myremote
$ force-dev-tool package -a myremote
$ RETRIEVE_SPLIT_PATTERNS='PermissionSet/*,Document/*' bash force-dev-tool-retrieve-wrapper.sh myremote |
Hey Folks,
While retrieving got the Salesforce error - "LIMIT_EXCEEDED: Too many files in retrieve call, limit is: 10000" . This is the hard Salesforce limit which doesn't let you retrieve more than 10000 components in a single API call.
Not sure, if you are already aware of this and have a plan to handle this in the tool .
Pls. suggest.
Thanks,
Ashish
The text was updated successfully, but these errors were encountered: