-
-
Notifications
You must be signed in to change notification settings - Fork 3k
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
http://127.0.0.1:5001/api/v0/object/get not support CIDv1 ? #7384
Comments
Thank you for submitting your first issue to this repository! A maintainer will be here shortly to triage and review.
Finally, remember to use https://discuss.ipfs.io if you just need general support. |
yet the command line 'ipfs object get ' works. forget to say v0.5.1 on windows |
further testing shows that this is just a corner case not handled. I deliberately added a 0 length file using cid-version=1 which would cause the problem. If I turn off raw-leave at the same time, it is fine. So to summarize : cid-version=1&raw-leaves=true with empty file(0 length) would choke the object/get and a few other calls. I have turned raw-leaves=false for now. |
You're correct, the issue is with raw leaves. The I've filed an issue for fixing the documentation: #7396 |
this is what I get "expected protobuf dag node"
if I add using cid-version=1(getback the base32 hash) and feed to the api end point
The text was updated successfully, but these errors were encountered: