Raise an error in find_resources when no resource is found