ipfs-check icon indicating copy to clipboard operation
ipfs-check copied to clipboard

Improve error when a mutliaddr without peer ID is passed

Open 2color opened this issue 5 months ago • 0 comments

UX Problem

Passing a multiaddr without a peer ID will yield the following error:

⚠️ backend returned an error: 500 invalid p2p multiaddr

For example: Screenshot 2024-09-06 at 12 36 47 PM

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.

2color avatar Sep 06 '24 10:09 2color