Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
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?