tXMLMap java.lang.RuntimeException: row2.body can't be empty

Four Stars

tXMLMap java.lang.RuntimeException: row2.body can't be empty

Hey guys,

i am currently using Talend Studio Open Studio 7.1 and i am trying to make this JOB
i want to get data from a REST API using tRESTClient, the REST API send a JSON file as a response, this is my job and how it looks like ( look at the pictures )

so the problem that when i tried to execute the JOB a get this error message : ( look at the pictures )
Can someone please help me to fix this issue

Moderator

Re: tXMLMap java.lang.RuntimeException: row2.body can't be empty

Hello,

Is your data coming back in the String column and not the Body column? Could you please select 'covert response to dom document' checkbox in advanced settings to see if this data gets transferred?

Best regards

Sabrina

 

--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.

2019 GARTNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

Best Practices for Using Context Variables with Talend – Part 2

Part 2 of a series on Context Variables

Blog

Best Practices for Using Context Variables with Talend – Part 1

Learn how to do cool things with Context Variables

Blog

Best Practices for Using Context Variables with Talend – Part 3

Read about some useful Context Variable ideas

Blog