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.