The sensor in the up pipe is not an o2 sensor, it's a temperature sensor. The plug for it is on the driver side of the engine bay, if it is a decat one, you can put a resistor in the plug to remove the cel as Scooby1972 has said. There is an o2 sensor in the headers just before the up pipe, plug is in the same place