Cam Positioning sensor

Check engine light on. Computer says it’s the ‘Cam-Positioning Sensor’. Replaced it, reset engine light. Engine light came back on after driving a few miles. Replaced sensor again assuming previous one was faulty & car computer still states that it’s the Cam-Positioning Sensor. Replaced timing belt & water pump (needed it anyway), light still on. Please help.