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

Sandbox to Production Moving



Any one Please  tell me.....


what are the common errors we are getting moving code,objects or anything from sandbox to production.....



Best Answer chosen by Admin (Salesforce Developers) 
Shiva Ramesh @ xcdhrShiva Ramesh @ xcdhr

Hi Vinni.foce


The common error will come when,

1) we miss some of the related components in ChangeSet while deploy.

2) Controller test coverage is below 75%. (Deploy Error        -        Average test coverage across all Apex Classes and 
Triggers is 52%, at least 75% test coverage is required).

3) The Data of Production will not support for test class.

4) If the fields are already created in production then some of the API names may be mismatch with Sandbox.