Improved error message

imho changing it from "the" to "a" makes it clearer that we are not naming the exact attribute one must set.