Log or output each tHttpRequest with variable

Four Stars

Log or output each tHttpRequest with variable

Hi

I am troubleshooting a small job with tHttpRequest performing multiple post actions from a list extracted from our active directory. 

 

I am receiving an error message in the execution console:

400 Bad Request
{"error":{"message":"(#100) Please enter a valid email address.","type":"OAuthException","code":100,"site_id":"E6IUnY\/XXX"}}" 

 

I have probably configured my parameter wrong with the post operation.
How can I setup a verbose output so I can see all my post operations? 

 

This is the URL: "https://graph.facebook.com/GROUP_ID/members?email=+mail"

Is this the correct way to use a variable? +mail? 

Screen Shot 06-05-17 at 04.29 PM.PNG

 

Fifteen Stars TRF
Fifteen Stars

Re: Log or output each tHttpRequest with variable

Regarding the syntax, it should be better with:
"https://graph.facebook.com/GROUP_ID/members?email="+row2.mail
I suppose mail is a field of row2 flow.

TRF
Four Stars

Re: Log or output each tHttpRequest with variable

Great, thank you very much!

I though I was using the latest transformed value of mail since I am URL encoding it with tReplace.

 

But the question still remains, how can I somehow see or output a log for each tHttpRequest? 

 

The option "Write response content to file" only outputs successful responses. 

2019 GARNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

What’s New for Talend Summer ’19

Watch the recorded webinar!

Watch Now

Best Practices for Using Context Variables with Talend – Part 4

Pick up some tips and tricks with Context Variables

Blog

How Media Organizations Achieved Success with Data Integration

Learn how media organizations have achieved success with Data Integration

Read

Definitive Guide to Data Quality

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

Download