API Forum

This forum is in read-only mode.
Please refer to our API support in case you have any questions.
We can be reached at api@e-conomic.com
e-conomic API developer forum

Internal error - Entry_GetDataArray

0

Hey,

Recently I have started receiving an "internal error" in a call to Entry_GetDataArray which has worked fine in the past.

Code snippet (SerialNumber interval provided: 1 to 10001)

 var entries = service.Entry_FindBySerialNumberInterval(serialNumberFrom, serialNumberTo); // return about 6800 entries.
            if (entries.Count() > 0)
            {
                
                var entriesData = service.Entry_GetDataArray(entries); // this fails
                writeEntriesToDB(entriesData, GetConnectionStringStage(), company);
            }
 
            return entries.Count();

Error:

{"Economic.Api.Exceptions.EconomicApiSystemException(E00000): An internal error has occurred. (id=15958cca-d038-4d41-8ede-ee84fe8b57b0)"}

Stacktrace:

 
Server stack trace: 
   at System.ServiceModel.Channels.ServiceChannel.HandleReply(ProxyOperationRuntime operation, ProxyRpc& rpc)
   at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
   at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
   at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)
 
Exception rethrown at [0]: 
   at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
   at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
   at EconomicsApp.EconomicsWS.EconomicWebServiceSoap.Entry_GetDataArray(Entry_GetDataArrayRequest request)
   at EconomicsApp.EconomicsWS.EconomicWebServiceSoapClient.EconomicsApp.EconomicsWS.EconomicWebServiceSoap.Entry_GetDataArray(Entry_GetDataArrayRequest request) in c:\users\novataris\documents\visual studio 2015\Projects\EconomicsApp\EconomicsApp\Service References\EconomicsWS\Reference.cs:line 154766
   at EconomicsApp.EconomicsWS.EconomicWebServiceSoapClient.Entry_GetDataArray(EntryHandle[] entityHandles) in c:\users\novataris\documents\visual studio 2015\Projects\EconomicsApp\EconomicsApp\Service References\EconomicsWS\Reference.cs:line 154773
   at EconomicsApp.Entry.getEntries(EconomicWebServiceSoapClient service, Int32 serialNumberFrom, Int32 serialNumberTo, String company) in c:\users\novataris\documents\visual studio 2015\Projects\EconomicsApp\EconomicsApp\Entry.cs:line 35
   at EconomicsApp.Entry.getEntries(EconomicWebServiceSoapClient service, String company) in c:\users\novataris\documents\visual studio 2015\Projects\EconomicsApp\EconomicsApp\Entry.cs:line 23
   at EconomicsApp.Program.Main(String[] args) in c:\users\novataris\documents\visual studio 2015\Projects\EconomicsApp\EconomicsApp\Program.cs:line 38
   at System.AppDomain._nExecuteAssembly(RuntimeAssembly assembly, String[] args)
   at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
   at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
   at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.ThreadHelper.ThreadStart()
created Jul 5, 2016 by casper.cth
0% Accept Rate
Q 1 A 0 C 0

1 Answer

0
Hi Casper,

I can see that we had an internal server error. I am unsure exactly what the problem is at this time, but I have added a bug to our backlog so we can address it.
answered Jul 14, 2016 by rbb
Visma e-conomic A/S
...