[ERROR CODE: -1] Incorrect Content-Length field: Actual Content-Length: 0Issue Sometime the following error happens between ServiceNow instance and the end point making an API call: "[ERROR CODE: -1] Incorrect Content-Length field: Acutal Content-Length: 0"ReleaseAll releasesCausethe error is thrown for the following reason: * If content length is set and greater than 0 will throw an InvalidContentLengthException if content length does not * match the number of bytes in stream. * * From Http spec: (https://www.w3.org/Protocols/rfc2616/rfc2616-sec4.html#sec4.4) * * 3.If a Content-Length header field (section 14.13) is present, its decimal value in OCTETs represents * both the entity-length and the transfer-length. The Content-Length header field MUST NOT be sent if these two * lengths are different.ResolutionCheck to see if you are sending the content-length in the header when you make the API call. If you do, please remove it and then try again.