Oracle Error Message
ORA-22876: this user-defined type is not allowed or it cannot be used in this context
Reason for the Error
An attempt to create a kind of user-defined type which is not allowed, or an attempt to create table columns or use default constructor with a type on which these are not supported.
Solution
Ensure that the type is permitted in this context.