Okta Schema Enforcement Error Exceeds Maximum Attribute Limit
Last Updated:
Overview
A schema enforcement error occurs when programmatically managing Application User Profile custom attributes using the Okta Schema API. This issue happens when the total number of properties reaches 150, and an attempt is made to add an additional attribute via the POST /api/v1/meta/schemas/apps/<appId>/default endpoint. Opening a case with Okta Support to request an increase to the attribute limit resolves the issue. When this failure occurs, the request fails and returns the following error message:
{ "errorCode": "E0000001", "errorSummary": "schema contains 1 properties more than the allowed maximum of 150" }
Applies To
- Okta Identity Engine (OIE)
- Okta Classic Engine
- Application User Profile
- Okta Schema API
- Custom Attributes
Cause
The error occurs because the Application User Profile schema has a hard-enforced limit of 150 total properties. This limit applies to the combined total of both base and custom attributes and is uniform across all tenants.
Solution
How is the schema enforcement error resolved?
The default limit is 150 total attributes. While there is no self-service mechanism to override this constraint, administrators can request an increase to the limit.
- Open a case with Okta Support to request an increase to the attribute limit.
- Provide the requested upper limit to the support team for review.
NOTE: Extremely high attribute counts, such as 3000 or more, may cause performance issues and require review by the Product team.
