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
AbAb 

Executing a webservice and apex classin parallem, solutions ?

Hello,

I am not able to call an webservice it is giving me error saying ..
it cant make a callout if something is pending. 

What are other solutions i have in place.

Thank you for advise 
Best Answer chosen by Ab
GovindarajGovindaraj
Hi Sandrine,

You have some uncommited transaction pending so a callout cannot be made.

This might help you,
https://help.salesforce.com/articleView?id=000079772&type=1

Thanks,
Govindaraj.S