I'm trying to read a particular characteristic. And it is failing to read the value of characteristics. If I try to connect it using nRFConnect, it is properly reading the value.
Yes found the answer. The issue was with the BLE Device. Even in nRFConnect the same error was printed in the log. This happened when we discover descriptors for a particular characteristic. Hopefully the log from nRFConnect saved me :)
When I tried to switch off and switch on the BLE Device or Remove the battery and re-insert it again the problem was solved. :)