Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi All,
I have been doing data work for about 20 years now, but I am VERY new to Talend.
I have setup a tRESTClient for pulling data from Zendesk.
When I run the job it says it is getting a return code of 200 (which is good), but no results returned.
That doesn't make any sense because when I run the same query in Postman I get several hundred results.
So I am trying to troubleshoot this and I would like to know how I can see the URL that the tRESTClient is generating and using to make the API call.
Any idea where that is?
Thanks.
Your URL looks wrong......but that is not causing the compilation error. You have "external_id:none" instead of "external_id=none". A colon is used instead of an equals symbol.
Your compilation error is caused (I believe) by the "Relative Path" being empty. I know I said to remove it, but I meant to replace it with an empty String (""). This is what it will have in an unconfigured component. Sorry, that was my fault.
Ah, thanks for clearing that up.
The Zendesk documentation explicitly states that a colon should be used when looking for "none" or null values. They also specify using the colon for other things as well.
https://support.zendesk.com/hc/en-us/articles/203663226
Woohoo! That did it though! I am now getting data.
Now I just have to figure out how to process it....back to the tutorials.
THANK YOU VERY MUCH for your help in getting the API connection to work. I really appreciate it.
Craig
No problem. Web services can be really tricky sometimes, even when you've spent ages working with them. It turns out that everyone who implements services does it in a slightly different way and documents them in completely different ways.....well that may be an exaggeration, but it certainly feels like it sometimes 😉