Actually, it was not a big problem adding key and value. Once the problem was identified it was a very easy fix.
Could the problem be remnants from the previous MQTT installation.
I did try two ratgdos, thinking one was bad, installed in two different slots. neither did the trick.
Things are working very well.
Thank You