Cannot delete OAuth Clients

Hi,

Currently, we cannot delete any newly created OAuth clients on both Java SDK or Genesys UI.

  1. Using Java we receive "clients that are not inactive cannot be deleted" although the clients are not used at all.
  2. If we attempt to delete the client from within the UI, after pressing the "Delete Application" button the popup window is stuck on "Querying API usage...".

This seems to be a new behaviour we didn't have in the past. Could you please investigate?

Thank you,
Nikos

Some additional information on the UI bug:
After pressing the "Delete Application" an HTTP 400 in thrown in the logs when sending an HTTP POST to https://apps.mypurecloud.com/platform/api/v2/oauth/clients/4f57025a-c12b-43a9-8286-b374a4c5ade3/usage/query, followed by a "uncaught exception TypeError: Cannot read property 'executionId' of null Possibly unhandled rejection: {}".
It seems something is failing there possibly affecting the deletion attempt of the OAuth client using the Java SDK as well.

Same error appears using the Developer Tools.
{
"message": "Clients that are not inactive cannot be deleted.",
"code": "cannot.delete.client",
"status": 400
}

For the short term you can GET the oauth client with this:
/api/v2/oauth/clients/{clientId}
Then change the state to Disabled and use the same route to PUT it back

At that point you should be able to delete it. We are talking internally about what changed with this behavior.

--Jason

The workaround works. Please respond here once the issue is resolved thank you.

This change in behavior should be rolled back within the next couple of minutes.

This behavior change has been rolled back.

I can confirm the OAuth client deletion is back to normal through the Java SDK which was the case for us.
FYI the bug on the UI still exists.

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