Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
See why IDC MarketScape names Qlik a 2025 Leader! Read more
cancel
Showing results for 
Search instead for 
Did you mean: 
spremkumar
Contributor II
Contributor II

tRESTClient throwing 409 Exception

My tRESTClient is throwing a 409 exception error. My design is like tmap --> twritejsonfield --> trestclient

0693p00000AbN8TAAV.png

It's a call post tRestClient using twriteJsonField. Schema inside trestclient looks like

0693p00000AbN8dAAF.png

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

0693p00000AbN8iAAF.png

Am I missing something? Kindly let me know how can I overcome this error. Below is the trestclient config

Labels (4)
1 Solution

Accepted Solutions
spremkumar
Contributor II
Contributor II
Author

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

View solution in original post

2 Replies
root
Creator II
Creator II

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.

spremkumar
Contributor II
Contributor II
Author

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