Questions tagged [dev-hub]

A dev hub org is an org that exists to manage other orgs. It is one of the features of the Salesforce DX project. The dev hub allows someone in the org to see all orgs that are being managed for the deployment lifecycle in Salesforce DX.

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

Org Status=requested resource does not exist

Yesterday, the all of the connected orgs that I had been using without issue had their statuses change to "The requested resource does not exist" in vs code. I have tried uninstalling and ...
Lauren Sweet's user avatar
2 votes
1 answer
42 views

Which actions should be completed before a package can be moved to another devhub?

My client wasn't a Salesforce partner and delayed a decision to become Salesforce partner and push the package we built for them to AppExchange for three years, now they are ready, but Salesforce ...
Patlatus's user avatar
  • 16.1k
0 votes
1 answer
918 views

Error (1): The requested resource does not exist Faced, While creating 2nd generation Managed Package

I am trying to create a second generation beta managed package for learning purpose. Firstly I have created a namespace org where namespace is present. After that I have created a dev hub org in which ...
Parvez Alam's user avatar
1 vote
1 answer
86 views

Namespace Registries "Link namespace" popup errors out

Clicking the "Link Namespace" button opens up a new window, but looks to error out almost instantly. error=redirect_uri_mismatch&error_description=redirect_uri%20must%20match%...
lu_ke____'s user avatar
  • 413
0 votes
1 answer
40 views

Signup failed due to internal error. Please contact your system administrator

When I try to sign up for DevHub trial, I receive the following error: Signup failed due to internal error. Please contact your system administrator. Why is this happening? How can we avoid this error?...
Patlatus's user avatar
  • 16.1k
2 votes
1 answer
135 views

Scratch orgs are created with Russian language for Ukrainian and other Eastern European Dev Hubs even if Dev Hub language is English

Why scratch orgs are created with Russian language for Ukrainian and other Eastern European Dev Hubs even if Dev Hub language is English? This happens for Ukrainian, Lithuanian and other Eastern ...
Patlatus's user avatar
  • 16.1k
0 votes
0 answers
124 views

Authorise a Dev Hub: Error: We can’t query your org

BACKGROUND I want to Authorise a Dev Hub, such that I can create a scratch org. I am system admin on our org. I run the command: SFDX: Authorize a Dev Hub From the command palette. I then ...
Robs's user avatar
  • 9,187
1 vote
1 answer
242 views

Moving a Namespace from one org to another

We have a first-generation managed package that was authored on a Partner Developer Edition org created by a subcontractor. We have other Developer Edition orgs we created. One is a Dev Hub and we ...
nstuyvesant's user avatar
1 vote
1 answer
328 views

Why namespace can't be created in an org when devhub is enabled?

I am trying to understand the rationale behind this from a technical design perspective. why would creating namespace be limited in an org that's been marked as devhub? wouldn't the other way easier ...
Don's user avatar
  • 108
0 votes
1 answer
198 views

Re-link a 2gp package to new devhub org

I created a managed package which is linked to a dev hub org (developer edition org). It is working fine and I am able to create new versions and all that. But now I got a new PBO org as I plan to ...
balinder singh's user avatar
1 vote
1 answer
133 views

Unable to create package version from an unlocked package that has dependancies on another unlocked package (w/ dependancies with a managed package)

Apologies for the long title, but essentially I have an unlocked package (unlockedPackageB) that is dependencies to another unlocked package (unlockedPackageA). unlockPackageA has classes that refer ...
user120468's user avatar
0 votes
1 answer
348 views

One of my scratch org environments suddenly expired. Is there a way to renew expired scratch org or at least renew the expired data?

Just already passed 30 days from the creation my scratch org Is there a way to rescue that scratch org or at least (in the future) to extend the time for above 30 days or to create a copy of that ...
Fgh999's user avatar
  • 35
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
0 votes
1 answer
258 views

Resource Not Found Using sfdx force:org:create

I am attempting to use a sandbox of my production org as a DevHub for scratch orgs. In VSCode, I am using the built-in sfdx application to do this, first creating an sfdx project, then authorizing my ...
Craig Carpenter II's user avatar
1 vote
1 answer
1k views

cannot turn on dev hub and create scratch org

I download the developer edition and log in with a partner license given by Salesforce to my company. However, I cannot follow the partner development guide when it mentions dev hub and scratch orgs. ...
user4343712's user avatar
0 votes
1 answer
310 views

Is it possible to link a namespace frome a developer org to a developer hub

We currently have an unlocked package with a namespace linked to a developer edition hub since at the time we where not aware of the limitations. Since we have the limitation to only do 5 package ...
Thomas's user avatar
  • 2,294
2 votes
1 answer
10k views

ERROR: We can't query your org. Getting this error after Authorize a Dev Hub

