- Newest
- Most votes
- Most comments
Based on the error messages you provided, you may have a misconfigured connection profile that is causing these errors. Since you are able to invoke/query from the CLI, but not programmatically, please check the following:
- ensure you have the correct signing key / public cert in place when creating a wallet in the SDK.
- ensure you have added the root TLS cert chain to the common connection profile.
- ensure you have defined the endpoint(s) correctly in the connection profile.
To find examples of these, I would encourage you to check the “Invoking chaincode via API” portion of the workshop I have linked below. I would also encourage you to check that you have set up your Fabric client and client instance by going over the “Set up a Fabric Client” and the “Configure client instance” sections of the same workshop below.
https://catalog.us-east-1.prod.workshops.aws/workshops/008da2cb-8454-42d0-877b-bc290bff7fcf/en-US
To check you have configured your channel correctly view either one of these links from below:
Relevant content
- asked 10 months ago
- asked 10 months ago
- How do I monitor my transit gateway and Site-to-Site VPN on a transit gateway using Network Manager?AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 9 months ago
- AWS OFFICIALUpdated 2 years ago