cello icon indicating copy to clipboard operation
cello copied to clipboard

Error While uploading Chaincode

Open Rushi-Kumar opened this issue 1 year ago • 1 comments

Error While uploading chain code package

Expected Behavior

Should Upload the chain code package and appear in the list of chaincodes

Current Behavior

I am not able to upload more than 1MB size, due to the Nginx default client body size, I have changed it and rehosted the docker After which, it is throwing not found issue. I have checked the code, and there is a URL and Payload mismatch Dashboard is calling POST api/v1/chaincode/package the API path in api_engine POST api/v1/chaincodes/chaincodeRepo Dashboard Payload {chaincodeRepo: "file binary ", description:""} Expected Payload {file: "binary", description:""}

After correcting it is still throwing errors.

Screenshot 2024-03-01 at 6 03 24 AM

I am not sending a description at all but still, it is throwing the same error

Possible Solution

Steps to Reproduce

Creating Chain code

Rushi-Kumar avatar Mar 01 '24 01:03 Rushi-Kumar