The identity is true for all values of A, so let’s see where the reasoning is faulty.
If A=30, sinA=½, cscA=2, cosA=√3/2, secA=2/√3, tanA=1/√3, cotA=√3.
(secA-cosA)²=4/3-2+3/4=1/12, (cscA-sinA)²=4-2+1/4=9/4, (cotA-tanA)²=3-2+1/3=4/3.
So 1/12+9/4-4/3=(1+27-16)/12=12/12=1.
If A=60, sinA=√3/2, cscA=2/√3, cosA=½, secA=2, tanA=√3, cotA=1/√3.
(secA-cosA)²=4-2+1/4=9/4, (cscA-sinA)²=4/3-2+3/4=1/12, (cotA-tanA)²=1/3-2+3=4/3.
9/4+1/12-4/3=1 as before.
So the identity is true for A=30, 60 and any other value (perhaps we should avoid 0 and 90).