ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 26 - Certified MuleSoft Developer II discussion

Report
Export

The HTTP Request operation raises an HTTP CONNECTIVITY error.

Which HTTP status code and body are returned to the web client?

A.
HTTP Status Code:200. Body 'Error in processing your request
Answers
A.
HTTP Status Code:200. Body 'Error in processing your request
B.
HTTP Status Code:500. Body 'The HTTP CONNECTIVITY Error description
Answers
B.
HTTP Status Code:500. Body 'The HTTP CONNECTIVITY Error description
C.
HTTP Status Code:500. Body 'Error in processing your request
Answers
C.
HTTP Status Code:500. Body 'Error in processing your request
D.
HTTP Status Code:500. Body 'Error in processing your request
Answers
D.
HTTP Status Code:500. Body 'Error in processing your request
Suggested answer: C

Explanation:

When the HTTP Request operation raises an HTTP CONNECTIVITY error, it triggers an on-error-continue handler that sets a payload with 'Error in processing your request'. Since no status code is explicitly set in this handler, it defaults to 500 (INTERNAL SERVER ERROR). Therefore, the web client receives an HTTP response with status code 500 and body 'Error in processing your request'.

Reference: https://docs.mulesoft.com/mule-runtime/4.3/error-handling#on-error-continue

asked 23/09/2024
jonathan siu
41 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first