Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error While uploading Chaincode #598

Open
Rushi-Kumar opened this issue Mar 1, 2024 · 1 comment
Open

Error While uploading Chaincode #598

Rushi-Kumar opened this issue Mar 1, 2024 · 1 comment
Assignees
Labels

Comments

@Rushi-Kumar
Copy link

Rushi-Kumar commented Mar 1, 2024

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

@xiaor2
Copy link
Member

xiaor2 commented Apr 8, 2024

#609 caused this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants