Joycon does not work connected to the rail

I replaced the roels of the console but the joycon does not load and it does not recognize them.
I tried to measure the power of the pins but I have no information to be able to diagnose the failure on the board

Hi! Is it both Joycons or just one of them? (and which one?) Did it work before you changed the rail?