Rest query authentication

One Star

Rest query authentication

I  try to connect to a rest api via query authentication. 



I have  created a tRestClient to request the login. This query works fine. I then added a second tRestClient with the condition that if the first tRestClient works fine then start the second tRestClient. But the second tRestClient does not work.


Do you know how talend works with a query authentication?


Thanks in advance



Re: Rest query authentication


What's the error message you are getting when start the second tRestClient? Are you using onsubjobok connection type between your first tRestClient and the second?

Best regards


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

Re: Rest query authentication



Is this issue resolved for you or any workaround there ?


I am facing same issue when using two tREST calls. 

First tREST authorizing user call is succeeding with success result.

Second tREST call is not able to fetch expected results as first tREST call authorization is not passed to second tREST call.

There's no error message in Talend on the whole job but the XML output from second tREST says authorization failed.

I have added OnSubjobOk to link both tREST calls.


Appreciate suggestions on this.






What’s New for Talend Spring ’19

Watch the recorded webinar!

Watch Now

Agile Data lakes & Analytics

Accelerate your data lake projects with an agile approach


Definitive Guide to Data Quality

Create systems and workflow to manage clean data ingestion and data transformation.



Introduction to Talend Open Studio for Data Integration.