Newer Version Available

This content describes an older version of this product. View Latest

Troubleshooting for Org Shape

Here are some issues you can encounter when using Org Shape for Scratch Orgs.
DevOps Center Isn’t Enabled in a Scratch Org Based on an Org Shape
Description: Although DevOps Center is enabled in the source org, the scratch org created from the source org’s shape doesn’t have DevOps Center enabled. The DevOps Center org preference is purposely toggled off. We require that customers explicitly enable it by indicating the feature and setting in the scratch org definition file for legal reasons as part of the DevOps Center terms and conditions.
Workaround: Add the DevOps Center feature and setting to the scratch org definition file. See Scratch Org Definition for Org Shape for details.
ERROR running force:org:shape:list: Error authenticating with the refresh token due to: inactive user
ERROR running force:org:shape:list: Error authenticating with the refresh token due to: expired access/refresh token
Description: A trial org from which you created the org shape has expired.
Workaround:
  1. Use sfdx force:auth:logout to log out and remove the expired org.
  2. Run sfdx force:org:shape:list again.
Can't create a Digital Experience Cloud Site Using Org Shape
Description: When you try to create a scratch org from an org shape that contains an Experience Cloud Site, you get an error.
Workaround: None.
Error While Creating Scratch Org Using a Shape
Description: You see this error when creating a scratch org using a shape.
Workaround: Generate a new shape using the force:org:shape:create command, then try again.
Shift Status Picklists Aren’t Populated When Using a Shape With Field Service
Description: When you create a scratch org from a shape with Field Service enabled, the Status field picklist for Shifts is empty.
Workaround: Use an org shape with field service disabled, then enable field service in the scratch org definition file settings.
Org Shape Feature Accepts Only 15-Character Org IDs
Description: You can use only 15-character org IDs when enabling Org Shape for Scratch Orgs and specifying the source org in the scratch org definition file. Org IDs are usually 18 characters long, which is what the force:org:list command displays.
Workaround: Use only the first 15 characters of a standard 18-character org ID when working with the Org Shape feature.