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
SteveMouSteveMou 

API Error when deploying change set from Sandbox Summer preview to Production

I just created an Apex Class in my Sandbox Org that is running on the Summer 2014 preview. The code works fine, but when I deploy the changeset to Production I get the below error:

"This change set contains components that require 31.0 or higher platform version. Please select an Organization with a platform version of 31.0 of higher".


Is there a way around this or do I need to wait until July 18th when SFDC Production is updated with Summer 2014? 
Best Answer chosen by SteveMou
srinu_SFDCsrinu_SFDC
I believe you can lower the api version in the YourClass.cls-meta.xml and try to migrate then.

Thanks,
Y.Srinivas

All Answers

srinu_SFDCsrinu_SFDC
I believe you can lower the api version in the YourClass.cls-meta.xml and try to migrate then.

Thanks,
Y.Srinivas
This was selected as the best answer
SteveMouSteveMou
Thanks lowering the API to 30.0 did the trick.