One or more components failed Version Compatibility Check

 

Error :

 

One or more components failed Version Compatibility Check.
This change set contains components that require the “37.0” or higher platform version. Please select an organization with a platform version of “37.0” or higher, or remove all incompatible components.

 

Issue/Scenario :

When uploading the changeset to production I am getting the below error : One or more components failed Version Compatibility Check.
This change set contains components that require the “37.0” or higher platform version. Please select an organization with a platform version of “37.0” or higher, or remove all incompatible components.

Error
Error

 

Root Cause:

This issue happens due to the mismatch between the API versions of production/Target salesforce org/instance. This might happen when you Sandbox is already upgraded to the new API/Release but your production/target org has not yet received the upgrades yet. Which is always the case , as our sandboxes get the updates first and then our productions are upgraded. So if you have developed a code with the new sandbox, then your sandbox API version is greater than the production/target org API. In this example my sandbox is API 37 (Summer 2016) but production is still API 36 (Spring 16).

 

Resolution:

Open the components that was created with the new version of the API. Mainly the Classes/Visualforce pages etc and go to the version tab. Reduce the version to  the previous version and save it. You can now try uploading the changeset and it should work fine.

 

Keep reading and sharing.. it helps others as well as yourself sometime 🙂

 


Comments

Leave a Reply

Your email address will not be published. Required fields are marked *