+ Start a Discussion

You have uncommitted work pending. Please commit or rollback before calling out



This is really annoying me now. I am unable to deploy my code into our client org because of the above error from a test class that tests webservices. HOWEVER, the tests pass when I run them individually as well as when I run all Apex tests!


Any ideas what's going on?!

All Answers


I am unable to comprehend this bug. But it worked. Thanks!