Skip to content

Show reason while unable to unpin a CID #2260

@sadiq1971

Description

@sadiq1971

Describe the bug
There is a certain scenario where user cannot unpin a cid even if the status is pinned.
From the api the error message is being returned is this cid is being pinned to another ipfs node, cannot update until the operation is finished with HTTP status code as Forbidden.
So, from the UI when user click on unpin, nothing happen until you open the inspection on browser.

To Reproduce
Steps to reproduce the behavior:

  1. Go to the storage
  2. Pin a CID
  3. Wait until the status is pinned.
  4. Open the inspect element and try to unpin the cide

Expected behavior
A proper message should be shown on the UI that is being returned from the API

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue: Bug 🐛Added to issues relating to a critical severity bugs.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions