forcedotcom / forcedotcom/commerce-on-lightning
Getting "The requested resource does not exist" when using sfdx commerce:store:create --store-name teststore -u testCC
- Dominant language
- TypeScript
- Stars
- 84
- Forks
- 84
- Avg merge
- 1m
- Merged PRs (30d)
- 1
Description
I'm having the below problem when running `sfdx commerce:store:create --store-name teststore -u testCC`
```
ERROR running StoreQuickstartSetup: {
"code": 1,
"context": "Create",
"commandName": "Create",
"message": "The requested resource does not exist",
"name": "NOT_FOUND",
"status": 1,
"stack": "NOT_FOUND: The requested resource does not exist\n at HttpApi.getError (/opt/homebrew/lib/node_modules/@salesforce/cli/node_modules/jsforce/lib/http-api.js:252:12)\n at processTicksAndRejections (node:internal/process/task_queues:96:5)\n at async /opt/homebrew/lib/node_modules/@salesforce/cli/node_modules/jsforce/lib/http-api.js:122:23\n at async Connection.create (/opt/homebrew/lib/node_modules/@salesforce/cli/node_modules/jsforce/lib/connection.js:796:133)\n at async Create.run (/opt/homebrew/lib/node_modules/@salesforce/cli/node_modules/@salesforce/plugin-data/lib/commands/data/create/record.js:23:24)\n at async Create._run (/opt/homebrew/lib/node_modules/@salesforce/cli/node_modules/@oclif/core/lib/command.js:117:22)\n at async Config.runCommand (/opt/homebrew/lib/node_modules/@salesforce/cli/node_modules/@oclif/core/lib/config/config.js:314:25)\n at async run (/opt/homebrew/lib/node_modules/@salesforce/cli/node_modules/@oclif/core/lib/main.js:89:16)",
"exitCode": 1,
"warnings": [
"The \"-u\" flag has been deprecated. Use \"--target-org | -o\" instead.",
"The \"--apiversion\" flag has been deprecated. Use \"--api-version\" instead."
],
"command": "sfdx force:data:record:create -u \"lusername@company.com\" -s \"ShippingConfigurationSet\" -v \"TargetRecordId=0ZE8G0000008aRyWAI\" --json --apiversion=59.0"
}
ERROR running commerce:store:create: StoreQuickstartSetup failed
```
Running in isolation the failed command responds with the same error.
I'm running this in my local environment over the `develop` branch.
Contributor guide
Assessment
This issue has not been assessed yet.