Skip to main content
Announcements
Accelerate Your Success: Fuel your data and AI journey with the right services, delivered by our experts. Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
kl5
Partner - Contributor
Partner - Contributor

Logging of error data records when Trest Client rejects them

Hey there

I am currently working on an Migration from a DB to an ERP System via Rest API.

I would like to implement a Error handling that says:

The Datasets (JSON) that are not accepted by the REST API should be logged in a file.
Reason for not accepting is the data quality (invalid phone number, invalid email etc.)
With Talend Error handling I get the cause why the API does not accept the record (Invalid phone number etc.) but not the correspondig Datasets.

Again I want to logg the incorrect JSON, not just the Error message.

I tried several approaches with tjava and thash. Nothing worked really well so far.

My basic Job structure:
tDBInput - tmap - twriteJSON - tRESTClient

 

Has anyone done this before or has an approach that could work?

Talend Data Integration 

 

Labels (2)
0 Replies