ERROR! invalid type received - verify usage