Skip to main content
Announcements
Introducing a new Enhanced File Management feature in Qlik Cloud! GET THE DETAILS!
cancel
Showing results for 
Search instead for 
Did you mean: 
ntrivedi
Contributor
Contributor

Talend _tRest_Component Error

Hi,

When I trying to get data from Rest API through Postman we are getting the result.

But when I'm trying to get the results using tRest Component in Talend I'm not able to fetch the data.

Can you Please help me in resolve the issue.

Please find the below screenshots.

0693p00000AZAVkAAP.jpg0693p00000AZAVpAAP.jpg

Labels (6)
4 Replies
manodwhb
Champion II
Champion II

@Nilesh Trivedi​ , you need to check the what you are passing? I believe you were passing wrongly.

 

You can chock with API developer, when you hit api from talend what type of body passed and what is the meaning of error

 

Thanks,

Manohar

ntrivedi
Contributor
Contributor
Author

@manohar Thanks for your response.

 

I have given the body message as Person Hub.content (Person hub table)

 

Pleas advise me

 

 

0693p00000AZAZNAA5.png

Anonymous
Not applicable

"Person.Hub.content" means you are passing the string value "Person.Hub.content", not the actual value from input flow, you should remove the double quotes, Person.Hub.content or (String)globalMap.get("Person.Hub.content")

 

For testing, have you tried to hard code the Body filed and check if it works?

 

ntrivedi
Contributor
Contributor
Author

@Shicong Hong​ I have tried with this also but still not working.

 

Error code is updating as null, But Body is empty and data is not loading into the output.

 

0693p00000AZAfHAAX.png