Skip to content

Error: Found 2 matching sandboxes #560

@kdomachowski

Description

@kdomachowski

sfcc-ci Version

2.11.0

NodeJS Version

v14.21.3

sfcc-ci Path

No response

Host OS Details

No response

Description

Due to the fact that ODS realms have been migrated a few days ago, the sandbox API returns the exactly same set of sandbox data more than once (2 time in my case, same id, realm and instance) and that, from a sfcc-ci's perspective, makes any sandbox operation ambiguous.

From Salesforce operations we understood, that only one of the listed sandboxes is actually active and the second one is only a stale, prior migration version that will be removed at a later point in time. Meanwhile, the sandbox API handles all operations gracefully, i.e. only regards the active sandbox with requested operations.

In order to keep operations via sfcc-ci upright, a fix is required that carries out the operation regardless of the number of instances found.

Relevant log output

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions