Mi-connector not getting token

Hi. I finally got my Mi connector setup with my xiaomi gateway. I was able to add a motion sensor and that was auto discovered in Hubitat as a device. However when I try to add either a mi or Aqara door and window sensor, although I see the sensor in the mi connect app the log says that the token was not found and it is not added to Hubitat.
Does anyone have any advice please?
I did try to use the windows token getter mentioned on Home assistant forums but that only returns the token for my gateway.

Thanks