Error Disciplined convex programming error

The argument of norm must be affine. Have you shown that your problem is convex? I will mark it as non-convex until you show it otherwise.