MCD-LEVEL-1 · Question #14
Refer to the exhibit. The main flow is configured with their error handlers. A web client submit a request to the HTTP Listener and the HTTP Request throws an HTTP:NOT_FOUND error. What response…
The correct answer is A. APP: API RESOURCE NOT FOUND. Correct answer is APP: API RESOURCE NOT FOUND -------------------------------------------------------------------------------------------------------------------------------------- 1) A web client submits the request to the HTTP Listener. 2) The HTTP Request throws an…
Question
Refer to the exhibit. The main flow is configured with their error handlers. A web client submit a request to the HTTP Listener and the HTTP Request throws an HTTP:NOT_FOUND error. What response message is returned?’’ What response message is returned?
Exhibit
Options
- AAPP: API RESOURCE NOT FOUND
- BHTTP: NOT FOUND
- Cother error
- Dsuccess - main flow
How the community answered
(49 responses)- A84% (41)
- B10% (5)
- C2% (1)
- D4% (2)
Explanation
Correct answer is APP: API RESOURCE NOT FOUND -------------------------------------------------------------------------------------------------------------------------------------- 1) A web client submits the request to the HTTP Listener. 2) The HTTP Request throws an "HTTP:NOT_FOUND" error, execution halts. 3) The On Error Propagate error Handler handles the error. In this case ,HTTP:NOT_FOUND error is mapped to custom error APP:API_RESOURCE_NOT_FOUND. This error processor sets payload to APP:API_RESOURCE_NOT_FOUND. 4) "APP:API_RESOURCE_NOT_FOUND. " is the error message returned to the requestor in the body of the HTTP request with HTTP Status Code: 500
Topics
Community Discussion
No community discussion yet for this question.
