In My case, There is issue in importing module in the specific file where we are using the method find(). After making that import right, code runs well .