We agreed that given the resource of the HTTP request is the Status Attestation, it's ok to consider any issue related to the Credential as a bad request. Hence, requesting a Status Attestation for a revoked Credential is not different from mistyping one parameter.
Error codes are there to provide hints to clients so they can trace errors and decide to inform Users accordingly, but they add no semantics to the response itself.
Me and @fmarino-ipzs had further discussion on https://github.com/italia/eudi-wallet-it-docs/pull/143#pullrequestreview-1906853023
We agreed that given the resource of the HTTP request is the Status Attestation, it's ok to consider any issue related to the Credential as a bad request. Hence, requesting a Status Attestation for a revoked Credential is not different from mistyping one parameter.
Error codes are there to provide hints to clients so they can trace errors and decide to inform Users accordingly, but they add no semantics to the response itself.
Originally posted by @balanza in https://github.com/italia/eudi-wallet-it-docs/issues/143#issuecomment-1972848211