SalesforceCommerceCloud / b2c-crm-sync

... a contemporary perspective on how to integrate B2C Commerce and the Salesforce Customer 360 Platform to power frictionless customer experiences in the B2C domain.
https://salesforcecommercecloud.github.io/b2c-crm-sync/
BSD 3-Clause "New" or "Revised" License
65 stars 45 forks source link

[BUG] Unable to validate .env with salesforce scratch org #232

Open prapande13 opened 1 year ago

prapande13 commented 1 year ago

Describe the bug Post scratch org password reset and security token, I am trying to validate .env file with salesforce scratch org and getting an error.

Command: npm run crm-sync:sf:auth:usercreds

To Reproduce Steps to reproduce the behavior: 1.Reset scratch org password: sfdx force:user:password:generate

  1. Get user's password details: npm run crm-sync:sf:user:details
  2. Update details in .env file
  3. Validate .env with scratch org: npm run crm-sync:sf:auth:usercreds
  4. Error captured in log file

Expected behavior Validation should be successful

Screenshots image

Your local environment details:

Your remote environment details:

Additional context Add any other context about the problem here.