<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
System Status
Announcements
Announcements
Search
Search
Select Language

API Not Available to Get Sign-On Policy Rules of an App for Okta Classic Engine

Administration
Okta Classic Engine
Okta Identity Engine

Overview

This article explains why an Admin may receive the following error when attempting to get the Application policies using the following GET API {{url}}/api/v1/policies?type=ACCESS_POLICY call on Okta Classic:  

 

'errorCode': "E0000002",
'errorSummary': 'The request was not valid: Invalid policy type specified."


Error 

 

 

Applies To

  • Okta Classic Engine
  • API calls 
  • Access Policy
  • Sign-On policy 

Cause

In Okta Classic, Application policies can only be updated or modified using the Admin dashboard UI and not through an API call.

Solution

Admins must update the view app sign-on policies in Okta Classic Engine through the admin dashboard. As described here, they may also use additional external tools such as Rockstar.

 

NOTE: Okta did not create this extension. It is an unofficial extension created and supported by the community. If the extension is not working correctly, Okta Support cannot troubleshoot it. The JavaScript source is on GitHub; an issue or a pull request can be opened.

Loading
API Not Available to Get Sign-On Policy Rules of an App for Okta Classic Engine | Okta Support