Measure the resistance between intake camshaft position sensor connector and engine ground.
Connector & terminal
(E35) No. 2 — Engine ground:
Is the resistance 1 MΩ or more?
Repair short circuit to ground in harness between ECM and intake camshaft position sensor connector.