what causes acc/err display followed by dead batteery? on 2006 Subaru Outback

Rookie cbe0621eac06868b3efe0d8d1d3611e23c60d3114864ea2ec19a68cfbd3eebab
Err is displayed when driver door is closed. Acc is displayed when driver door is open. Battery fully drains after about two weeks. What is the fix? Just bought the wagon and can't live with the unreliability
(2) Answers
You have a current draw draining battery. Like leaving headlights on when park car. Need to take to shop and have them locate the circuit causing draw and fix.
I have the exact same thing. 2006 outback. Nothing on inside (lights) causing the power drain.