The oil level sensor will not generate a code until it experiences a full short circuit.
If it fails to accurately interpret its data and generate the appropriate signal (basically producing a different signal based on the oil level), it will provide anomalous results.
Do not disregard that it is susceptible to oil and is electrical; it will ultimately deteriorate, and oil may infiltrate its inside.
I had a similar issue with a cam sensor that exhibited no error codes; yet, the signal quality was poor when analyzed with an oscilloscope. Upon removal, I discovered a hairline fracture on the component.
You lack a dipstick, making this your only method for verifying the oil level, unless you do the change yourself and are certain that all prior oil has completely drained.
Simply replace the sensor.