depending on the design of the pcb, you need to actively put your board into bootloader mode (mode where qmk toolbox can flash firmware). from what i read, this was most likely your issue. many qmk firmwares will switch into bootloader mode if you hold escape while connecting the board.