API /cc/api/source/reset not working as expected

Hi All,

We are facing some errors when using API /cc/api/source/reset/:id

JSON response is as below -

{
    "msg_template": "Source '<Connector Name>' is currently in use.",
    "slpt_error_code": "SLPT-1209",
    "formatted_msg": "(SLPT-1209) Source '<Connector Name>' is currently in use.",
    "exception_id": "18B40E4E965",
    "error_code": 1209,
    "exception_class": "com.cloudmasons.exceptions.SLPTSourceInUseException",
    "exception_detail": {
        "file": "SourceService.groovy",
        "method": "reset",
        "line_number": 2140,
        "sourcesOwnedByUsersFromThisSource": [
            "IdentityNow Admins",
            "<Source 1>",
            "<Source 2>",
            "<Source 3>",
            "<Source 4>"
        ],
        "class": "com.cloudmasons.SourceService"
    },
    "http_response_code": 400,
    "timestamp": "2023-10-18 03:47:05.701",
    "exception_message": "(SLPT-1209) Source '<Connector Name>' is currently in use."
}

We have changed the URL of the connection string in the connector deliberately, as it is one of our use cases that we dont want to impact the target source in any way when we reset the source at IDN.

Thanks in advance

You are not able to reset this source because the source owner identity on the following sources(highlighted) is part of the source itself that you are trying to reset.

“sourcesOwnedByUsersFromThisSource”: [
“IdentityNow Admins”,
“<Source 1>”,
“<Source 2>”,
“<Source 3>”,
“<Source 4>”
]

Please modify the owner on these sources to some other user not belonging to this source and then try the reset, I am sure it will work

Okay, let me try this.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.