Default error in repository queries