Loading

Version error when you upload a Change Set

Veröffentlichungsdatum: Oct 13, 2022
Beschreibung

You may receive this message when you attempt to upload a change set:

"This change set requires the (API version number) or later platform version.
One or more of the listed organizations is on a version incompatible with this change set. You can only select an organization for upload that is running the required version or later."

The target org is selected the first time a user uploads a change set. Based on the target org, Salesforce sets the version of the change set (current release vs next release) to match the target org's version. Once this is done, Salesforce requires that subsequent uploads of that change set be targeted to other orgs on the same version, or a later (newer) version, used in the original upload. 

Examples:

Example 1:

  • Change Set "A" is created in a Winter '19 org
  • The first upload attempt of Change Set "A" targets a Winter '19 org and is successful
  • A second upload attempt of Change Set "A" targets a Spring '19 org and is successful
Both attempts were successful since the first upload attempt locked the change set to Winter '19. Subsequent upload attempts of the original change set can be targeted to other Winter '19 or to orgs on the newer Spring '19 release.


Example 2: 

  • Change Set "A" is created in a Winter '19 org
  • The first upload attempt of Change Set "A" targets a Spring '19 org and is successful
  • A second upload attempt of Change Set "A" targets a Winter '19 org and hits the error
It's expected that the second upload failed since the first upload targeted an org on the newer Spring '19 release. Subsequent upload attempts of the original change set must be targeted to other Spring '19 orgs.
Lösung

Workaround for Example 2:

  • Clone Change Set "A"
  • Upload of the cloned change set to a Winter '19 org (Example 2 above) is successful
A cloned change set is treated as a new change set. Since it has yet to be uploaded to an org, it's version hasn't been locked. Therefore, it can be uploaded to a current version or a Preview sandbox.
Nummer des Knowledge-Artikels

000385976

 
Laden
Salesforce Help | Article