You might want to look at this How to get the best out of this forum before you proceed any further.
We only know what you tell us, and without knowing what you have, we don't stand a chance.
In your case we need to see the schematic and your code. Your word salad connection list is missing things, for example there is no mention of ground connections.
Welcome! If you wired it Like it appears you did with your list of ??? it will not work. You might want to read up on SPI and how it works. Read the forum guidelines as suggested by @Grumpy_Mike.
Your wiring looks OK; the initialisation will fail if the chip ID or inverse chip ID can't be read or don't match with the expected numbers.
You can add some Serial prints to the begin() method in the library to see what the numbers are that the begin() method gets back. Expected are 0x49 and 0xB6.
Cross-posting is against the Arduino forum rules. The reason is that duplicate posts can waste the time of the people trying to help. Someone might spend a lot of time investigating and writing a detailed answer on one topic, without knowing that someone else already did the same in the other topic.
Repeated cross-posting can result in a suspension from the forum.
In the future, please only create one topic for each distinct subject matter. This is basic forum etiquette, as explained in the "How to get the best out of this forum" guide. It contains a lot of other useful information. Please read it.
When I checked chipid and inverseechipid using the Serial print , both of them turned out to be 0. Therefore, I think spi communication is problematic. So, if spi communication is good with two Uno boards, I can think of it as a sensor problem.