Error: The ref partially named 'foobar' could not be found