[500] Cannot use a scalar value as an array