Question

Error in mobile application

Hello team

I was configuring mobile application but suddenly I started getting this error in mobile application.

Can anyone please tell me what this error is all about?

 

 

Model Name: M2007J20CI

Platform: Android

Platform Version: 11

Resolution: 393x857

IsHybridMode: false

IsOnlineMode: true

SyncInService: false

RootAppDirectory: creatio

ApplicationVersion: 7.18.4

ApplicationMajorVersion: 7.18

UseNativeSynchronization: true

UseNativeImport: true

UseNativeExport: true

UseNativeLogout: true

UseNativeMetadataSync: true

UseNativeFullSynchronization: true

UseDataService: false

IsDevMode: false

CurrentDateTime: 2021-10-06T07:48:30.322Z

ServerUrl: https://tanserv.creatio.com/

ContactId: 0221a270-f338-4cd2-9e68-0ad030c198bc

CultureName: en-US

ApplicationRevision: 3

WorkplaceCode: UsrAgentWorkplaceMobile

ProductInfo: {"ProductName":"TanServ Business Processes","ProductEdition":"team","CustomerId":"201903051909","Version":{"Major":7,"Minor":18,"Build":3,"Revision":1241,"MajorRevision":0,"MinorRevision":1241}}

Type: Terrasoft.ODataDataServiceException

Message: $expand does not support '19' properties expanded simultaneously on the same segment.

AdditionalInfo: {"error":{"code":"4","message":{"lang":"","value":"$expand does not support '19' properties expanded simultaneously on the same segment."},"innererror":{"message":"$expand does not support '19' properties expanded simultaneously on the same segment.","type":"System.Data.Services.DataServiceException","stacktrace":"   at System.Data.Services.ErrorHandler.HandleTargetInvocationException(TargetInvocationException exception)\r\n   at System.Data.Services.Providers.ExpressionEvaluator.VisitMethodCall(MethodCallExpression m)\r\n   at System.Data.Services.Providers.ExpressionEvaluator.Evaluate(Expression exp)\r\n   at System.Data.Services.Providers.DataServiceExecutionProviderWrapper.GetResultEnumerableFromRequest(SegmentInfo segmentInfo)\r\n   at System.Data.Services.RequestUriProcessor.InvokeRequestExpression(RequestDescription description, IDataService service)\r\n   at System.Data.Services.RequestUriProcessor.ProcessRequestUri(Uri absoluteRequestUri, IDataService service, Boolean internalQuery)\r\n   at System.Data.Services.DataService`1.BatchDataService.HandleBatchOperation(IODataRequestMessage operationMessage, ODataBatchWriter batchWriter, Boolean ignoreCUDOperations, Boolean& serviceOperationRequests)\r\n   at System.Data.Services.DataService`1.BatchDataService.HandleBatchContent(Stream responseStream)","internalexception":{"message":"Exception has been thrown by the target of an invocation.","type":"System.Reflection.TargetInvocationException","stacktrace":"   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)\r\n   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)\r\n   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)\r\n   at System.Data.Services.Providers.ExpressionEvaluator.VisitMethodCall(MethodCallExpression m)","internalexception":{"message":"$expand does not support '19' properties expanded simultaneously on the same segment.","type":"System.Data.Services.DataServiceException","stacktrace":"   at System.Data.Services.WebUtil.GetWrapperType(Type[] wrapperParameters, Func`2 errorGenerator)\r\n   at System.Data.Services.Providers.BasicExpandProvider.ExpandNode.SetWrapperElementType()\r\n   at System.Data.Services.Providers.BasicExpandProvider.ExpandNode.AssignTypeForExpected(Type enumeratedType, Boolean singleResult)\r\n   at System.Data.Services.Providers.BasicExpandProvider.ApplyProjections(IQueryable source, RootProjectionNode rootProjectionNode)\r\n   at System.Data.Services.Providers.DataServiceExecutionProviderMethods.ApplyProjections(Object projectionProvider, IQueryable source, Object rootProjectionNode)"}}}}}

response body: {"error":{"code":"4","message":{"lang":"","value":"$expand does not support '19' properties expanded simultaneously on the same segment."},"innererror":{"message":"$expand does not support '19' properties expanded simultaneously on the same segment.","type":"System.Data.Services.DataServiceEx

Like 0

Like

1 comments

Hi Rahul, 



Such Error may occur if the features UseMobileDataService and/or UseDataServiceImport are disabled on your site. 

Please enable it and the issue will be gone. 



Best regards,

Yurii. 

Show all comments