My CI job is failing at the following step with the following error code.
Run sfdx shane:mdapi:pull -u me@example.com --reporting
asking your org about its metadata... Going to retrieve all the metadata you asked for...this could take a while
asking your org about its metadata... done
ERROR running shane:mdapi:pull: Command failed: sfdx force:source:retrieve -x pkgDirTemp/Report/package.xml -w 30 -u me@example.com --json
Error: Process completed with exit code 1.
The job runs for only 2 min 30 sec total, but I manually ran the step and got the following error from sfdx-cli directly:
LIMIT_EXCEEDED: Too many files in retrieve call, limit is: 10000
So, it looks like I have too reports in my org now. As a workaround I can remove reports from my daily backup job, but that's not a big problem for me.
Two topics for improvement:
- Is it necessary to change the code to surface this error produced by the underlying sfdx-cli command?
- Does the maintainer want this sfdx-cli plugin to handle this limitation of the Salesforce API? One way this can be done is by splitting the package.xml into multiple package.xml files and retrieving each simultaneously.
My CI job is failing at the following step with the following error code.
The job runs for only 2 min 30 sec total, but I manually ran the step and got the following error from sfdx-cli directly:
LIMIT_EXCEEDED: Too many files in retrieve call, limit is: 10000So, it looks like I have too reports in my org now. As a workaround I can remove reports from my daily backup job, but that's not a big problem for me.
Two topics for improvement: