Is the error due to the type?