#12 return errror when key is not of valid type
v1.0.15