I am have implemented everything correctly and now trying to work some examples, I am making request and getting this error
2020-10-26T21:32:35.962Z - warn: [DiscoveryEndorsementHandler]: _build_endorse_group_member >> G0:0 - endorsement failed - Error: error in simulation: transaction returned with failure: Error: Unable to validate parameter due to ["should be string"] Failed to submit transaction: Error: Endorsement has failed after network.invoke Error: Endorsement has failed
Idk why this happening, I successfully generated wallet for app-admin,
my config.json
also when I made app-admin user in CA I added attributes also.
So I think problem is in contracts, I have tried to generate contracts correctly from VS code but exactly can't understand how to export, can someone link me correct way to export contracts correctly to upload on IBM platform later?
also getting this if helps someone
2020-10-26T22:46:55.964Z - error: [Channel.js]: Channel:channel1 received discovery error:failed constructing descriptor for chaincodes:<name:"_lifecycle" >
Hello,
I am have implemented everything correctly and now trying to work some examples, I am making request and getting this error
2020-10-26T21:32:35.962Z - warn: [DiscoveryEndorsementHandler]: _build_endorse_group_member >> G0:0 - endorsement failed - Error: error in simulation: transaction returned with failure: Error: Unable to validate parameter due to ["should be string"] Failed to submit transaction: Error: Endorsement has failed after network.invoke Error: Endorsement has failed
Idk why this happening, I successfully generated wallet for app-admin, my config.json
{ "connection_file": "ibpConnection.json", "appAdmin": "app-admin", "appAdminSecret": "secret", "orgMSPID": "org1msp", "caName": "https://{secretCname}", "userName": "V1", "gatewayDiscovery": { "enabled": true, "asLocalhost": false } }
also when I made app-admin user in CA I added attributes also. So I think problem is in contracts, I have tried to generate contracts correctly from VS code but exactly can't understand how to export, can someone link me correct way to export contracts correctly to upload on IBM platform later?