Skip to main content
Announcements
A fresh, new look for the Data Integration & Quality forums and navigation! Read more about what's changed.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

TRestClient KO (errror 500) vs PostMan (or SoapUi)

Hi all,
I'm using TRestClient with DELETE Method and it failed with a 500 error response message. When I do the same on PostMAn or SoapUi it works great.
Any Idea ?
Thanks.
Here is the full trace :
Address:
Http-Method: DELETE
Content-Type:
Headers: {Accept=, Authorization=}
--------------------------------------
: org.apache.cxf.interceptor.LoggingInInterceptor - Inbound Message
----------------------------
ID: 1
Response-Code: 500
Encoding: UTF-8
Content-Type: text/html; charset=utf-8
Headers: {connection=, Content-Length=, content-type=, Date=, Server=, Server-Time=}
Payload: <h1>Server Error (500)</h1>
Labels (4)
2 Replies
Anonymous
Not applicable
Author

Hi 
500 error indicates the server encountered an unexpected condition which prevented it from fulfilling the request, Maybe you don't configure correctly the parameters on tRestClient, we need more details to investigate this issue. can you please upload some screenshots of the component settings and show us an example how you call it on SOAPUI?
Best regards
Shong
Anonymous
Not applicable
Author

Hi @shong

I have the same issue when i use the post method,i want to send a json file to my api, i tried with the component Trest,Trestclient and TfileFetch but i get the error 500.

please find below the configuration of my Trest.

Thanks in advance0683p000009M6Er.png