Unable to update application connections

Problem statement

When trying to remove connections from an application, I received the following error:

“clients not found: K71qy5pvMERdusBp6TJ7Q821RkaKQwlB,jMuEwuJMa1amx6SYlsHvmLMbaS9dokbE”

Cause

The error is due to the client id of the connection being already deleted. We have a backlog item for tracking the fix.

Solution

The workaround is to call the PATCH connection endpoint, and in the payload, set the enabled_clients attribute with the client_id of the applications that use this connection.