Skip to content
Bug Barometer

Testing HTTP Callouts from Async Apex throws "System.CalloutException"

Salesforce says this is fixed.

Summary

Testing HTTP Callouts from Async Apex fails after inserting a CollaborationGroup or SetUp objects like User , ContentVersion, and it throws "System.CalloutException"
Exception: System.CalloutException: You have uncommitted work pending. Please commit or rollback before calling out. The error also depends on sObject, Class version, and org shape

Workaround

We haven't loaded the full details for this issue yet. Check the official page.

History

  1. First tracked here as Solution Deployed with 154 reports

    Nov 30, 2026

Also open in Uncategorized