interesting that both left/right came up.
quick first check might be to look at the oil level. the cam position sensors are oil pressure operated. very low oil level could cause that.
while you're checking the oil, look for any glitter in the oil, just in case there was some failure that clogged up both screens going to the oil control valves (hope not!)
maybe then start taking off front covers to check that the timing belt hasn't slipped a tooth or two. is your timing belt overdue for replacement?
seems like a wide range of issues can cause these errors.