The sensor assembly doesn´t work after screen replacement

I changed the screen on my iphone 14 pro with an original one and after finishing, the ios repair asistant shows this message"unable to configure" the screen. It says that the screen in "unknown", and when I go to diagnostic mode it also tells that the ambient light sensor isn´t working as well. But when i install the old screen (the one i changed), nothing is wrong and everything works perfectly. The new screen i bought didn´t had the sensor assembly intalled, so i had to swap it with the one i had from old screen. I think that the sensor assembly and screen are linked, and if one of them is changed it wouldn´t work. How can I solve it?. IOS 18.4

crwdns2934089:0crwdne2934089:0 crwdns2934093:0crwdne2934093:0

crwdns2934109:0crwdne2934109:0

crwdns2889612:0crwdne2889612:0 0
crwdns2934285:0crwdne2934285:0