"Internal Server Error" when Updating Client Grants Using Management API
Last Updated:
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:
- Navigate to the resource server configuration in the system.
- Define the necessary scopes on the resource server.
- Ensure the required scopes are defined on the resource server.
- Attempt to update the client grant using the Management API again.