Open mani762 opened 2 years ago
Hi @mani762, users have reported this before in https://sfcc-unofficial.slack.com/archives/CAUFG3SHF. The root cause is that your user account you use to authenticate has a MFA verifier set. Most probably due to your organizations policies in Account Manager of enabling MFA across the org and all roles or widening it to the roles that user has.
In this case the Account Manager revokes the authentication and returns with that error. I recommend, that you switch from the combined client / user authentication to a pure API client authentication using purely the client id and the secret as I assume for the deployments you are anyways seeking for an automation scenario.
In addition we put a document in our wiki at https://github.com/SalesforceCommerceCloud/sfcc-ci/wiki/Resource-Owner-Password-Credentials-Authentication-Failure which describes how to resolve this.
@mani762 Did the above help you to resolve your issue and can we close this?
We are failing to upload our artifacts to all Env , please look this in priority. This is blocking our release activity. Please more logs: statusCode: 400, body: { error_description: 'Resource owner authentication failed', error: 'invalid_grant' } } } Error: Authentication failed: Resource owner authentication failed