Questions tagged [cli]
The cli tag has no usage guidance.
32
questions with no upvoted or accepted answers
2
votes
0
answers
107
views
sfdx-cli convert - SyntaxError: Unexpected token '.' post rollback
today I updated the sfdx-cli from version 7.143.0 to version 7.149.1; then I had to revert back (I performed an npm install --global sfdx-cli@7.143.0) because of some node dependencie s- atm I cannot ...
2
votes
0
answers
33
views
SFDX Plugin HelpClass is not a constructor
I'm building a custom sfdx plugin but getting this following error when calling the command with -h param: HelpClass is not a constructor.
This happens only when calling my plugin like this sfdx ...
2
votes
0
answers
168
views
jsconfig.json Problem in a Package Dependency
I have been trying to build (force:package:version:create) a package first-project which depends on an other package other-project of mine.
I got the following error:
Unexpected file found in package ...
2
votes
0
answers
255
views
Dataloader CLI problems with mapping of CSV File
I try to DELETE some Data from my Org.
I have written a process-conf.xml with 4 Beans which work in BulkApi Mode and a Windows Batch File which calls the Jobs:
Job1) extract DATA from SF via SOQL &...
2
votes
0
answers
517
views
Issue with CLI on WSL Ubuntu
Wondering if anyone has any thoughts about this. When I try to redirect stdout in my WSL terminal I get an error about having an open pipe. But I can run the same command from Git Bash without any ...
1
vote
0
answers
115
views
SFDX Error: Selected Components Are Not Available
Recently, my colleagues started receiving error an error whenever attempting to retrieve or diff components, for production or any of our sandboxes.
]
I have recently joined the team, and I did not ...
1
vote
1
answer
992
views
Facing "Error: unable to get local issuer certificate Code: UNABLE_TO_GET_ISSUER_CERT_LOCALLY" when trying to update CLI. How to overcome this one
To set up SFDX , first I did install CLI and when I tried updating the same, I'm facing this issue. Can anyone please help me out.
1
vote
0
answers
57
views
RealTimeEventSettings error when pulling source
I am unable to resolve an error related to RealTimeEventSettings when pulling the source from a scratch org. I believe this settings file is a result of toggling real-time event monitoring settings - ...
1
vote
0
answers
311
views
sfdx:force:package:installed:list is throwing TIMEOUT error
Summary
force:installed:list command is throwing time out error as Your query request was running for too long.
Steps To Reproduce:
1.ScratchOrg is created
2.Installed two packages with packageID ...
1
vote
1
answer
146
views
Why code coverage result is different when we run it from CLI and Salesforce
We are working on SonarQube code coverage, We are using Salesforce CLI for generating the code coverage result and we are importing that result in the SonarQube.
We see that there is a difference in ...
1
vote
1
answer
369
views
Retrieving StandardValueSet member WorkOrderPriority returns WorkOrderLineItemPriority
I'm struggling with retrieving standard picklist Priority from the WorkOrder object. I'm trying to determine if I'm doing something massively wrong, or if there is a bug in the metadata API.
I have ...
1
vote
1
answer
581
views
Sandbox OAuth Error 1800 through VS Code, CLI, and MavensMate
I'm trying to sign into a sandbox org, but I'm getting an error when running through the OAuth flow:
We can't authorize you because of an OAuth error.
For more information, contact your Salesforce ...
0
votes
0
answers
43
views
Salesforce CLI is not retrieving permission set metadata
I am trying to retrieve metadata from a sandbox instance to prepare a deployment. Flows, Custom Objects, etc. are getting retrieved, but permission sets are not.
In my package.xml file, I tried the ...
0
votes
1
answer
41
views
Could not retrieve the username after successful auth code exchange. reason: unable to get local issuer certificate
When am trying to authenticate via VS CODE integrated cmd pallets, I get below error
Could not retrieve the username after successful auth code exchange.reason: unable to get local issuer certificate
...
0
votes
0
answers
33
views
Salesforce CLI Export Error sObject type 'Product2' is not supported
I logged into CLI successfully with the command
sfdx force:auth:web:login -r https://login.salesforce.com
And tried exporting using the below command and below is the error
C:\Users\xxxxx>sfdx ...
0
votes
0
answers
24
views
Unable to extract bulk data using data loader CLI
I am unable to extract values/data using data loader CLI.
I was able to extract data from sandbox but unable to extract from production.
I have generated encrypted password but it is still throwing ...
0
votes
2
answers
291
views
Strange error force:org:shape:list: Cannot read properties of undefined (reading 'length')
Strange error force:org:shape:list: Cannot read properties of undefined (reading 'length')
When I executed a command force:org:shape:list, I am obtaining a very strange misterious error: Cannot read ...
0
votes
0
answers
329
views
Running the Data Loader from the command line
I'm trying to setup a scheduled export with the data loader. I'm trying to follow the instructions provided by Salesforce here but can't get past Step 1.
Has anyone had a similar issue trying to ...
0
votes
0
answers
124
views
VSCode - Missing Plug Icon from CLI Extension
A coworker of mine is missing his plug icon that's made available through the Salesforce CLI Integration (installed via salesforce extension pack). After going through the status bar options, trying a ...
0
votes
0
answers
507
views
How can one authenticate Dataloader CLI when instance has MFA enabled?
Since moving my data export script out of my company's sandbox and into prod, I've been having a hard time getting Dataloader to authenticate, and I suspect this may be due to the Salesforce ...
0
votes
0
answers
47
views
PcakgeInstallationCommand is failed with "No TOKEN named force:base.cardSpacingMargin found"
PackageinstallCommand is failed with below issue,
CLI Version: SFDX-CLI 7.96.1
ERROR: Encountered errors installing the package!,Installation errors:
1) (intelligentDiscoveryStatus) No TOKEN named ...
0
votes
0
answers
183
views
Issue With Salesforce CLI update
Hi I have just updated the version of the Salesforce CLI--from 7.110.0 ----- to 7.129.0-c662c12
After Update i am getting below error :---
19:19:27.198 sfdx force:auth:web:login --setalias test --...
0
votes
1
answer
475
views
Issue with installing the SFDX CLI in Linux
I had some issues with my SFDX CLI as I was not able to use SFDX commands from the terminal of my VS Code in Linux. So I looked up on the web and as part of one solution that I found on web, I was ...
0
votes
1
answer
573
views
sfdx problem on wsl - CMD.EXE was started with the above path as the current directory. UNC paths are not supported
I try try install SFDX on my WSL (Ubuntu 20.04 LTS on WSL with Windows 10).
Looks like the version 7.119.2 has been installed, but when referencing sfdx, it doesn't hit the one installed on Linux, it ...
0
votes
1
answer
65
views
Linux version of SFDX fails to provide results for "sfdx force:user:list" command
When I tried to build a dynamic script in GitHub Actions using SFDX, I have been puzzled by the weird behaviour of sfdx force:user:list --json command in linux version of SFDX.
In MacOS version of ...
0
votes
0
answers
354
views
Unexpected file found in package directory:
I am trying to deploy some components from github branch to dev sandbox with VS Code
I am on the branch, where I have a code, and connected to the sandbox.
I tried:
sfdx force:source:deploy -c -p ...
0
votes
0
answers
146
views
Automatically export data from Salesforce
I created a script to automatically extract data from Data Loader.
I tried testing the SOQL in the dev console and it's showing the correct data, but when I used it in XML file the process is ...
0
votes
1
answer
97
views
How to install the apps from sample gallery in a developer edition org?
While writing the command on salesforce CLI
sfdx force:user:permset:assign -n ebikes
I'am getting an error->
Permission set "ebikes" not found in target org. Do you need to push source?
Any solutions ...
0
votes
0
answers
131
views
Salesforce CLI Installation error - The Requested Operation requires elevation
I downloaded salesforce CLI from here
However when i run the .exe file, I get the error
I searched for solutions online, and tried all options as suggested but unable to get past this error. If ...
0
votes
0
answers
782
views
SalesforceDX - standard object, custom fields are not being deployed
I currently testing the possibilites of SalesforceDX and found couple of issues with deploying packages from Prod to Scratch orgs. Does anyone have experienced issues with deploying custom fields of ...
0
votes
2
answers
695
views
NullPointerException processing XML configuration for Salesforce Data Loader CLI
Unfortunately I am unable to get Data Loader CLI (v45.0.0 running on Windows) running properly.
This is the command I am using:
process "C:\Users\erik\dataloader\custom" Account
Even when I use a ...
-2
votes
1
answer
212
views
'The org cannot be found' error in VS Code
Anyone experienced "The org cannot be found" issue in VS Code. I'm facing this issue from past 2 weeks. Tried with multiple orgs. Un-installed and re-installed VS Code. Tried with different ...