Challengesch-59-wrap-system-api-error-as-problem-details-response
DataWeaveELEMENTARY
Wrap System API Error as Problem Details Response
When a downstream System API call fails, the raw Mule error must never reach the API consumer unprocessed. This challenge places you inside an on-error-continue handler where you transform a Mule error object into a standardized Problem Details response. The upstream Inventory API is not always reachable — some failures return a structured HTTP error body, others return nothing at all — so you must guard every conditionally present field before the response goes out.
error-handlingon-error-continuerest-api
Challenge Info
Access Tier
FREE
Est. Time
20MIN
XP Reward✦ 100
Points◆ 105
Status
Not enrolled
Author@patryk_bandurski
Rating
Community
No ratings yetIntegration Flow
Ctrl+scroll to zoom
Account required
Sign in to start this challenge
Create a free account or sign in to enroll and access the full challenge.
What you'll do
- Write DataWeave transformations in a live editor
- Validate your output against test cases
- Submit all test cases and get scored
Skills practiced
#error-handling#on-error-continue#rest-api