Salesforce API Version Mismatch for the CI Build and for the Custom Deployment
  • 31 Jan 2022
  • 1 Minute to read
  • Contributors
  • Dark
    Light

Salesforce API Version Mismatch for the CI Build and for the Custom Deployment

  • Dark
    Light

Article Summary

Salesforce API Version Mismatch for the CI Build and for the Custom Deployment.

To troubleshoot, run the following command to see the default API version for the SFDX:

sfdx config:get apiVersion --json

Next, run the below command to change the SFDX API version. For example, changing the API Version to 51.0:

sfdx config:set apiVersion=51.0 --global

Finally, run the command to see the configured API version:

sfdx config:get apiVersion --json

Was this article helpful?