Ugh Dupont connectors!

Had a lot of problems with these too

An alternative if you really don’t manage to get it working is to buy some dupont wire leads, and solder your wires to these pre-crimped leads