ipfs-check
ipfs-check copied to clipboard
Improve error when a mutliaddr without peer ID is passed
UX Problem
Passing a multiaddr without a peer ID will yield the following error:
⚠️ backend returned an error: 500 invalid p2p multiaddr
For example:
Suggested solution
Either perform client side validation on the multiaddr and require a PeerID in the multiaddr or improve the error message from the backend.