Skip to main content

Hi all,

 

After an update of the extensions in VS Code, when I try to retrieve a file to/from org, besides the fact it takes forever, in the end I get the following error:

Metadata API request failed: Cannot read properties of null (reading 'split').

 

When I try to deploy I get the following error: 

INVALID_OPERATION: Server received invalid zip file, review request and try again

 

I downgraded the Salesforce CLI version to older ones (I tried many different ones), as it was suggested as possible solution however the issue persists. 

 

Any thoughts of possible solutions would be much appreciated, thank you! 

2 answers
  1. Jan 24, 2024, 7:24 AM

    Thank you @Keiji Otsubo for your suggested solution. I had tried the solution you suggested before as I mentioned to my question and didn't work.

    In the end it seems there was also the need to uncheck the option 'Experimental: Deploy Retrieve' from VS Code settings. By doing so it works again.