Developer forum

Forum » Integration » Endpoint Management Basic Auth Test Fails

Endpoint Management Basic Auth Test Fails

Shawn Tehini Dynamicweb Employee
Shawn Tehini
Reply

Endpoint Management Test does not work with Basic Auth to the Dynamicweb connector service (best we can tell).  It does work with OAuth2.  Here is a test site with erroring tests: https://int-awc.mydwsite5.com/Admin/Default

Error: "The request must be chunked or have a content length"

 

This confirms that the connection itself to the ERP is successful:

Thanks, 
Shawn


Replies

 
Dmitriy Benyuk Dynamicweb Employee
Dmitriy Benyuk
Reply

Hi Shawn,
it wasn't designed like that. So if you have a Dynamicweb Connector service then this is different from the new "Endpoint" concept, so we still support the Connector Service Urls in the Batch integration AddIns and in the Live integration as a "Web Service Url" option but they are not treated as Endpoints.

So if your connector is connecting the live Cloud FO or BC then you can just​ use the original BC/FO DW WebService codeunit url instead of connector service url.

BR, Dmitrij

 
John Cristian Villamar Cueva
Reply

Hi Dmitriy
Something similar happens to me, when i use EndPoint, I have DBC14 on premise, when I use the web service from a browser I access it without problem, but when I use the same data from DW, it gives me a 401 error, what can I do?

 
Dmitriy Benyuk Dynamicweb Employee
Dmitriy Benyuk
Reply

Hi John,
it looks like you are using wrong url in the endpoint settings.
I don't fully get what you want to achieve but if it is a Dynamicweb service that you want to use from the BC14 OnPrem in the Dynamicweb Batch/Live integration then the url needs to be like this:
https://api.businesscentral.dynamics.com/v2.0/tenant-guid/InstanceId/WS/CRONUS UK Ltd./Codeunit/DWWebService
Also you need to check the check box "Connect to standard DW service".
BR, Dmitrij

 

You must be logged in to post in the forum