Skip to content

Misusing instance field in the problem description of the error response #48

@greylurk

Description

@greylurk

After re-reading RFC-7807 and pondering deeply the purpose of the Instance field, it appears that this spec is misusing the "instance" field pretty drastically. RFC 7807 describes instance as "A URI reference that identifies the specific occurrence of the problem. It may or may not yield further information if dereferenced." It also identifies the "instance" field as an optional field, not required.

This indicates that the URI contained in the "instance" field should point not at the URI where the error occurred, but rather to a URI which identifies the specific error that occurred. If we're planning on requiring the instance field on SPS applications, we should think deeply about if and how we want to surface the further information that may be present at the URI referenced in the instance field.

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