Details
-
Type:
Improvement
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 2.13.4, 2.14.2, 2.15.0
-
Component/s: camel-salesforce
-
Labels:
-
Estimated Complexity:Unknown
Description
Salesforce returns a list of matching records for non-unique external id with a status code 300. The component looks for List<RestError> by default, which causes a parse exception for 300.
The error handling code should check for an empty response body and use the status line as the exception message if its missing or empty.