Skip to content

Deferred Credential Error represents non-error cases #226

@decentralgabe

Description

@decentralgabe

The Deferred Credential Error Response is used for two primary cases: issuance_pending and invalid_transaction_id. Functionally, there is a distinction between:

  1. A valid request where the issuance is not yet completed (issuance_pending)
  2. An invalid request where the server cannot response (invalid_transaction_id)

The text points to section 7.3.1.2. which states:

HTTP response MUST use the HTTP status code 400 (Bad Request)

This is not an ideal practice, since in the case of (1) above (a valid request) we are requiring a 400 which signifies a Bad Request.

Instead it would be preferable to send a 200 with a response stating issuance_pending.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions