Connecting more then one module to SPI bus

I am trying to connect RF24L01 and RFID card to the same bus using SPI protocol. While I am trying upload the sketch it's saying timeout. Can it be done with 2 modules on the same bus?

Do they really need to be connected if you're just uploading the sketch ? Can't you disconnect the power to them while uploading the sketch to the arduino to see if that helps ?

raschemmel:
Do they really need to be connected if you’re just uploading the sketch ? Can’t you disconnect the power to
them while uploading the sketch to the arduino to see if that helps ?

Thanks problem with connection is resolved, now is just a code problem.