Oracle Message ORA-13181 - unable to determine length of column string_SDOINDEX.SDO_CODE

ERRORunable to determine length of column string_SDOINDEX.SDO_CODE
CAUSEThe length of the SDO_CODE column in the _SDOINDEX table could not be determined.
ACTIONMake sure that the _SDOINDEX table exists with the SDO_CODE column. Verify that the appropriate privileges exist on the table. Then retry the operation.