Skip to main content

Hi All,

I am trying to authenticate with SFDX and JWT for CLI authentication.

I have created certification and all the necessary steps are done.

But I am getting below error.

 

Error: Unexpected arguments:

"stack": "Error: Unexpected arguments: –i, <consumer_key>, –u, <devhubusername>, –f, /Users/Ashish/certificates/server.key, --trace, error\nSee more help with --help\n    at validateArgs (/Users/Ashish/.local/share/sfdx/node_modules/salesforce-alm/node_modules/@oclif/parser/lib/validate.js:10:19)\n    at Object.validate (/Users/Ashish/.local/share/sfdx/node_modules/salesforce-alm/node_modules/@oclif/parser/lib/validate.js:57:5)\n    at Object.parse (/Users/Ashish/.local/share/sfdx/node_modules/salesforce-alm/node_modules/@oclif/parser/lib/index.js:26:7)\n    at AuthJwtGrantCommand.parse (/Users/Ashish/.local/share/sfdx/node_modules/salesforce-alm/node_modules/@oclif/command/lib/command.js:83:41)\n    at AuthJwtGrantCommand.init (/Users/Ashish/.local/share/sfdx/node_modules/salesforce-alm/node_modules/@salesforce/command/lib/sfdxCommand.js:203:44)\nOuter stack:\n    at Function.wrap (/Users/Ashish/.local/share/sfdx/node_modules/salesforce-alm/node_modules/@salesforce/core/lib/sfdxError.js:151:27)\n    at AuthJwtGrantCommand.catch (/Users/Ashish/.local/share/sfdx/node_modules/salesforce-alm/dist/ToolbeltCommand.js:247:46)",

    "warnings": []

}

 

anybody know the solution for it.

TIA

 

@SFDX CLI Plug-in Development @SRIKANTH Shivaramegowda 

1 件のコメント
0/9000