Skip to content
Bug Barometer
All issues
Solution Scheduled

Platform / ALM

Scratch org creation fails with a default record type for Opportunity object in a definition file

Summary

When including a default record type for the lead object in scratch org definition file you will see the error:
"Opportunity.DefaultProcess: Cannot specify a default on: Opportunity"

Similarly, we will see a different error with the Lead object which is reflected in another Known Issue 27168

Workaround

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

History

  1. First tracked here as Solution Scheduled with 4 reports

    Nov 30, 2026