[BUG] Require setKey in getKey api call.