Oracle Solution for Error ora-41650

Solution for Oracle Error ORA-41650

ORA-41650: invalid composite event structure

What triggered the Error:

A composite event structure may only have attributes that are either table aliases or of an object type that is defined in the owner's schema.

What should we do to fix it:

Ensure that the event structure has no scalar attributes and all the embedded types in it are defined in the owner's schema.