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

attempting to run 'ipfs publish' on the readonly api returns confusing error #2200

Closed
whyrusleeping opened this issue Jan 14, 2016 · 1 comment
Labels
help wanted Seeking public contribution on this issue kind/bug A bug in existing code (including security flaws)

Comments

@whyrusleeping
Copy link
Member

i accidentaly made a call to 'ipfs publish' against the ipfs.io gateways, and it took me a while to figure out that the gateway was returning me an error, and not my own local code:

This command can't be called directly. Try one of its subcommands.

We should probably return something like "no such command" or "command not available on this api" or something

@whyrusleeping whyrusleeping added the kind/bug A bug in existing code (including security flaws) label Jan 14, 2016
@whyrusleeping whyrusleeping added the help wanted Seeking public contribution on this issue label Aug 19, 2016
@magik6k
Copy link
Member

magik6k commented May 14, 2019

Seems to be fixed:

$ ipfs name publish /ipfs/QmS4ustL54uo8FzR9455qaxZwuMiUhyvMcX9Ba8nUH4uVv --api=/dns4/ipfs.io/tcp/80
Error: Command not found.

@magik6k magik6k closed this as completed May 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Seeking public contribution on this issue kind/bug A bug in existing code (including security flaws)
Projects
None yet
Development

No branches or pull requests

2 participants