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 46 forks source link

Step 29 : npm run crm-sync:b2c:build is failing due to Cartridge error. #167

Open sumanchitta opened 2 years ago

sumanchitta commented 2 years ago

Describe the bug When attempting to run npm run crm-sync:b2c:build we are receiving error that the cartridge has failed to deploy.

To Reproduce Steps to reproduce the behavior: I am at step 29 i.e. "Build and Deploy b2c-crm-sync to Your B2C Commerce Environment". I am giving command: npm run crm-sync:b2c:build

  1. See error -- deploying _deploy/cartridges/b112_20220509_stage_112.zip to staging-ap01-houseofanitadongre.demandware.net Error: Deploy code _deploy/cartridges/b112_20220509_stage_112.zip failed (upload step): 403 (Forbidden ) at /Users/sumanchitta/Desktop/Proseraa/Projects/HOAD/B2C CRM Sync B2CTest Org/b2c-crm-sync/node_modules/sfcc-ci/lib/code.js:174:26 at Object.ensureValidToken (/Users/sumanchitta/Desktop/Proseraa/Projects/HOAD/B2C CRM Sync B2CTest Org/b2c-crm-sync/node_modules/sfcc-ci/lib/ocapi.js:94:9)

Screenshots If applicable, add screenshots to help explain your problem.

Screenshot 2022-05-09 at 10 31 21 AM

Your local environment details:

jbachelet commented 2 years ago

Hello,

The error message states explicitly that you are getting a 403 HTTP Status code when trying to upload the cartridges. This means you provided the wrong credentials in the .env file here, please verify these credentials and retry.

Thanks

sumanchitta commented 2 years ago

Thank you for your email.

I will try this and check it out.

On Wed, 18 May 2022 at 1:10 AM, jbachelet @.***> wrote:

Hello,

The error message states explicitly that you are getting a 403 HTTP Status code when trying to upload the cartridges. This means you provided the wrong credentials in the .env file here, please verify these credentials and retry.

Thanks

— Reply to this email directly, view it on GitHub https://github.com/SalesforceCommerceCloud/b2c-crm-sync/issues/167#issuecomment-1129247716, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJDJLDXACZRP372T2LF7ZT3VKPY2ZANCNFSM5VR6UC7A . You are receiving this because you authored the thread.Message ID: @.***>

-- Thanks & Regards, Suman Anand Chitta