Oracle Solution for Error ora-22803

Solution for Oracle Error ORA-22803

ORA-22803: object type contains zero attributes

What triggered the Error:

attempt was made to create or specify a column or constructor of an object type that has no attributes. Only object types that have at least one attribute are allowed in this context.

What should we do to fix it:

ecify a valid object type