fault codesp0340 andp1397 on 2000 BMW 323Ci

Ijust got codepo34,andp1397,which says camshaft position sensorcircuit malfunctioned,how is this fixed

Get Your Car Fixed at a RepairPal Certified Shop.
We certify shops based on expertise, quality work, and verified customer reviews
1 answer
Hello,
Were you able to get this issue resolved? If so, what did it take?
Thanks!