+ Start a Discussion
asadim2asadim2 

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

Hi!

 

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

asadim2asadim2

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