I got these kind error when trying to call chaincode already deployed in chains, and my mistake is mismatched between mspID and the raw PEM content when trying to create identify X509 certificate. please double check your mspID and your PEM content.