Questions tagged [org-shape]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
15 views

Create Org Shape: Error (1): The requested resource does not exist

My Dev Hub org and the source org are the same. I've followed all the instructions to setup Org Shape from the docs. Once I get to the point to create the shape, I get this error: sf org create shape -...
Tyler Zika's user avatar
  • 2,820
1 vote
0 answers
73 views

Org Shape Create failure and misleading error - SFDX

So my DevHub and SourceOrg is the same. Trying to create a Org Shape. After running the sfdx force:org:shape:create -u <source org username/alias> command, my org shape is succesfully created. I ...
KLab's user avatar
  • 177
1 vote
0 answers
113 views

Generate a Scratch Org Definition File from an Org Shape?

Is is possible to generate a scratch org definition file from an org shape? Org Shape is still buggy. I'm running into this known issue with Experience Cloud sites. It would be nice if I could use a ...
Mark Hansen's user avatar
1 vote
1 answer
76 views

Salesforce Org Shape Error authentication

I'm passsing for this error, when i run the command sfdx force:org:shape:list ERROR running force:org:shape:list: Error authenticating with the refresh token due to: expired access/refresh token I ...
Matheus Coelho Campos's user avatar
2 votes
1 answer
756 views

sfdx Scratch Org creation extremely unstable, unusable

Salesforce's Edge network (and infrastructure in general) is well known for being low quality and having lots of outages. sfdx's buggyness is also well known. However, there seem to be some ...
Andy Ray's user avatar
  • 1,409
0 votes
0 answers
40 views

Org shape doesn't copy Healthcloud, nor PersonAccount setup

I'm creating a new scratch org using Org Shape and sfdx, from an org that has PersonAccounts enabled, as well as HealthCloud installed. I'm trying to deploy my metdata. I get errors such as: No such ...
Andy Ray's user avatar
  • 1,409
0 votes
1 answer
505 views

Salesforce Org Shape not working with sfdx: "Can't create org shape."

I enabled org shape in my production org. I entered the Org ID of my Staging org as the developer hub. My staging org is a partial copy sandbox of production. My staging org does not have "org ...
Andy Ray's user avatar
  • 1,409
1 vote
1 answer
433 views

sfdx force:org:create: can’t create scratch org. No org shape exists (SH-0002)

I received some misleading suggestion to visit documentation page when I try to create a scratch org and it fails with SH-0002. sfdx force:org:create -s -d 30 -a shape$(( RANDOM % 1000)) -f config/...
Patlatus's user avatar
  • 16.1k
2 votes
1 answer
227 views

No way to create a scratch org to have access to `PackageSubscriber` object

I would like to build 2GP package to refer PackageSubscriber object. This object is available only in DevHub orgs. I don't want to develop this package on DevHub org, but rather develop it in scratch ...
Patlatus's user avatar
  • 16.1k
7 votes
1 answer
451 views

Setup in Scratch Orgs that (currently) cannot be automated

I have a customer with complicated dev org setups who fears migrating to DX and Scratch orgs. They heard that with Scratch Org you currently cannot automatically setup all potential Features or Org ...
Robert Sösemann's user avatar
2 votes
1 answer
367 views

Update Lookup filter of Unlock package metadata

Please hear me out before marking this question as a duplicate or downvote. We are trying to migrate from Unpackage monolith to Unlock packages. For this, We have decided to split into 3 packages. ...
Sagar Hinsu's user avatar
3 votes
1 answer
430 views

Generate Scratch org definition settings for MDAPI settings

I am trying to convert a messy orgs metadata into a DX project with a scratch org. Converting the metadata was easy using sfdx:mdapi:convert but pushing fails as the org shape doesn't match the ...
Robert Sösemann's user avatar
1 vote
1 answer
241 views

Org Shape Permissions Missing from Permission Set Setup

I am trying to follow this Salesforce DX Developer Guide: Org Shape Permissions (Beta) I have created a Permission Set and I want to add the two permissions: Create and manage org shapes: Object ...
Robs's user avatar
  • 9,187