Make a picture of the actual board too. With clearly visible parts orientation. Showing the intended schematic is one thing. But the actual setup contains the error that we need to find!
it behaves in a diode fashion blocking current in one direction and not in the other.
But beware, in several respects (e.g. specifications or electrical characteristics) its a poor diode.
The reverse breakdown voltage is much lower than normal diodes, you might see breakdown at 15 or 20 volts or even less. Also the reverse leakage is much higher,
The safe forward current is limited, to the diode continuous operating currents around 10, 20, 30 mA and it will light up. This might be OK for small signal applications but not power rectifiers which can be 10’s of amps.
And the forward voltage drop is quite a bit larger, usually 2 V or up to 3V instead of 0.7. Making a much less than ideal diode.