Incorrect invalid type error? - Convex Community