ERROR Not a square but I find the Usage is same as some examples

The error message is because of the product of A with C. That is a non-convex “quadratic” term, and violates CVX’s DCP rules. Even if the Left Hand Side were convex, which it is not, nonlinear equalities are not allowed in CVX, because they are non-convex.

Can you please show us which examples have the same usage as your program?