-
Notifications
You must be signed in to change notification settings - Fork 78
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sfdx force:mdapi:legacy:deploy quick deploy fails to find authorisation information 7.115.1 #1577
Comments
Thank you for filing this issue. We appreciate your feedback and will review the issue as soon as possible. Remember, however, that GitHub isn't a mechanism for receiving support under any agreement or SLA. If you require immediate assistance, contact Salesforce Customer Support. |
Here is the debug debug: `ERROR running force:mdapi:legacy:deploy: No authorization information found for demo:qa. NamedOrgNotFound: No authorization information found for demo:qa. sf:MdapiDeployCommand ERROR [ Not sure if it's relevant but it's interesting that the error message references the alias even when specifying the username directly without any mention of the alias: |
I think you're spot on with the alias being used as the username. If you run the command with |
@gdman - if you are able to, can you retry your steps after: |
Thanks for fixing. I'm out of the office for a few days but I'll be sure to give it a go on Monday. |
This is working again the most recent version - thanks |
Summary
sfdx force:mdapi:legacy:deploy quick deploy fails to find authorisation information
Error:
Using alias:
% sfdx force:mdapi:legacy:deploy --apiversion=54.0 --targetusername=demo:qa --wait=-1 --validateddeployrequestid=0Af4J00000ngY65SAE WARNING: The command "MdapiDeployCommand" has been deprecated and will be removed in v56.0 or later. Use "force:mdapi:deploy" instead. ERROR running force:mdapi:legacy:deploy: No authorization information found for demo:qa.
Using username:
% sfdx force:mdapi:legacy:deploy --apiversion=54.0 --targetusername=xxx --wait=-1 --validateddeployrequestid=0Af4J00000ngY65SAE WARNING: The command "MdapiDeployCommand" has been deprecated and will be removed in v56.0 or later. Use "force:mdapi:deploy" instead. ERROR running force:mdapi:legacy:deploy: No authorization information found for demo:qa.
The exact same command has been working in previous releases, our build script tests failed when running against 7.115.1.
The same error is received for two different authentications - Web (locally on MacOS) and JWT (running in a Docker container running Alpine)
Steps To Reproduce:
Expected result
Quick deploy is initiated
Actual result
Fails with error that it can't find authorisation information
System Information
{
"cliVersion": "sfdx-cli/7.155.1",
"architecture": "darwin-x64",
"nodeVersion": "node-v16.15.1",
"pluginVersions": [
"@oclif/plugin-autocomplete 0.3.0 (core)",
"@oclif/plugin-commands 1.3.0 (core)",
"@oclif/plugin-help 3.3.1 (core)",
"@oclif/plugin-not-found 1.2.6 (core)",
"@oclif/plugin-plugins 1.10.11 (core)",
"@oclif/plugin-update 1.5.0 (core)",
"@oclif/plugin-warn-if-update-available 1.7.3 (core)",
"@oclif/plugin-which 1.0.4 (core)",
"@salesforce/sfdx-plugin-lwc-test 0.1.7 (core)",
"alias 2.0.1 (core)",
"apex 0.13.0 (core)",
"auth 2.1.0 (core)",
"community 2.0.0 (core)",
"config 1.4.12 (core)",
"custom-metadata 2.0.0 (core)",
"data 2.0.3 (core)",
"generator 2.0.1 (core)",
"info 2.0.1 (core)",
"limits 2.0.1 (core)",
"org 1.13.2 (core)",
"salesforce-alm 54.5.1 (core)",
"schema 2.1.1 (core)",
"sfdx-cli 7.155.1 (core)",
"signups 1.1.2 (core)",
"source 1.10.2 (core)",
"telemetry 2.0.0 (core)",
"templates 54.8.0 (core)",
"trust 2.0.0 (core)",
"user 2.0.2 (core)"
],
"osVersion": "Darwin 20.5.0"
}
The text was updated successfully, but these errors were encountered: