Activity Forums Salesforce® Discussions What is CalloutException in Salesforce ?

  • Manish

    Member
    September 18, 2020 at 3:21 pm

    CalloutException: You have uncommitted work pending. Please commit or rollback before calling out” occurs when you first perfrom callout and then DML in same transaction. To resolve this issue you need to perform DML in future method so your callout and DML will be in different transaction.

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos