Skip to content

Unable to validate parameter due to ["should be string"] #50

@GooGliko

Description

@GooGliko

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions