Archived 2022.11.20. Content moved to error scenarios and responses.
Question
Is an error payload expected for errors that return an HTTP Status code 401 Unauthorized?
Answer
If the 401 Unauthorized response is covered by an upstream normative standard, such as an oAuth token endpoint call, then the Data Holder (DH) should respond according to the normative standard.
If the 401 Unauthorized response is covered by a section of the CDS outside of normative standards implementation, then it should use the standard error response code and title and the ResponseErrorList structure where specified.
See:
Comments
0 comments
Please sign in to leave a comment.