Oracle Solution for Error ora-10635

Solution for Oracle Error ORA-10635

ORA-10635: Invalid segment or tablespace type

What triggered the Error:

Cannot shrink the segment because it is not in auto segment space managed tablespace or it is not a data, index or lob segment.

What should we do to fix it:

Check the tablespace and segment type and reissue the statement