ISSUE with TREST data LOADING

Highlighted
Four Stars

ISSUE with TREST data LOADING

Dear Experts,

 

My job design looks like below. trestjson.png

I am extracting the data from oracle database and loading the data to Rest. Populating the JSON data with the help of TWriteJSONfield component.

in Tjava I am populating the Body of the trest like below.

String Body =(String)globalMap.get("row3.DEVICE_IDENTIFIER");

My Trest components configured like below.

trestscreen.png

 

I am getting the below error while running the job.

{"error_code":500,"message":"Internal Server Error"}|500

Please help to figure out where is the issue.

 

Thank You!

Best Regards,

Priya

Moderator

Re: ISSUE with TREST data LOADING

Hello,

It seems that you post a straight URL with no parameter, which will causes 500 error.

Does it work when you use trestclient instead?

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 GARNER 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

What’s New for Talend Summer ’19

Watch the recorded webinar!

Watch Now

Put Massive Amounts of Data to Work

Learn how to make your data more available, reduce costs and cut your build time

Watch Now

How OTTO Utilizes Big Data to Deliver Personalized Experiences

Read about OTTO's experiences with Big Data and Personalized Experiences

Blog

Talend Integration with Databricks

Take a look at this video about Talend Integration with Databricks

Watch Now