Skip to content

Error: No resolver found for codec "dag-json" (and dag-cbor) #1923

Closed
@ben221199

Description

@ben221199
  • OS: Windows
  • Version of IPFS Desktop: 0.20.5

Describe the bug
Not all codecs supported by the IPFS command-line are supported by IPFS desktop. See screenshot. It only shows dag-json but also json and some other codecs show the same error.

When making a CID using ipfs dag put someData.json --store-codec=dag-json, I get a CIDv1. Strange enough, dag-json is not in the list of ipfs cid codecs, but supported by ipfs dag put. When copying the received CID to IPFS Desktop, I get error from the screenshot that there is no resolver found for the codec.

To Reproduce
Steps to reproduce the behavior:

  1. ipfs cid codecs
  2. notepad someData.json and add some JSON data
  3. ipfs dag put someData.json --store-codec=dag-json
  4. Copy the received CID to IPFS Desktop and inspect it.
  5. See error

Expected behavior
IPFS Desktop recognises that the CID is dag-json, so it should also view information about the content.

Screenshots
image

Additional context
None.

Metadata

Metadata

Assignees

Labels

P1High: Likely tackled by core team if no one steps uparea/screen/exploreIssues related to IPLS Explorer screenarea/screen/filesIssues related to Files screenkind/bugA bug in existing code (including security flaws)status/blockedUnable to be worked further until needs are met

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions