P1271 on a GM vehicle means the engine control module (ECM) has compared the two independent signal voltages from the accelerator pedal position (APP) sensor and found they do not agree within the expected margin. The ECM expects APP sensor 1 and sensor 2 to track each other in a predictable relationship, and this code sets when that correlation is lost.
Guidance is general and written for GM vehicles. Exact tests and values vary by model, so confirm the fault before replacing parts.
Get the app
Quick access from your home screen.