Skip to content
Bug Barometer
All issues
Solution Deployed

Uncategorized

You have uncommitted work pending error when running Optimization

Summary

After running Optimization in Sandbox, the related Optimization Request may appear to be stuck in the Open status. If you check the Apex Jobs page you may see the following error in the Status Detail column associated with the Optimization job:

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

This issue is the result of the Sandbox having a copy of Custom Settings from the parent Production org that are incompatible with Sandbox.

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 2 reports

    Nov 30, 2026

You have uncommitted work pending error when running Optimization · Bug Barometer