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
Shakir Beg 23Shakir Beg 23 

ERROR running force:source:retrieve: Invalid or unsupported zip format. No END header found

Hi,
I have configured Visual Studio Code for salesforce. I am able to login but not able to retrieve "Source from Org" when i click on "SFDX: Retrive Source from Org" option it's giving me below error.

Starting SFDX: Retrieve Source from Org
01:38:54.106 sfdx force:source:retrieve --manifest e:\SFDCWorkspace\MyDevOrg\manifest\package.xml
ERROR running force:source:retrieve: Invalid or unsupported zip format. No END header found
01:39:12.91 sfdx force:source:retrieve --manifest e:\SFDCWorkspace\MyDevOrg\manifest\package.xml ended with exit code 1

Thanks,
Shakir Beg
Varun Agarwal 89Varun Agarwal 89
Issue was due to static resource. After removing static resource tag from package.xml , it work for me.
Swetank swetankSwetank swetank
The mentioned error was due to static resource tag in package.xml folder .
Remove <types>
        <members>*</members>
        <name>StaticResource</name>
    </types> 
from folder, save it and try again . It will work .