so, I'm pretty new to salesforce development and I got this error while trying to Authorize a Dev Hub, I already enabled the Dev Hub and I couldn't find anything anywhere to solve this error. Also, I ...
Joaquin Vargas's user avatar
4 votes
1 answer
4k views

"ERROR running force:source:push" when doing "cci task run dx_push" to a Developer edition org

I am doing trailheads https://trailhead.salesforce.com/en/content/learn/projects/quick-start-lightning-web-components/create-a-hello-world-lightning-web-component?trail_id=build-lightning-web-...
Mark Irvine's user avatar
1 vote
1 answer
247 views

SFDX: Having multiple project config files (one per dev hub) and switching between them dynamically when creating package version

We would like to switch between different dev hubs in our sfdx 2gp project. E.g. we have one dev hub representing our BPO org (for major releases) and couple free registered dev hubs to play around ...
wesaw's user avatar
  • 2,990
2 votes
3 answers
893 views

How to authentication a Dev Hub from a VS Code hosted via GitHub CodeSpaces

GitHub recently released CodeSpaces which allows you to run VSCode in the cloud, which I believe the up coming Salesforce Code Builder will be based on. I am trying to get it to work on my Chromebook, ...
Robs's user avatar
  • 9,187
0 votes
0 answers
32 views

Scratch org creation if failing with these 2 symptoms today - why? [duplicate]

The failures are occurring for both our Continuous Integration (CI) builds and out interactive creates. The CI output is: Run sfdx force:org:create -f config/project-scratch-def.json -a scratch-org -...
Keith C's user avatar
  • 135k
1 vote
1 answer
532 views

Can I add an LWC component from Scratch Org to a managed package?

I am a newbie and I am faced with the following task: to set a namespace prefix for my organization, as well as to create a managed package, develop an LWC component and add it to a managed package. I ...
unique user's user avatar
3 votes
1 answer
1k views

SFDC CLI - Connected Status - Unknown

Suddently my orgs are with connected status unknown, like the image below, even though I can authorize my DevHub Org without any problem I could not find any possible solution: Even with a new ...
Leandro Ferreira Fernandes's user avatar
0 votes
1 answer
886 views

Dev hub in Developer org is this possible

Is it possible to turn on Dev hub in a developer org?. I want to make an unlocked package to install in a production org with several packages where my package should communicate to another package, ...
Thomas's user avatar
  • 2,294
0 votes
0 answers
68 views

cannot see enable evergreen function development in salesforce dev hub

We want to Enable Evergreen Function Development in the salesforce dev hub, But not able to find the enable option Please assist.
Spande's user avatar
  • 61
1 vote
1 answer
171 views

Unlink Namespace Dev Hub

Obviously you can link a namespace to a Dev Hub, but is it possible to unlink a namespace from a Dev Hub and link it to a new one?
Bryan Anderson's user avatar
1 vote
1 answer
261 views

Link Namespace window throwing an error

When I click the "Link Namespace" button, it pops up a new window and then give this error: Is the only way to resolve by contacting support?
Bryan Anderson's user avatar
5 votes
1 answer
852 views

Can I configure different Devhub orgs per SFDX project?

I have multiple Devhub orgs. One belongs to my employer. Others belong to external companies that I do consulting work for via my employer. The latter includes Devhub orgs that define the packaging ...
Daniel Ballinger's user avatar
0 votes
2 answers
90 views

Same user id in scratch org as in Devhub

In my DevHub there is a Apex class that gets return value of an HTTP request based on the Id of a user that runs that Apex class. I would like to bring this to a scratch org. How can I have users of ...
Zhuang Paulus's user avatar
8 votes
3 answers
2k views

Organize Managed Package Dependencies with Unlocked Packages

I build Managed Packages (with namespaces) for my ISV customers. I use external libraries and Open-Source frameworks like fflib or apex-domainbuilder and find dependency management gets more ...
Robert Sösemann's user avatar
5 votes
2 answers
147 views

Dev Hub for open source?

Has anyone being able to create a maintain a Dev Hub for open source project? I'm considering that scenario and would like the options other have already used. One option I can think of is to use a ...
Jeferson Chaves's user avatar
2 votes
1 answer
192 views

Setting up dev hub for sfdx

From the documentation on Salesforce site: https://developer.salesforce.com/docs/component-library/documentation/lwc/lwc.get_started_local_dev_setup It is mentioned that in order to use local ...
Aditya Vijay's user avatar
  • 1,282
0 votes
1 answer
762 views

How to create manage package using developer edition with Dev Hub enabled

I have already enabled my Dev Hub on my developer edition and using this environment to create scratch orgs with Visual Code. Now we want to create a managed packaged from this developer edition but ...
Hunt's user avatar
  • 235
2 votes
1 answer
2k views

Ability to enable Dev Hub / Unlocked Packages for Partner Developer Edition Org

