BC14 OData Request Error (Only sometimes)

maze93maze93 Member Posts: 24
edited 2020-08-12 in NAV Three Tier
Hi all,

BC 14 version 14.0.38650.0

We have OData set up and are experiencing problems when connecting. Sometimes it works like a charm but sometimes we get Request Error with the below error message on the server. If i refresh the call it sometimes work and sometimes don't.
<EventData>
  <Data>Server instance: prod_ws Tenant ID: User: Type: System.ObjectDisposedException Message: Message is closed. StackTrace: at System.ServiceModel.Channels.BufferedMessage.get_Properties() at Microsoft.Dynamics.Nav.Service.ServiceAuthenticationHelper.<>c.<AuthenticateForServiceCall>b__1_0() at Microsoft.Dynamics.Nav.Service.ServiceAuthenticationHelper.AuthenticateForServiceCallCore(Func`1 getNavTenant, Func`1 getRequestProperties, Func`1 getWindowsIdentity, Func`3 createException) Source: System.ServiceModel HResult: -2146232798 StackTrace: at System.ServiceModel.Channels.BufferedMessage.get_Properties() at Microsoft.Dynamics.Nav.Service.ServiceAuthenticationHelper.<>c.<AuthenticateForServiceCall>b__1_0() at Microsoft.Dynamics.Nav.Service.ServiceAuthenticationHelper.AuthenticateForServiceCallCore(Func`1 getNavTenant, Func`1 getRequestProperties, Func`1 getWindowsIdentity, Func`3 createException)</Data> 
  </EventData>

The error message when using Postman is error 500.

The browser displays the following information. The above error is the only error we receive in event viewer.
I first though it had something to do with the tenant and added ?tenant=default at the end of the URL but that did not make any change.

mmx4j8h1c5qx.png

Does anybody know how to fix this/what the error is?

Thanks!

Rgds from Mattias
Sign In or Register to comment.