DHT22 AM2302 sensor doesn't work in nodered

Hello I bought and tested a new sensor DHT22 (a branded one) and now it works fine. So my problem was the sensor.
I suggest to buy brended sensors and not generic unbrended sensors and of course to use the good node-red-contrib-dht-sensor.
Thanks to gerry and zenofmud for your suggestions