validate when cannot fetch key with environment available