Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
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.
@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
@manohar Thanks for your response.
I have given the body message as Person Hub.content (Person hub table)
Pleas advise me
"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?
@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.