Technical Description of OBD-II Trouble Code
The O2 Sensor Signal is Biased or Stuck Rich in Bank 1 Sensor 2.
What does that mean?
This is a generic powertrain code that applies to all OBD-II equipped vehicles manufactured from 1996 onwards. This code can be found in various auto brands such as VW, Honda, Dodge, Hyundai, Ford, GMC, Acura, etc. However, the specific troubleshooting steps may vary depending on the vehicle.
The P2271 diagnostic trouble code (DTC) refers to the oxygen (O2) sensor located after the catalytic converter on bank #1, sensor #2. This sensor is responsible for monitoring the efficiency of the catalytic converter, which is designed to reduce emissions. When the PCM detects that the signal from the O2 sensor is stuck or biased towards a rich air-fuel mixture, it sets this DTC.
The P2271 DTC specifically refers to sensor #2 located downstream of the catalytic converter on bank #1. Bank #1 refers to the side of the engine that contains cylinder #1. If there is a third sensor located downstream and it is causing the issue, a P2275 DTC will be set.
In simple terms, this code indicates that the particular oxygen sensor is detecting a rich air-fuel mixture, meaning there is too little air in the exhaust.
A typical oxygen O2 sensor:

Symptoms
You will most likely not experience any drivability issues since this is not sensor #1. However, you may notice that the Malfunction Indicator Lamp (MIL) is illuminated. In some cases, the engine may run rough.
Potential Causes
The possible causes for this DTC include:
Diagnostic and Repair Procedures
Inspect the wiring and connectors visually for any signs of corrosion, rubbed/chafed/bent wires, loose/bent wiring pins, burnt appearance, or crossed wires. Repair or replace as necessary.
Check for exhaust leaks or any other problems and repair them as necessary.
Using a digital volt ohm meter (DVOM) set to ohms, check the resistance of the harness connectors. Compare the readings to the manufacturer’s specifications and replace or repair as required.
If you have access to an advanced scan tool, use it to monitor the sensor readings as viewed by the PCM while the engine is running at normal operating temperature in closed loop mode. The rear heated oxygen sensor (HO2S) should normally show a fluctuating voltage between 0 and 1 volt. However, for this DTC, you will likely see the voltage “stuck” at 1V. Revving the engine should cause the sensor’s voltage to change/react.
The most common fixes for this DTC are usually an exhaust air leak, a wiring problem with the sensor/wiring, or a faulty sensor itself. If you decide to replace the O2 sensor, it is recommended to purchase an OEM one (manufacturer brand) for best results.
If you remove the HO2S oxygen sensor, inspect it for any contamination from fuel, engine oil, or coolant.
Other troubleshooting ideas include using a fuel pressure tester to check the fuel pressure at the Schrader valve on the fuel rail, inspecting the purge solenoid valve, inspecting the fuel injectors, and inspecting the coolant passages for leaks.