BookatlasTwo-Day MuleSoft → Salesforce Bootcamp
363 / 1048 · Module 9 — API-Led Architecture← prev⊞ allnext →

9.18Error normalization at System API boundary

Salesforce might return:

SALESFORCE:INVALID_INPUT

The System API could translate it into:

APP:CUSTOMER_VALIDATION_ERROR

or standardized response:

{
  "code": "CUSTOMER_INVALID"
}

Then Process API doesn't need Salesforce-specific error knowledge.

Again:

backend semantics
↓
normalized system boundary