<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M74D8PB" height="0" width="0" style="display:none;visibility:hidden">
Loading
Skip to NavigationSkip to Main Content
Governance Delegates - 500 Error when calling the PATCH API
Identity Governance
Overview

When there are no delegates OrgSetting, calling PATCH /governance/api/v1/principal-settings/{targetPrincipalId} results in the following error:

 NullPointerException

Applies To
  • Okta Identity Governance (OIG)
  • Governance Delegates
Cause

Customers who:

  • are calling the PATCH principal-settings API without the MANAGED_ORG_SETTING or Super Admin permission (only have AC Admin + AR admin roles)

  • have not toggled the "User-assigned delegates" settings before

will see a 500 on PATCH /governance/api/v1/principal-settings/{targetPrincipalId}

Solution

Current Workaround: 

  1. Access the Okta Admin Console.
  2. Navigate to Identity Governance > Settings > Delegates tab.
  3. Toggle the "Enable end users to assign their own delegate" setting on, then immediately off again
Loading
Governance Delegates - 500 Error when calling the PATCH API