sfdx-isv / territory-management-toolkit

The Territory Management Toolkit (TM-Tools) is a Salesforce CLI Plugin that provides tools for simplifying the migration of a Salesforce org from Territory Management (TM1) to Enterprise Territory Management (TM2).
BSD 3-Clause "New" or "Revised" License
8 stars 0 forks source link

Error on Deploy 'tmtools-tm2-deploy' failed. Metadata Deployment Failed. This org appears to have a problem with its OAuth configuration. Reason: invalid_grant - authentication failure #17

Open purvajainnn opened 5 years ago

purvajainnn commented 5 years ago

Error Message: Generator 'tmtools-tm2-deploy' failed. Metadata Deployment Failed. This org appears to have a problem with its OAuth configuration. Reason: invalid_grant - authentication failure username: vadmin@veeva.automation.em.onlinelr, clientId: PlatformCLI, loginUrl: https://test.salesforce.com/, privateKey: Error Source: COMMAND:sfdx-falcon-yeoman-command:runYeomanGenerator Error Stack: GeneratorError: Generator 'tmtools-tm2-deploy' failed. Metadata Deployment Failed. This org appears to have a problem with its OAuth configuration. Reason: invalid_grant - authentication failure username: vadmin@veeva.automation.em.onlinelr, clientId: PlatformCLI, loginUrl: https://test.salesforce.com/, privateKey: at yeomanEnv.run (/Users/devigantakolla/.local/share/sfdx/node_modules/territory-management-toolkit/lib/modules/sfdx-falcon-yeoman-command/index.js:105:43) at Tm2Deploy.callback (/Users/devigantakolla/.local/share/sfdx/node_modules/yeoman-environment/lib/environment.js:45:7) at Tm2Deploy.emit (events.js:189:13) at Immediate.setImmediate (/Users/devigantakolla/.local/share/sfdx/node_modules/territory-management-toolkit/node_modules/yeoman-generator/lib/index.js:436:22) at runCallback (timers.js:705:18) at tryOnImmediate (timers.js:676:5) at processImmediate (timers.js:658:5)