What was the code you reset?
Could just be a broken level sensor linkage, or the wire going to the sensor or the sensor itself.
Should have good 5V feed and good earth going to the sensor.
Do a volt drop or scope the wires with reference voltage from battery terminals.
Check the output signal varies when moving the arm.
Dead short sensors will ground the 5v so also check the live and earth with the plug disconnected if you don’t have voltage when back probing, if you now have 5v, the sensor is dead most likely.
My car had a rusted ball joint on the link arm which had seized, the sensor was fine but TPS could only supply the linkage with a new sensor, I just swapped out the linkage and kept the new sensor for when the old one fails.