Problem
If you have the following error message in the ZappySys REST API task or the JSON Source, this article is applicable:
Length required error 411
Description
The error asks for a content length it is a parameter that many APIs may require.
Solution
In order to solve the problem, set body with some dummy text (e.g httpRequest.ContentLength = 0") and changed the body content type to Raw like this:
NOTE: In new version of SSIS PowerPack or ODBC PowerPack this work around may not be required. New version may allow you to POST empty body to server.
Other common errors can be found in the following link related:
https://zappysys.com/blog/understand-http-status-codes-fix-common-errors-rest-api/
Contact Us
If you have more question(s) feel free to contact us via Live chat or email to support@zappysys.com
Comments
0 comments
Please sign in to leave a comment.