I encountered the same error. After debugging, I realized that I had misspelled the method name when importing it from the controller into the route file. Please verify the method name.