Oracle Error ORA-10635: Invalid segment or tablespace type

Oracle Error Message

ORA-10635: Invalid segment or tablespace type

Reason for 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.

Solution

Check the tablespace and segment type and reissue the statement