Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
My tRESTClient is throwing a 409 exception error. My design is like tmap --> twritejsonfield --> trestclient
It's a call post tRestClient using twriteJsonField. Schema inside trestclient looks like
Request body looks like :
{
"ids": [
"uuid1", "uuid2"...
]
}
Request Method: Post
But As I run the job Im getting an below exception on trestclient component as below
Am I missing something? Kindly let me know how can I overcome this error. Below is the trestclient config
Actually, it worked. There was a problem in the format of the request body that was being sent to the trestclient. The twriteJson component creates xml tree
in format like
{
"ids": [
"uuid1",
"uuid2"
]
}
I was using some other format which threw me the above exception
Can you confirm if you are able to post the same data via another tool like postman or curl and see if the output is as expected? If not, definitely some issue with the server/ input data being sent.
Actually, it worked. There was a problem in the format of the request body that was being sent to the trestclient. The twriteJson component creates xml tree
in format like
{
"ids": [
"uuid1",
"uuid2"
]
}
I was using some other format which threw me the above exception