b2c-crm-sync icon indicating copy to clipboard operation
b2c-crm-sync copied to clipboard

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

Open sumanchitta opened this issue 2 years ago • 2 comments

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:

  • Node version (node -v): v17.6.0
  • NPM version (npm -v) v8.7.0
  • SFDX version (sfdx -v) sfdx-cli/7.139.0 darwin-x64 node-v16.13.1

sumanchitta avatar May 10 '22 15:05 sumanchitta

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

jbachelet avatar May 17 '22 19:05 jbachelet

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

sumanchitta avatar May 17 '22 19:05 sumanchitta