Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
My query is defined :
context.query = ("{\"query\":\"query { psr { product_simples ( merchant_ids: [\"marchent_id\"],product_simple_ids: [\"product_simple\"]) { ean , merchant_product_simple_id,product_simple_id , offers { stock { amount } country { code } status_detail_codes fulfillment_type } } }\n}\"}"
) ;
In Postman am getting the right response but when using talend im getting this error :
|errorCode|errorMessage | |=--------+
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------=|
|400 |{ "title": "Bad Request", "flow_id": "87GqcP1m9KGiNO2A", "detail": "Unexpected token b in JSON at position 58", "contact": "zdirect-tech-support@zalando.de", "
code": 400 }|
To explain more im passing this "context.query"(String) into a json field (tRESTclient) .
My job is as such :
Greetings .
I've found an easy solution and it's to pass the query in a tREST .
I'm passing this topic to solved ! .
Thanks
Hi manodwhb , it's the same yes .
I've already print my payload .
And im getting the error .
"detail": "Unexpected token b in JSON at position 58",
here is my header
here is my body
and my tfixedflowinput