Questions tagged [cli]

The tag has no usage guidance.

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

The system cannot find the path specified Data loader CLI

I'm getting The system cannot find the path specified. error when I'm trying to create an encryption key file by running below command in cmd: encrypt.bat -k keyfile "C:\Users\sfdc\Desktop\CLI Data ...
0
votes
1answer
40 views

Unable to parse package2-descriptor.json: invalid attribute 'versionNumber'

I am trying to make a version of my package but it fails every time. I am able to create a scratch org, install package dependencies, and push my source code successfully. But when I go to create a ...
0
votes
1answer
15 views

DX - List of Bundle/Prefix types?

With the DX CLI you can't deploy certain individual files - ex. aura and lightning components. You have to use syntax like sfdx force:source:deploy -m AuraDefinitionBundle:<aura bundle name>,...
1
vote
1answer
37 views

SFDX FORCE:DATA:TREE:EXPORT Nested __r Relationship Query

I am attempting to export data using the FORCE:DATA:TREE:EXPORT CLI command, using a nested query like the following (for use in our Scratch-Orgs): SELECT ...,(SELECT ... FROM My_Custom_Object__r) ...
1
vote
1answer
23 views

force:data:tree:export / force:data:tree:import across __r relationships

I am still fairly new to SaleforceDX. I have been tasked with putting together a sample data plan matching a small portion of our production data, for our new Scratch-Orgs. With foreign-key type ...
0
votes
1answer
52 views

timed out error in salesforce dx when on office network

When I am using my office network I am not able to deploy code to any sandbox using salesforce dx it shows the timed out error and when I use sfdx force:org:list in CLI it shows all org's connected ...
2
votes
0answers
42 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 ...
2
votes
1answer
117 views

Account fields available in default scratch org but not in regular dev org

I am pushing Metadata from a (namespaced) scratch org with that definition { "orgName": "my_DEV", "country": "US", "edition": "Developer", "language": "en_US", "hasSampleData": true, "...
3
votes
2answers
55 views

Salesforce DX Question (deploy profiles)

Anyone who already tried the new Salesforce CLI to transfer Metadata from one org to another? Is it possible to transfer Profiles? I already tried to search for a guide but I wasn't able to find one....
0
votes
0answers
27 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 ...
2
votes
1answer
107 views

How is this possible to use the Salesforce CLI after changing my user's password?

Couple of days ago, when logging in to the Org via browser, I was prompted to update my password. Last time I used Salesforce CLI was 2 weeks ago and today I had to do it again. However, no password ...
7
votes
1answer
96 views

Is this possible to rename a field using Tooling API or Ant Migration Tool or SFDX CLI?

I have tried to run renameMetadata call from Ant Migration Tool <target name="1. Rename field on Sandbox"> <sf:renameMetadata username="${sf.Sandbox.username}" password="${...
3
votes
0answers
280 views

SFDX retrieve source in Manifest from org

I installed the sf extension for vscode and got everything to run with the default package.xml. I exported the whole package from my org with the help of Package builder and inserted it to the package....
2
votes
2answers
902 views

ERROR running force:source:push: No org configuration found for name

Not sure why this stopped working but all of the sudden sfdx forgot my org configuration. I pulled down the latest changes from the master branch and went to push them into my checked out branch and ...
1
vote
1answer
253 views

SFDX: retrieve Source from Org failing

In order to connect my VSC to my org and pull my org's datas to VSC, I followed the steps this great video shows ; In Visual Studio Code I : - SFDX: created project with Manifest - in the manifest -> ...
0
votes
0answers
134 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
2answers
193 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 ...
1
vote
1answer
131 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
1answer
296 views

Salesforce CLI Authorization timeout

I am attempting to setup VS Code with Salesforce CLI. I am experiencing issues when attempting to authorize my Sandbox. When I attempt to authorize, I enter the MyDomain login page address and set ...
0
votes
1answer
197 views

SFDX CLI and connection to second Playground

I want to experiment sfdx,so I'd like to link a playground I just created from my Trailhead (because I already linked my first playground) The fact is, the password seems to be different from my ...
0
votes
0answers
65 views

What ports/urls need to be whitelisted in order to get sfdx to authenticate and update through a proxy?

I am trying to get sfdx to work from behind a company proxy. I have set the proxy up in the env as per online instructions: set http-proxy https://usr:pwd@internet_proxy.via.novonet:80 set https-...
4
votes
1answer
441 views

SFDX CLI - Locked with an active writer?

I'm getting the following error when trying to access the sfdx command : Does any one know what's happening ? I can't find anything here nor on the internet.. I tried re-installing the CLI + ...
6
votes
1answer
2k views

LightningComponentBundle “Not available for deploy for this API version” error

I receive a strange error "Not available for deploy for this API version" for deploying LightningComponentBundle by sfdx force:source:deploy command or by VS Code Menu Item "SFDX Deploy Source To Org"....