Oracle Solution for Error ora-31232

Solution for Oracle Error ORA-31232

ORA-31232: DBMS_LDAP: invalid MOD_PROPERTY_SET

What triggered the Error:

An attempt was made by a PL/SQL module to use a MOD_PROPERTY_SET which is not valid and might have already been freed.

What should we do to fix it:

Check the MOD_PROPERTY_SET in PL/SQL module involving DBMS_LDAP.