Made a generic error for all non empty associations