Let be a 2-edge-connected simple graph on vertices, let denote an abelian group with the identity element 0, and let be an orientation of . The boundary of a function is the function given by , where is the set of edges with tail and is the set of edges with head . A graph is -connected if for every with , there is a function such that . In this paper, we prove that if for each , then is not -connected if and only if is either one of specific graphs or one of or for , where denotes the graph obtained from by adding an edge joining two vertices of maximum degree. This result generalizes the result in [G. Fan, C. Zhou, Degree sum and Nowhere-zero 3-flows, Discrete Math. 308 (2008) 6233–6240] by Fan and Zhou.