nissan mica camshaft sensor

Hello colleagues. Drive a nissan mica k12 bj 04.2004 65ps When I bought the car was the engine control light on. After error reading was found the camshaft sensor is defective. I bought one of accessories for 50€, the engine did not work at all. Then I bought one of another load also for 50€ the engine went on, but the MKL went on again and the car had zero power. The mechanic meant that I fetch the camshaft sensor original at Nissan m uss. Want to ask you, do I have to buy the camshaft sensor original? Thank you very much