Error : the index 'mqtt' does not exist


I have connected a new device and reused the same agent and device code from already working device.And i receive agent error only in the newly configured device. Can anyone help ?

[Agent]|ERROR: the index ‘isConnected’ does not exist
[Agent]|ERROR: in _send agent_code:89|
[Agent]|ERROR: from _dataHandler agent_code:288|
[Agent]|ERROR: from _onDataReceived …p#messagemanager.lib.nut#2.2.1:782


Try upgrading to MessageManager 2.3.0?


Your subject line doesn’t match up with the content of your message?


I figured out the issue. I have the issue with the AzureHub library. My device agent have to be migrated to mqtt. Thanks for your help.