Uploaded image for project: 'Fabric'
  1. Fabric
  2. FAB-13834

Facing error "Error: error parsing transient string: illegal base64 data at input byte 0 - proposal response: <nil>", while passing private data using -- transient flag

    XMLWordPrintable

Details

    • Task
    • Status: Closed
    • Medium
    • Resolution: Duplicate
    • None
    • None
    • None

    Description

      I used byfn network and deployed the latest private chaincode(which includes patch0 as suggested in the link https://jira.hyperledger.org/browse/FAB-10231)

      while tring to invoke chaincode using the --transient flag getting the error "Error: error parsing transient string: illegal base64 data at input byte 0 - proposal response: <nil>"

       

      Second case i just tried to add the "tMap, err := stub.GetTransient()" to my mycc chaincode and tried to extract as followed in the link https://jira.hyperledger.org/browse/FAB-10231.

      i can able start the network while invoking the chaincode i am facing the same above mentioned error "Error: error parsing transient string: illegal base64 data at input byte 0 - proposal response: <nil>"

       

      Can someone please guide how to use transient flag to post transaction with private data using --transient flag. If you are sharing sample chaincode and steps that will be so much helpful.

       

      Thanks

      Kumar M

      Attachments

        Issue Links

          Activity

            People

              nfrunza Nik Frunza
              kmohanar1 Kumar Mohanaraman
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 1 hour Original Estimate - 1 hour
                  1h
                  Remaining:
                  Remaining Estimate - 4 hours
                  4h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified