sandbox:create returning json multiple times
See original GitHub issueRunning the sandbox:create command and looking at the json being returned - it seems to be returning the json 3 times for the 1 sandbox creation.
sfcc-ci sandbox:create -r xxxx -t 1 -j -s
Here’s what I see returned this morning - edited to remove realm data and sb id, but the sb ID was the same.
{"message":"Creation of new sandbox 002 for realm xxxx finished (300504 ms). Sandbox id is f91f5ccd-036c-4969-9a91-11118ca78e11, status of sandbox is started. You may use `sfcc-ci sandbox:list` to check the status of the sandbox.","sandbox":{"id":"f91f5ccd-036c-4969-9a91-11111ca78e11","realm":"xxxx","instance":"002","versions":{"app":"20.9.1.23","web":"20.2.1.0"},"state":"started","createdAt":"2020-09-03T13:25:33Z","eol":"2020-09-03T14:25:22Z","links":{"bm":"https://xxxx-002.sandbox.us01.dx.commercecloud.salesforce.com/on/demandware.store/Sites-Site","ocapi":"https://xxxx-002.sandbox.us01.dx.commercecloud.salesforce.com/s/-/dw/data/","impex":"https://xxxx-002.sandbox.us01.dx.commercecloud.salesforce.com/on/demandware.servlet/webdav/Sites/Impex","code":"https://xxxx-002.sandbox.us01.dx.commercecloud.salesforce.com/on/demandware.servlet/webdav/Sites/Cartridges","logs":"https://xxxx-002.sandbox.us01.dx.commercecloud.salesforce.com/on/demandware.servlet/webdav/Sites/Logs"}},"instance":{"host":"xxxx-002.sandbox.us01.dx.commercecloud.salesforce.com","alias":"xxxx-002","default":true}}
{"message":"Creation of new sandbox 002 for realm xxxx finished (305498 ms). Sandbox id is f91f5ccd-036c-4969-9a91-11118ca78e11, status of sandbox is started. You may use `sfcc-ci sandbox:list` to check the status of the sandbox.","sandbox":{"id":"f91f5ccd-036c-4969-9a91-11111ca78e11","realm":"xxxx","instance":"002","versions":{"app":"20.9.1.23","web":"20.2.1.0"},"state":"started","createdAt":"2020-09-03T13:25:33Z","eol":"2020-09-03T14:25:22Z","links":{"bm":"https://xxxx-002.sandbox.us01.dx.commercecloud.salesforce.com/on/demandware.store/Sites-Site","ocapi":"https://xxxx-002.sandbox.us01.dx.commercecloud.salesforce.com/s/-/dw/data/","impex":"https://xxxx-002.sandbox.us01.dx.commercecloud.salesforce.com/on/demandware.servlet/webdav/Sites/Impex","code":"https://xxxx-002.sandbox.us01.dx.commercecloud.salesforce.com/on/demandware.servlet/webdav/Sites/Cartridges","logs":"https://xxxx-002.sandbox.us01.dx.commercecloud.salesforce.com/on/demandware.servlet/webdav/Sites/Logs"}},"instance":{"host":"xxxx-002.sandbox.us01.dx.commercecloud.salesforce.com","alias":"xxxx-002","default":true}}
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (4 by maintainers)
Top Results From Across the Web
How to force application/json object return when creating new ...
How to force application/json object return when creating new customer from api. Expand Post ... Accept application/json has done the trick!
Read more >Reshaping JSON with jq - Programming Historian
In this final exercise, we will use jq to count the number of times unique hashtags appear in this dataset. Once again, make...
Read more >How to stub a JSON file with Sinon - Stack Overflow
I want to stub this file in a sandbox so it always returns a given fixture. const fixture = { fake: "things" }...
Read more >JSON Test by jsontest
Returns a JSON object with the current date and time in human-readable form, and the current number of milliseconds since UNIX epoch (this...
Read more >Sandbox - Customize test data | Plaid Docs
Use custom Sandbox accounts to create rich testing data for the Assets, Auth, ... Custom test accounts are configured with a JSON configuration...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@wundrian , yes it happens always whenever --sync option passed.
./sfcc-ci-macos sandbox:create --sync --realm zzrk --ttl 1 Creation of new sandbox 009 for realm zzrk finished (288037 ms). Sandbox id is b56049c6-4745-4abc-9fa3-a74d9acf9481, status of sandbox is started. You may use
sfcc-ci sandbox:listto check the status of the sandbox. Creation of new sandbox 009 for realm zzrk finished (288236 ms). Sandbox id is b56049c6-4745-4abc-9fa3-a74d9acf9481, status of sandbox is started. You may use
sfcc-ci sandbox:listto check the status of the sandbox. Creation of new sandbox 009 for realm zzrk finished (298174 ms). Sandbox id is b56049c6-4745-4abc-9fa3-a74d9acf9481, status of sandbox is started. You may use
sfcc-ci sandbox:listto check the status of the sandbox.
@tobiaslohr I unfortunately am not able to test this at this time. @astound-ci can you help?