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
Vamshi KrishnaVamshi Krishna 

Your code coverage is 70%. You need at least 75% coverage to complete this deployment.

Hello guys,
My batch apex callout class has a a weird error when trying to validate in Production. It says "Your code coverage is 70%. You need at least 75% coverage to complete this deployment".
The code coverage is 98% for this test class but still it shows this error. Also, my Prod Org has 66% overall code coverage.I cannot relate or figure out what the  issue is. Please help.
Ashish DevAshish Dev
Hi Vamshi,
You need to improve coverage of your existing classes to make overall coverage at least 75%. View coverage of classes (you can use developer console) to see where you can improve coverage.