Deployment to SF failing #68
Unanswered
tafazzul1414
asked this question in
Q&A
Replies: 1 comment 4 replies
-
hi, could you fix the error? i have the same error. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
1. When trying the "npm run crm-sync:test:cli" command, receiving the following errors. Double checked the code version on B2C to make sure that it is valid and active.
Creating a Specific Code Version via the CLI
√ returns true if the code-version was created
√ returns false if the code-version was not created
-- Error: Request failed with status code 500
-- Retrying request | attempt 1 of 3
-- Error: Request failed with status code 500
-- Retrying request | attempt 2 of 3
-- Error: Request failed with status code 500
-- Retrying request | attempt 3 of 3
-- Error: Request failed with status code 500
√ gracefully fails when an error occurs creating a code version (9136ms)
Retrieval of a Specific Code Version via OCAPI Data API
√ returns a valid code version if the request processes successfully
-- Error: Request failed with status code 500
-- Retrying request | attempt 1 of 3
-- Error: Request failed with status code 500
-- Retrying request | attempt 2 of 3
-- Error: Request failed with status code 500
-- Retrying request | attempt 3 of 3
-- Error: Request failed with status code 500
√ throws an error if the code version was not found (9140ms)
Retrieval of a Specific Site via the OCAPI Data API
√ returns a valid site-detail if the request processes successfully
-- Error: Request failed with status code 500
-- Retrying request | attempt 1 of 3
-- Error: Request failed with status code 500
-- Retrying request | attempt 2 of 3
-- Error: Request failed with status code 500
-- Retrying request | attempt 3 of 3
-- Error: Request failed with status code 500
√ throws an error if the site-detail was not found (9150ms)
Retrieval of a B2C Commerce Code Version
-- Error: Request failed with status code 500
-- Retrying request | attempt 1 of 3
-- Error: Request failed with status code 500
-- Retrying request | attempt 2 of 3
-- Error: Request failed with status code 500
-- Retrying request | attempt 3 of 3
-- Error: Request failed with status code 500
√ successfully throws an error on processed 500 responses (9154ms)
√ successfully retrieves the specified code-version
Creating a B2C Commerce Code Version via the OCAPI Data API
-- Error: Request failed with status code 500
-- Retrying request | attempt 1 of 3
-- Error: Request failed with status code 500
-- Retrying request | attempt 2 of 3
-- Error: Request failed with status code 500
-- Retrying request | attempt 3 of 3
-- Error: Request failed with status code 500
√ successfully throws an error on processed 500 responses (9114ms)
√ successfully creates a code-version from a well-formed request
√ fails gracefully when a request does not execute successfully
Retrieval of B2C Commerce Site details
√ processes predictably when a request is successfully executed
√ fails gracefully when a request does not execute successfully
-- Error: Request failed with status code 500
-- Retrying request | attempt 1 of 3
-- Error: Request failed with status code 500
-- Retrying request | attempt 2 of 3
-- Error: Request failed with status code 500
-- Retrying request | attempt 3 of 3
-- Error: Request failed with status code 500
√ successfully throws an error on processed 500 responses (9136ms)
2. The "npm run crm-sync:test:b2c" and "npm run crm-sync:b2c:verify" give no errors.
3. When trying the "npm run crm-sync:sf:org:deploy" command, receiving the following error. Could someone please help me with this?
[
{
"stack": "DeployFailed: Deploy failed.\n at DeployResultFormatter.display (C:\Users\tafaz\Downloads\b2c-crm-sync-master\b2c-crm-sync-master\node_modules\@salesforce\plugin-source\lib\formatters\deployResultFormatter.js:61:19)\n at Deploy.formatResult (C:\Users\tafaz\Downloads\b2c-crm-sync-master\b2c-crm-sync-master\node_modules\@salesforce\plugin-source\lib\commands\force\source\deploy.js:127:23)\n at Deploy.run (C:\Users\tafaz\Downloads\b2c-crm-sync-master\b2c-crm-sync-master\node_modules\@salesforce\plugin-source\lib\commands\force\source\deploy.js:40:21)\n at processTicksAndRejections (node:internal/process/task_queues:93:5)\n at async Deploy._run (C:\Users\tafaz\Downloads\b2c-crm-sync-master\b2c-crm-sync-master\node_modules\@salesforce\command\lib\sfdxCommand.js:81:40)",
"message": "Deploy failed.",
"name": "DeployFailed",
"exitCode": 1,
"commandName": "Deploy",
"code": "Error"
}
]
node version: v15.2.1
npm version: 7.0.8
sfdx version: sfdx-cli/7.131.0 win32-x64 node-v16.13.1
Beta Was this translation helpful? Give feedback.
All reactions