The alcohol being oxidized must not be a tertiary alcohol.
A tertiary alcohol is one in which the -OH group is attached to a carbon atom which is attached to three other carbon atoms. This "closes off" the alcohol group and prevents the formation of oxidation products. This is the reason why tertiary alcohols do not undergo oxidation in mild conditions.