Getting below error when running the resource command 