Announcement Announcement Module
No announcement yet.
Invalid response code 411 (Length Required) Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • Invalid response code 411 (Length Required)

    I'm trying to make a connection to a SaaS app API, and OAuthConsumerContextFilter is throwing a OAuthRequestFailedException exception with a response code of 411. Is the Content-Length supposed to be added automatically or do I need to calculate and set it manually? If so, how can I do that?

    Thanks in advance for any help.
    Last edited by williamspc; Jul 11th, 2011, 04:03 PM.

  • #2
    Content-Length isn't normally added and servers don't usually require it. You may need to verify that the problem isn't on the server-side.