Skip to main content
New
Stack Overflow Jobs powered by Indeed: A job site that puts thousands of tech jobs at your fingertips (U.S. only). Search jobs

Questions tagged [salesforcedx-cli-auth]

For questions concerning SFDX authentication commands

Filter by
Sorted by
Tagged with
0 votes
1 answer
582 views

VisualStudioCode. SFDX: Authorize an Org. Time out error

Starting SFDX: Authorize an Org 19:18:42.991 sfdx force:auth:web:login --setalias vscodeOrg --instanceurl https://login.salesforce.com --setdefaultusername spawn UNKNOWN CLIError: timed out at Object....
DHIREN MAHATO's user avatar
1 vote
0 answers
3k views

Getting "This org appears to have a problem with its OAuth configuration. Reason: invalid_grant - expired access/refresh token " error in VS Code SFDX

From today, Suddenly, I started getting the below error in VS code whenever I am running any SFDX command: ERROR running force:source:retrieve: This org appears to have a problem with its OAuth ...
sfdc07's user avatar
  • 614
0 votes
1 answer
2k views

Authorize a Dev Hub Org

I need a help for authorize a Dev Hub Org using the Web-Based Flow. The output of the SFDX Cli is below. sfdx force:org:display -u myhuborg Acess Token : 00D000027..... Alias : myhuborg Client Id : ...
Marcos Ruz's user avatar
0 votes
0 answers
339 views

Unable to authorize Scratch org from cli

I am trying to authorize an scratch org via CLI (sfdx force:auth:web:login) with my user which is created by another user and I am not able to authorize it. Getting below error: ERROR running force:...
Raj SF's user avatar
  • 327
1 vote
0 answers
276 views

SFDX error for external objects

I have added external object in an unlocked package. This object is getting call from apex classes. I have added the datasources also. But getting errors like below: 1. Invalid type: Schema....
Raj SF's user avatar
  • 327
3 votes
1 answer
900 views

Sfdx Auth Url is getting expired after certain time

For CI pipeline for authentication I am using "sfdx force:Org:Display --targetusername ProductionHub --verbose" command to get Sfdx Auth Url. Then by using "sfdx force:auth:Sfdxurl:Store -f ...
Raj SF's user avatar
  • 327
1 vote
3 answers
358 views

Unable to authorize the org in vscode

When i tried to authorize the org via vscode this issue is showing.After killing process id 1717,another issue is showing.Here is the issue { Error: spawn cmd ENOENT at Process.ChildProcess....
user avatar
0 votes
1 answer
284 views

Error when Authenticate Orgs

I'm having a very frustrated problem where Visual Studio Code show error everytime I want to authenticate an org. I use CMD and it working fine but when I try to work on Visual Studio Code it show the ...
An Le's user avatar
  • 13
4 votes
1 answer
1k views

Salesforce DX authentication URL Expiration date

I have been going through this link Sfdx authorization for org and find out to check org information via salesforce cli we have to use this command below sfdx force:org:display --targetusername <...
kunal's user avatar
  • 75
2 votes
1 answer
7k views

ERROR running force:source:deploy: Deploy failed

I keep getting ERROR running force:source:deploy: Deploy failed. I just follow the instructions right here. This is my current org: ALIAS USERNAME ORG ID ...
The Bassman's user avatar
0 votes
1 answer
310 views

scratch org creation gives error on proxy

sfdx force:org:create -s -f ./config/project-scratch-def.json -a AppScratch using above command for scratch org creation gives error on proxy ERROR: location is not defined. i have ...
roger's user avatar
  • 1
3 votes
1 answer
3k views

"fatal signup error" when creating scratch org

I have a Dev Hub that is set up in my Developer Edition org. I have been using it for DX development for several weeks, but when I tried to create a scratch org today with the same configuration file (...
salesforce-hacker's user avatar
2 votes
2 answers
2k views

I haven't access to the [ScratchOrgInfo] object

I have a problem with my trailhead "Quick Start: Salesforce DX". I'm trying to do this: sfdx force:org:create -s -f config/project-scratch-def.json -a "default scratch org" But become an Error: You ...
Monte Cristo's user avatar
10 votes
1 answer
8k views

How to switch between Salesforce DX orgs/projects when using Visual Studio Code

BACKGROUND Imagine you're working on 2-3 Salesforce projects each with a different target Orgs (sandboxes for different companies). You're actively working on project 1 (coding, running tests, ...
Robs's user avatar
  • 9,356
0 votes
1 answer
227 views

Programatically add org authentication to SalesforceDX

I’m coding a sfdx plugin using the new plugin generator found here: https://github.com/forcedotcom/sfdx-plugin-generate I was wondering if there’s a way to programatically add a new Salesforce org ...
jonathanwiesel's user avatar
12 votes
2 answers
9k views

SalesforceDX: Log in to sandbox by username/password from command line without browser involved

Is it possible to log in from sfdx CLI to already existent sandbox having username/password combination? Reading through documentation I see bunch of ways how to authorize - through browser, by ...
wesaw's user avatar
  • 3,080