Newer Version Available

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

Troubleshooting for Org Shape

Here are some issues you may encounter and workarounds.
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.