Resovle promise on missing record error