Error: incorrect type for inspect expression.
What to do: make sure that type is INTEGER or CHARACTER. 
