API Not Available to Get Sign-On Policy Rules of an App for Okta Classic Engine
Last Updated:
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."
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.
