Exam Salesforce-MuleSoft-Developer-I Topic 3 Question 230 Discussion

Actual exam question for Salesforce's Salesforce-MuleSoft-Developer-I exam
Question #: 230
Topic #: 3
Refer to the exhibits.


A web client submits a request to the HTTP Listener and the HTTP Request throws an error.
What payload and status code are returned to the web client?
Refer to the exhibits. A web client submits a request to the HTTP Listener and the HTTP Request throws an error.
What payload and status code are returned to the web client?

Suggested Answer: A Vote an answer

Correct Answer: Response body: "Error" Default response status code: 200.
-------------------------------------------------------------------------------------------------------------------------------------------------
1) Payload is successfully set to "Success - Started Flow"
2) When HTTP Request throws an error, execution halts
#[error.description] = "ABC"
#[error.errorType] = "XYZ"
3) The On Error Continue scope handles the error. When On Error Continue scope is invoked, all the processors in error block are executed and success response is sent back to the client with payload which is set in error flow. In this case payload is set to "Error" value in error block.
4) "Error" is returned to the requestor in the body of the HTTP request with HTTP Status Code: 200 as On error continue always sends success error code.
Reference Diagram:

by tala at Oct 06, 2024, 06:52 AM

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
Nick name: Submit Cancel
tala
2024-10-06 06:52:28
Selected Answer: D
this is on error continue. the answer is D
upvoted 1 times
...
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

Contact Us

If you have any question please leave me your email address, we will reply and send email to you in 12 hours.

Our Working Time: ( GMT 0:00-15:00 ) From Monday to Saturday

Support: Contact now 

日本語 Deutsch 繁体中文 한국어