Skip to main content
Announcements
Global Transformation Awards! Applications are now open. Submit Entry
cancel
Showing results for 
Search instead for 
Did you mean: 
_AnonymousUser
Specialist III
Specialist III

[resolved] 411 Length Required Exception in tRestClient Component

Hi All,
I got an error while sending a post request using tRestClient with the content-type and accept type are application/json.But when I try to send the same request with tRest component it's working fine.what could be the reason why I'm not able do the same request with the tRestClient component?
Because in tRest component I only get the error code but with the tRestClient component I also get error message including error code.So I can handle the exceptions very easily.
I tried with and wthout Content-Length header and in both the cases getting the same exception.
Attached the screen shot for your reference.
Can any one please help me on this?

Out bound message on console :


In bound message on console :


Thanks
Sayagoud Ravelly
Labels (4)
11 Replies
ChaitraCP
Contributor
Contributor

Im facing same issue. Is there any resolution for this.

S1660598179
Contributor II
Contributor II

I am facing same issue. Is there any work around to avoid content length error? It is throwing content length must be specified.