Skip to content

INTERNAL_ERROR not defined in W3C DID vocabulary #931

Description

@djscruggs

Summary

The HTTPS Binding spec references INTERNAL_ERROR as a valid DID resolution error type, but the URI https://www.w3.org/ns/did#INTERNAL_ERROR is not defined in the W3C DID vocabulary document at https://www.w3.org/ns/did.

Impact

Implementations that return RFC 9457-style error objects with "type": "https://www.w3.org/ns/did#INTERNAL_ERROR" are using an undefined URI, which breaks the linked data contract.

Suggested fix

Add INTERNAL_ERROR to the vocabulary document alongside the other defined error types (INVALID_DID, NOT_FOUND, METHOD_NOT_SUPPORTED, etc.).

Context

Found while implementing the HTTPS Binding in digitalbazaar/did-resolver.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions