Spin current, the flow of spin angular momentum, can carry and transport energy and/or information without generating Joule heating, which makes spin-based devices become one of the potential aspects for the next-generation information processing devices. It is important to investigate the generation, transport, and detection of spins for developing spin-based devices, in which the spin transport and its related phenomena attract ongoing interest due to the complex interactions between spins and condensed matter system. Here, spin transport phenomenon is studied at a heterojunction consisting of ferromagnetic metal nickel and nonmagnetic heavy metal platinum, where transport spins are found to be totally blocked. Two series of spin-pumping devices, i.e. the yttrium iron garnet (YIG)/Ni/Pt trilayer devices and the contrastive YIG/Ni bilayer devices, are made in this work. The YIG serves as a substrate and spin-pump layer, on which nickel film and platinum film are deposited by a dc magnetron sputtering system. Spin currents are generated from YIG and injected into nickel layers by spin pumping technology. The voltage signals corresponding to the inverse spin Hall effect are detected and analyzed comparatively for both YIG/Ni/Pt trilayer device and YIG/Ni bilayer device. It is found that the platinum layers in YIG/Ni/Pt trilayer devices act only as charge current shunting but do not contribute to the spin-charge conversion. This implies that the spin current cannot transport through the Ni/Pt interface even when the nickel layer is as thin as 1 nm, in other words, the spin current is blocked at the Ni/Pt interface. Our result proposes a heterojunction that can block transport spins totally, which has never been discussed before, and the present study may expand the views and promote the development of spin-based devices.