ipfs / ipfs-check

A tool for checking the accessibility of your data by IPFS peers
https://check.ipfs.network
Other
40 stars 14 forks source link

Improve error when a mutliaddr without peer ID is passed #64

Open 2color opened 2 months ago

2color commented 2 months ago

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.