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
Kiran Kumar 551Kiran Kumar 551 

VS Code Deployment error INVALID_OPERATION : Too many files in zip

Hi All,

We are trying to deploy our code to a developer edition org using VS Code, but when we are trying to deploy we are facing the below error :

INVALID_OPERATION : Too many files in zip

Does this mean all the time when we deploy using VS Code we need to move the code in chunks or is there any issue with our installation?

Thank you in advance,
Kiran
Best Answer chosen by Kiran Kumar 551
SwethaSwetha (Salesforce Developers) 
HI Kiran,

Please note that the maximum number of files that can be contained within your zip is 10,000. Please see the documentation below for more information:

Metadata Limits
https://developer.salesforce.com/docs/atlas.en-us.salesforce_app_limits_cheatsheet.meta/salesforce_app_limits_cheatsheet/salesforce_app_limits_platform_metadata.htm

As this will be a hard coded value it cannot be increased.You will need to split your deployment into multiple deployments.

Please mark this answer as best if it helps so that others facing same issue will find it useful.
 
Thanks