Failed with OSStatus code -6764 (kCountErr)

I am trying to run the HomeKit Certification assistant.

When I tried to Start Pairing I am getting "Failed with OSStatus code -6764 (kCountErr)" before even entering the paring code.


I have been running the same device many times for testing. But suddenly I am getting this error and now I can't proceed testing.