Questions tagged [sfdx-error]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
0answers
17 views

.forceIgnore - optional prefix "!" which negates the pattern issue

A team member started having issues when pushing code to new scratch orgs. After performing some investigation I figured that the .forceignore file was not respecting the ! prefix. The .forceignore ...
1
vote
0answers
18 views

SFDX test run failing when output dir provided

When I run sfdx force:apex:test:run --codecoverage --resultformat json, I get a normal output. When I add an output dir sfdx force:apex:test:run --codecoverage --resultformat json --outputdir ./test-...
0
votes
1answer
27 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
2answers
61 views

SFDX commands not able to work in VS Code

SFX command is not able to load or use any one of them and throws the following error Command 'SFDX: Authorize an Org' resulted in an error (command 'sfdx.force.auth.web.login' not found) I tried to ...
0
votes
0answers
30 views

Queue Deployments Using DX Requires Setup in UI

I have a queue for new opps that looks like this: <Queue xmlns="http://soap.sforce.com/2006/04/metadata"> <doesSendEmailToMembers>true</doesSendEmailToMembers> <...
0
votes
1answer
88 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
1answer
323 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 ...
2
votes
0answers
111 views

Unable to convert Reports from sfdx sources to metadatas - force:source:convert / force:source:deploy

For some time now, we have issues to deploy items that are defined in folders (Reports, emails, documents...) Problem: Unable to convert Reports from sources to metadata Command: MD_API_TEMP_FOLDER=./...
0
votes
1answer
36 views

SFDX commands not working in VS Code

I use VS Code for my pushing and pulling changes from org and branch and earlier I was able to use the SFDX commands but now I am not able to do so. Now when I try to run any SFDX command in the ...
0
votes
1answer
48 views

Push custom object and custom metadata type to scratch

So i retrieved custom metadata type and just custom object from my org via Ant Migration tool. After i createad a sfdx project. created scratch org and used push. It gives me error: 'Must specify a ...
1
vote
3answers
558 views

No AuthInfo found for name always

Is there a way to full reinstall sfdx? How to delete settings? I am creating an sfdx project, auth in org and with retrieve command i am getting No AuthInfo found for name with name of another org ...
2
votes
0answers
21 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
1answer
258 views

When running sfdx force:apex:test:run we get the error "Your request exceeded the time limit for processing. connection was cancelled here"

We have test classes that we are running from the Salesforce CLI. If we run them from the Salesforce UI, the tests all pass fine. When running the same test classes from the CLI, however, most of the ...
1
vote
3answers
124 views

Experiences deployment fails with "Component names can only contain alphanumeric characters, hyphens, colons, and underscores."

trying to migrate a community from one sandbox to another. Using SFDX and VSC. I do have ExperienceBundle enabled in both. When I run this command: sfdx force:source:deploy -p force-app\main\default\...
3
votes
1answer
311 views

SFDX Error in macOs Big Sur

Getting this below error with macOs Big Sur. Any help. sfdx --version /usr/local/bin/sfdx: line 44: /usr/local/lib/sfdx/bin/node: Bad CPU type in executable
0
votes
1answer
49 views

sfdx execute command not executing the apxc file .."File not found at the specified path:" error

i am trying to execute filename.apxc file using sfdx. sfdx force:apex:execute -u dev -f filename.apxc it throwing the error File not found at the specified path:
0
votes
0answers
61 views

The "path" argument must be of type string. Received an instance of Object

Got this error while running the following command in jenkinsfile. npm run test:unit:coverage, It runs fine locally on my project. + npm run test:unit:coverage > salesforce-app@1.0.0 test:unit:...
0
votes
0answers
106 views

How to fix Authorize an org failed to run?

I am getting the following error :- 18:09:25.152 sfdx force:auth:web:login --setalias vscodeOrg --instanceurl >https://login.salesforce.com --setdefaultusername 18:09:25.154 sfdx force:auth:web:...
0
votes
1answer
72 views

How to grant access permission for package in pipeline deployment?

I'm trying to install package through pipelines for Scratch org push & test. I'm using this command in our yml file - sfdx force:package:install --package 04t1Q000000kYu4 -w 10 -u ciorg Here is ...
0
votes
1answer
515 views

sfdx update fails, Error: EPERM: operation not permitted

Went to create a new scratch org, and got a warning: Warning: sfdx-cli update available from 7.102.0 to 7.104.0. The scratch org created without issue, but I figured I may as well update to latest ...
1
vote
1answer
98 views

Unlocked extension package version error "Invalid field name" for report metadata

Scenario: I'm creating an unlocked package that is dependent on 3 other packages: Package A - Managed base package (1st gen managed) Package B - Managed extension package (extension of base, 1st gen ...
1
vote
5answers
2k views

SFDX issue: authorized dev sandbox, yet get 'expired access/refresh token' when attempting deploy or retrieve

I recently refreshed my developer sandbox. In VS Code, I ran sfdx force:auth:web:login --setalias aliasName --instanceurl https://test.salesforce.com --setdefaultusername It opened the OAuth window ...
0
votes
0answers
26 views

ERROR running force:package:version:create: typesArr.filter is not a function

Not sure why this has started happening. I was creating a new unlocked package for a client and started see this error ERROR running force:package:version:create: typesArr.filter is not a function ...
1
vote
0answers
1k views

VSCode deploy source to org failed to run

Starting today VSCode is giving me an error "SFDX: Deploy Source to Org failed to run". This only happens with 1 org. with every other org I do not have any issues. I don't get any error ...
1
vote
1answer
143 views

metadata retrieve operation failed: INVALID_CROSS_REFERENCE_KEY

On executing: sfdx force:mdapi:retrieve -r ./mdapipkg -p ./ProjectComponents.xml I got the error message: metadata retrieve operation failed: INVALID_CROSS_REFERENCE_KEY: No package named The file ...
0
votes
0answers
96 views

Deploy QuickAction using a Flow: impossible?

I have an error while deploying a simple QuickAction using a Flow Definition (generated from a force:source:pull) The flow definition is in the same package so available, but i have an error telling ...
0
votes
0answers
135 views

View LWC Locally / Install LWC dev Mobile Plugin Error

Aim: To preview LWC component locally. Problem : NOT able to install sfdx plugins:install @salesforce/lwc-dev-mobile NPM Version: 7.7.6, NODE Version: v15.13.0, SFDX Version: sfdx-cli/7.92.0-...
1
vote
0answers
672 views

SFDX Error While pushing the code to Salesforce Org "Error: connect ETIMEDOUT"

I am getting the below error while either pushing or retrieving the code from Salesforce to VS code and vice versa. I have no proxy nothing in my system. I have also tested on 4 Machines and 3 ...