Air Control Valve

We have a Subaru Forester 2000 which was having some problems with the acceleration in humid weather (not enough power, choking). The check engine is on, and the error code is 1311. We were told to change the air control valve. What do you think?

I presume that someone looked up the code and it came up “Air Control Valve”?

First. remove the valve and clean it and its electrical plug, and examine the air tubes for cracks. If you still get that computer code, then maybe it is really bad.