Closed ProgramCpp closed 1 year ago
Describe the bug pinning a cid returns internal server error
500 Internal Server Error (Internal Server Error: cid too short ex: bafybeiackdoiqj3o2hvgr4joxcpqe3dtt4nttrfcsopb7dzv65khy2vodm
To Reproduce Steps to reproduce the behavior:
POST /content/add-ipfs
{ "root" : "cid", "name": "file-name" }
Expected behavior no error must be returned. pinning must be successful
Actual behavior returns 500 internal error
Additional context
fixed by modifying the request payload to,
{ "cid" : "cid", "name": "file-name" }
Describe the bug pinning a cid returns internal server error
To Reproduce Steps to reproduce the behavior:
POST /content/add-ipfs
Expected behavior no error must be returned. pinning must be successful
Actual behavior returns 500 internal error
Additional context