I'm trying to recreate the logic of a Node JS script in Talend. The script runs calls on GameAnalytics API. A screenshot is attached and the logic is:
Where I'm struggling is for the 3rd API call that uses 10 parameters (see a screenshot for the JS script and Postman setup). Both the script and Postman return data (an array of URLs) but Talend doesn't give anything. I checked the values passed as parameters and that I'm getting from the globalMap and they look good. When I take the same parameters used in Talend and use them in Postman, it works.
So is there anything I should set differently to make this job run? How different are the calls done with a tHttpRequest VS Node JS libraries and Postman?
Any help appreciated!
Why you decide - API does not work?
as I can see from attached screenshots - it tExtractJSON returns 0, but response contain data
may be an error just in parse JSON settings?
what is the response file after tReplicate?
So when I tested yesterday the file containing the response was empty, no rows. Now I've tested again and it contains what's shown in the attached picture. Not sure what this format is to be honest. Some kind of encoding?
Also I noticed the JS script was using a "gzip: true" parameter but I didn't specify anything except accepted encodings in the headers. Please see attached the tHttpRequest component parameters.
I'm not a huge Talend user so please forgive my lack of knowledge here
The first 100 community members completing the Open Studio survey win a $10 gift voucher.
Talend named a Leader.
Kickstart your first data integration and ETL projects.
Watch the recorded webinar!
Pick up some tips and tricks with Context Variables
Learn how media organizations have achieved success with Data Integration
Learn how and why companies are moving to the Cloud