Input value "type" contains a non-scalar value.