Error Codes

Since OAK-764 the CommitFailedExceptions thrown by commit hooks in Oak come with error codes that help identify the cause of a problem and locate additional information about the issue. This page is an informal registry of common error codes.

Type Constraint

Node type validation

OakConstraint000xPrimary and mixin type information
0001The primary type X does not exist
0002Mixin type X used as the primary type
0003Abstract type X used as the primary type
0004No default primary type available for child node X
0005The mixin type X does not exist
0006Primary type X used as a mixin type
0007Abstract type X used as a mixin type
OakConstraint002xPresence of mandatory items
0021Mandatory property X not included in a new node
0022Mandatory property X can not be removed
0025Mandatory child node X not included in a new node
0026Mandatory child node X can not be removed

User Validation

see section User Management

Privilege Validation

see section Privilege Management

Token Validation

see section Token Management

Type Access

Permission Validation

see section Permissions

Type Access Control

Default Access Control Validation

see section Access Control Management

CUG Validation

see section Closed User Groups