Hi Matthias,
Hoping you can help me with an error I am getting setting up an OData endpoint using endpoint management. The site is https://qa-aci.dw-demo2.com/Admin/Default with endpoint as https://internalcrmlivetest.online.agricover.com/CRMLiveTest/api/data/v8.2. If you hit that url in a broswer with credentials you get a good response:
Furthermore, I am trying to pull a specific entity based on this url: https://internalcrmlivetest.online.agricover.com/CRMLiveTest/api/data/v8.2/bmi_leadtimes?$top=2
That also renders a good response:
Being able to get both those responses confirms the url and creds.
Setting that up in the endpoint management I am getting the following error:
The remote server returned an error: (411) Length Required. Response: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN""http://www.w3.org/TR/html4/strict.dtd">
<HTML><HEAD><TITLE>Length Required</TITLE>
<META HTTP-EQUIV="Content-Type" Content="text/html; charset=us-ascii"></HEAD>
<BODY><h2>Length Required</h2>
<hr><p>HTTP Error 411. The request must be chunked or have a content length.</p>
</BODY></HTML>
I have tried setting a request header for Content-Length but that has not resolved. It is also interesting that the error message is noting "text/html" but the request is an OData Json request and response. The website version is 9.10.17.
Please let me know if you can assist.
Thanks,
Shawn