P1871 on GM vehicles means the transmission control module (TCM) has calculated an undefined or implausible gear ratio from the input and output speed sensors, so it cannot confirm which gear the transmission is actually in. The computer compares expected ratio against measured ratio and flags the code when the calculated value falls outside every programmed gear ratio for a set time.
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.