Is there any drawback on using Metadata API through REST (that became available since Winter'19)? I only see good things such as:

  • Smaller payloads: probably improving performance reducing the network traffic.
  • A bigger amount of deployment bundle: the .zip file size limit of 39 MB .zip that applies to SOAP deployments.

However, based on some amazing previous answers here and the Salesforce DX Developer Guide, I noticed that SFDX CLI still defaults to SOAP.

I don't even understand REST is not becoming the default option in SFDX CLI.

  • 1
    I asked about it on social media. When I get a response, I'll circle back around.
    – sfdcfox
    Commented May 27, 2020 at 18:10
  • 1
    With the majority of the payload being composed of the ZIP files that metadata API uses I'd be surprised if you see any meaningful difference in performance related to request/response size. The more important part would be compressing the request and accepting a compressed response. Commented May 27, 2020 at 19:37

1 Answer 1


I got the response in the form of a Tweet:

That is correct. We have data command updates, including this on our roadmap for the end of this year.

In other words, the DX team simply hasn't gotten to it yet. Obviously, Safe Harbor applies, but this should be pretty trivial, I imagine, since it already works with the flag.

  • Thanks a million Brian, especially for going the extra mile here. I agree, it sounds trivial, I guess they might just trying to be on the safe side. Commented Jun 3, 2020 at 21:02

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .