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
ih-Jacoih-Jaco 

Code runs perfect in Sandbox but not so in Production

We could use some help debugging a problem we are having in our code.  It works perfectly in sandbox but fails in production.  We have checked data model and field level security and all is good.  Can someone help with the most common reasons it works in sandbox and not production.

 

Thanks in advance. 

RCJesseRCJesse
Well there could be a lot to check. Profile rules, apex rules... How is it not running? Does it not let you run the code or does the code fail. Are there any errors given?
bob_buzzardbob_buzzard

You'll need to tell us more about the code if you want specific help - e.g. is it trigger, webservice, VF controller, what its attempting to do, how its failing etc.  Posting the code is always a good idea, as long as there's  not reams of it.