P1287 on a BMW indicates that the engine control module (DME) has detected an electrical fault in the control circuit for the bank 2 switching solenoid that operates the air-assisted injection valves. The DME monitors the solenoid's current draw and expects a specific resistance range; when the circuit is open, shorted to ground, or shorted to power, it sets this code. This solenoid is part of the secondary air injection system that helps reduce cold-start emissions by introducing extra air into the exhaust.
You can generally continue driving with P1287, but avoid prolonged idling and cold-start short trips until repaired, as the fault may increase emissions and slightly affect cold-start performance. If the engine runs rough or enters limp mode, have it diagnosed promptly to prevent secondary damage.
Tools we recommend are in the Auto Veteran shop on Amazon. As an Amazon Associate we earn from qualifying purchases.
Guidance is general and written for BMW vehicles. Exact tests and values vary by model, so confirm the fault before replacing parts.
Get the app
Quick access from your home screen.