Handle error that cannot find object type