A connector configured to be fitted with a mating connector, the connector comprising: a main housing; a first main contact provided in the main housing for main power conduction; a sub-housing supported on the main housing to be slidable in a fitting direction in which the connecter is fitted with the mating connector; a first sub-contact provided in the sub-housing for detecting a fitting of the connector with the mating connector; and an operating member pivotably and slidably supported on the main housing, wherein the main housing moves closer to the mating connector when the operating member is pivoted from a first position to a second position, wherein the first main contact contacts with a second main contact of the mating connector for main power conduction when the operating member reaches the second position, wherein the sub-housing moves further in the fitting direction and the first sub-contact contacts with a second sub-contact of the mating connector for detecting the fitting when the operating member slides from the second position in a direction different from the fitting direction, wherein the sub-housing includes an erroneous fitting prevention part configured to abut against the mating connector to prevent the first sub-contact from coming into contact with the second sub-contact when the sub-housing slides in the fitting direction with respect to the main housing in a state of incomplete fitting before the connector is completely fitted with the mating connector, wherein the erroneous fitting prevention part is configured to be released from abutting against the mating connector by sliding of the operating member from the second position to contact the first sub-contact with the second sub-contact. wherein the erroneous fitting prevention part includes a tip portion configured to abut against a housing of the mating connector, and wherein the erroneous fitting prevention part is configured to be pushed in the fitting direction by the sliding of the operating member from the second position and to be bent in a direction intersecting the fitting direction, so that abuttment of the tip portion with the housing of the mating connector is released, characterised in that the erroneous fitting prevention part extends in a cantilever shape in the fitting direction. a main housing; a first main contact provided in the main housing for main power conduction; a sub-housing supported on the main housing to be slidable in a fitting direction in which the connecter is fitted with the mating connector; a first sub-contact provided in the sub-housing for detecting a fitting of the connector with the mating connector; and an operating member pivotably and slidably supported on the main housing, wherein the main housing moves closer to the mating connector when the operating member is pivoted from a first position to a second position, wherein the first main contact contacts with a second main contact of the mating connector for main power conduction when the operating member reaches the second position, wherein the sub-housing moves further in the fitting direction and the first sub-contact contacts with a second sub-contact of the mating connector for detecting the fitting when the operating member slides from the second position in a direction different from the fitting direction, wherein the sub-housing includes an erroneous fitting prevention part configured to abut against the mating connector to prevent the first sub-contact from coming into contact with the second sub-contact when the sub-housing slides in the fitting direction with respect to the main housing in a state of incomplete fitting before the connector is completely fitted with the mating connector, wherein the erroneous fitting prevention part is configured to be released from abutting against the mating connector by sliding of the operating member from the second position to contact the first sub-contact with the second sub-contact. wherein the erroneous fitting prevention part includes a tip portion configured to abut against a housing of the mating connector, and wherein the erroneous fitting prevention part is configured to be pushed in the fitting direction by the sliding of the operating member from the second position and to be bent in a direction intersecting the fitting direction, so that abuttment of the tip portion with the housing of the mating connector is released, characterised in that the erroneous fitting prevention part extends in a cantilever shape in the fitting direction.