add raise error at appkey notfound