# When I try to convert record id to the string like this, I get conversion error during runtime id = check value:ensureType((check doc._id).toString(), string); Could you please guide on how to get the object id?