I'm using a Partner Developer Edition org to develop features for a managed package (which resides in a different org). According to the Winter '19 Release Notes, Developer orgs should have the Dev ...
Brian Miller's user avatar
  • 5,132
0 votes
1 answer
871 views

How to get non-SFDX folder structure in VS Code in Dev Hub enabled Org?

We have enabled Dev Hub in our org but we are not using Salesforce DX. Since Dev Hub is enabled, when we create projects, we get SFDX folder structure. But when we do code merge, our code repository ...
Suneel's user avatar
  • 1,331
5 votes
2 answers
877 views

User can create DX Unlocked package but not a version

When creating a DX Unlocked Package version from a DevHub org and user with Second Generation Packages Enabled (1h ago) sfdx force:package:version:create -p "myapp" -x -json I get the following ...
Robert Sösemann's user avatar
5 votes
3 answers
4k views

How do I view a list of packages installed in a DevHub org using the SFDX CLI?

When I run: sfdx force:package:installed:list -u DevHub (where DevHub is the alias of my production org, which IS enabled as Dev Hub and also has 2GP enabled) I receive this error: ERROR ...
hessbag's user avatar
  • 53
3 votes
3 answers
6k views

Scratch org: how to retrieve metadata

Scratch org: how to retrieve metadata I am probably missing some concepts, but this are the steps that I have follow to create a new scratch org from a developer edition org. Created a new dev org ...
manza's user avatar
  • 1,945
7 votes
2 answers
1k views

Do I need to enable Dev Hub in my PROD Org?

I want to adopt Salesforce DX development. Do I have to enable Dev Hub in my Prod Org, or can I activate it in a new Developer Edition, do my development in scratch orgs and eventually deploy the ...
Jim's user avatar
  • 73
1 vote
0 answers
1k views

Authentication into Dev Hub does not work in CLI

I type in Salesforce CLI the following command: $ sfdx force:auth:web:login -d -a DevHub My browser opens up a login form. I pick the org which has Dev Hub enabled. Then in browser I am getting ...
oobarbazanoo's user avatar
3 votes
1 answer
268 views

LWC Visual Studio Code Dev Hub command

I want to complete the Lightning Web Components Trail on Trailhead but I keep getting the error above. I installed the CLI and updated it to the pre-release version I installed Visual Studio Code I ...
Mehdi Belcadi's user avatar
2 votes
1 answer
1k views

How do we use DevHub when developers should not have accesss to Production data?

We are getting our feet wet with DevHub. It seems that for our developers to be able to use it we need to give them accounts in our Production org. However, our developers are outside contractors, and ...
Jph108's user avatar
  • 651
0 votes
2 answers
1k views

Scratch ORG versioning with GitHub

Our company wants to use the benefits of SDFX's scrath orgs for versioning and deploying to our GIT repository. Once we install the CLI I can see I need to login using the command sfdx force:auth:web:...
TheAdmin's user avatar
  • 335
0 votes
1 answer
90 views

All org info lost every time after computer reboot

so I can connect to the DevHub, spin up scratch orgs without any issue. And when I ran sfdx force:org:list, everything is listed as it should but every time after I reboot my (work) computer, sfdx ...
user3088377's user avatar
4 votes
2 answers
891 views

How to utilize Devhub for Managed Package development?

I'm trying out the capabilities of DevHub, in order to get product development from DE to DX org. This Trailhead helped me learning Devhub and DX+CLI functionalities. I'm thinking of a way to migrate ...
Pasan Eeriyagama's user avatar
0 votes
1 answer
2k views

Unable to Authorize Hub Environment with JWT

I'm getting the following error when attempting to authorize a Hub environment to use Salesforce DX. I've set the variables including the path to the server.key. Also, I'm attempting to authorize from ...
VanAlfredo's user avatar
3 votes
0 answers
247 views

ERR_CONNECTION_REFUSED on DX DevHub trial org

I'm not sure what I'm doing wrong, but I signed up for a DevHub trial org, got the verification email, clicked the verify link and immediately got a This site can’t be reached [domain].my.salesforce....
Mike's user avatar
  • 1,179
0 votes
0 answers
460 views

Dev Hub in Partner org

I have a partner Org where Environment hub is setup. I couldnt see the Dev hub option in the org. I know that it is available in: Salesforce Classic and Lightning Experience Dev Hub available in: ...
Arun SFDC's user avatar
  • 1,448
3 votes
1 answer
559 views

What are the options for cross-org use of a dev hub?

We (a salesforce development and support team) have several orgs, with varying schemas for varying companies with some cross-org work. I've seen a fair few of the dreamforce videos (none of which have ...
frackham's user avatar
  • 431
2 votes
1 answer
1k views

Can a developer create scratch orgs without a login on the Dev Hub org?

Dev Hub can only be enabled in Production, right? At least I don't see an option to enable Dev Hub in a Sandbox. My concern: does every developer need an active user account on Production to be able ...
Magnus Kreth's user avatar