A good way to start is find and identify which wires are original to the bike and actually match whats on the wiring diagram. Connect all like color wires together, just make sure they are the wires that came in the harness originally, not added later.
Example......(From the factory) A green wire with a 4 way female gendered connector is a ground wire and will have 4 male
bullet connector type wires from various components plug into it. Next, find all the (FACTORY) black wires and connect them all together. Start with what you know is factory correct to get that much done. Then go after what's questionable. This is assuming you are attempting to reconnect the whole bike. If just the bar controls, and you suspect it's had prior work done/hacked/ etc. maybe disassemble things just enough to see what colors are connected inside the switches, There is usually remanents of original wiring remaining at the source, and then If the wiring has been changed or spliced, you can trace what/ where any different or non original wires actually go to. Its obviously easier to just hook everything up vs. troubleshooting or trying to figure out a previous hack job. That can be a can of worms. anyway thats where I'd start. If everything worked before you did the bars,
I'd think theres just something disconnected.In the pic i see at least one black male connector hanging loose. Black is a power feed wire, find a black female conector and plug the two together, and keep on going that way with all the colors
you get the idea, yes?