"Internal Server Error" when Updating Client Grants Using Management API

Overview

This article explains the following error that occurs when attempting to update a client grant for a specific client using the Management API:

 

Internal Server Error

 

Applies To

  • Management API
  • Patch Client Grants endpoint

Cause

The issue occurs because the resource server lacks defined scopes. The Patch Client Grants endpoint requires these definitions to successfully process the update request.

Solution

To resolve this issue, define the scopes on the resource server using the following steps:

  1. Navigate to the resource server configuration in the system.
  2. Define the necessary scopes on the resource server.
  3. Ensure the required scopes are defined on the resource server.
  4. Attempt to update the client grant using the Management API again.

Recommended content

No recommended content found...