An electrical connector (100, 400, 500), in particular a pyrotechnic connector for plugging in a mating connector of a safety restraint system, comprising: a connector housing (101, 401, 501) which is provided to receive electrical terminals to be connected to mating electrical terminals of a mating connector, which connector housing is configured for plugging in and locking to the mating connector; and a connector position assurance device (130, 430, 530), that is to say, CPA device, which can be inserted at least partially in the connector housing (101, 401, 501) in an insertion direction, configured in such a manner that, when the connector housing (101, 401, 501) is plugged in and locked to a mating connector, a locking position of the CPA device (130, 430, 530) keeps the connector housing locked to the mating connector; the connector (100, 400, 500) is configured in such a manner that an insertion of the CPA device (130, 430, 530) in the connector housing (101, 401, 501) in the insertion direction is blocked at a delivery position preventing insertion of the CPA device (130, 430, 530) as far as the locking position, in particular as long as the connector housing (101, 401, 501) is not inserted and/or locked in the mating connector; characterised in that the CPA device (130, 430, 530) comprises at least one locking means (132, 133; 432, 433; 532, 533) which can be inserted in the connector housing (101, 401, 501) in the insertion direction, and the connector (100, 400, 500) is further configured in such a manner that the blocking of the CPA device (130, 430, 530) at the delivery position is carried out by an abutment of said at least one locking means (132, 133; 432, 433; 532, 533) against at least one internal zone (144, 145; 444, 445; 544, 545) of the connector housing (101, 401, 501); and said at least one internal zone (144, 145; 444, 445; 544, 545) is a rib which is provided so as to project on an internal circumference (129, 429, 529) of the connector housing (101, 401, 501). a connector housing (101, 401, 501) which is provided to receive electrical terminals to be connected to mating electrical terminals of a mating connector, which connector housing is configured for plugging in and locking to the mating connector; and a connector position assurance device (130, 430, 530), that is to say, CPA device, which can be inserted at least partially in the connector housing (101, 401, 501) in an insertion direction, configured in such a manner that, when the connector housing (101, 401, 501) is plugged in and locked to a mating connector, a locking position of the CPA device (130, 430, 530) keeps the connector housing locked to the mating connector; the connector (100, 400, 500) is configured in such a manner that an insertion of the CPA device (130, 430, 530) in the connector housing (101, 401, 501) in the insertion direction is blocked at a delivery position preventing insertion of the CPA device (130, 430, 530) as far as the locking position, in particular as long as the connector housing (101, 401, 501) is not inserted and/or locked in the mating connector; characterised in that the CPA device (130, 430, 530) comprises at least one locking means (132, 133; 432, 433; 532, 533) which can be inserted in the connector housing (101, 401, 501) in the insertion direction, and the connector (100, 400, 500) is further configured in such a manner that the blocking of the CPA device (130, 430, 530) at the delivery position is carried out by an abutment of said at least one locking means (132, 133; 432, 433; 532, 533) against at least one internal zone (144, 145; 444, 445; 544, 545) of the connector housing (101, 401, 501); and said at least one internal zone (144, 145; 444, 445; 544, 545) is a rib which is provided so as to project on an internal circumference (129, 429, 529) of the connector housing (101, 401, 501).