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

Unable to authenticate against the B2C Commerce instance #116

Open Mohini-Patil45 opened 2 years ago

Mohini-Patil45 commented 2 years ago

environment details:

remote environment details:

error-2 error-4

getting error Unable to authenticate against the B2C Commerce instance even though all fields having true value except B2C_USERNAME &B2C_DATARELEASE. I've attached screenshot-1 what exactly the error & in screenshot-2 our configuration details

jbachelet commented 2 years ago

Hello, Thank you for opening an issue. Can you please confirm what command line you are using here? Can you please confirm what access key you generated? If the OCAPI one, this one can be used to authenticate with B2C Commerce while doing server-side exchanges, but not to deploy the code/metadata as it requires the Webdav access key.

Mohini-Patil45 commented 2 years ago

I'm using "npm run crm-sync:b2c:verify" this command & generated both keys but I'm using OCAPI one

jbachelet commented 2 years ago

Thanks for the confirmation. Are you able, from POSTMAN, to authenticate using these credentials through OCAPI against your b2c instance?