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
Mark MedlinMark Medlin 

ERROR: Entity type 'NetworkBranding' is not available in this api version.

I am using the sfdx force:source:pull command to bing scratch organization updates into my project.  I get the error, "ERROR:  Entity type 'NetworkBranding' is not available in this api version."

Do I need to change an API version somewhere or does sfdx not support that entity type yet?
Best Answer chosen by Mark Medlin
Raj VakatiRaj Vakati
What is the API name in project json file . Change version to 420.0 as shown below 
 
{
  "packageDirectories": [
    {
      "path": "force-app",
      "default": true
    }
  ],
  "namespace": "",
  "sfdcLoginUrl": "https://login.salesforce.com",
  "sourceApiVersion": "42.0"
}

 

 

All Answers

Raj VakatiRaj Vakati
What is the API name in project json file . Change version to 420.0 as shown below 
 
{
  "packageDirectories": [
    {
      "path": "force-app",
      "default": true
    }
  ],
  "namespace": "",
  "sfdcLoginUrl": "https://login.salesforce.com",
  "sourceApiVersion": "42.0"
}

 

 
This was selected as the best answer
Mark MedlinMark Medlin

Thank you!  This resolved my issue.

Raj VakatiRaj Vakati
Cool! Mark as solved!