[Feature Toggle Library] Failed to parse errors in Service Center
Question
feature-toggle-library
Forge component by Experts
Application Type
Service

Hi,

I have installed this on our environments. However, in the logs we constantly see these errors:


04-02-2021 09:30:18FeatureToggle_Lib
(Feature Toggle Library)
Failed to parse. 'DateTime' compatible data type is required for parameter 'FromDateTime'.REST (Expose)m10-prod-vmDetail
04-02-2021 09:00:06FeatureToggle_Lib
(Feature Toggle Library)
Failed to parse. 'DateTime' compatible data type is required for parameter 'FromDateTime'.REST (Expose)m10-prod-vmDetail
04-02-2021 08:55:23FeatureToggle_Lib
(Feature Toggle Library)
Failed to parse. 'DateTime' compatible data type is required for parameter 'FromDateTime'.REST (Expose)m10-prod-vmDetail



0eaceb90-e331-4923-8eca-b73e92629c3f

04-02-2021 09:30:18

b1dc58fc-c94e-4851-b825-baa68986b531

FeatureToggle_Lib

Users


vwgLlrNB0kGnSjCxk32lSA==

m10-prod-vm

REST (Expose)

Failed to parse. 'DateTime' compatible data type is required for parameter 'FromDateTime'.

eSpaceVer: Id=512, PubId=0, CompiledWith=11.10.7.060000
RequestUrl: https://osprd.motion10.com/FeatureToggle_Lib/rest/FeatureToggleAPI/EV_FeatureToggle_GetHits?FromDateTime=27-11-2020+10%3a30%3a18 (Method: GET)
AppDomain: /LM/W3SVC/1/ROOT/FeatureToggle_Lib-40-132560330543062823
FilePath: E:\OutSystems\Platform Server\running\FeatureToggle_Lib.01953772164\
ClientIp: 19.1.1.7 X-Forwarded-For: 52.157.212.89:2368
Locale: en-US
DateFormat: dd-MM-yyyy
PID: 2296 ('w3wp', Started='1/22/2021 8:15:51 PM', Priv=1075Mb, Virt=2107210Mb)
TID: 46
Thread Name:
.NET: 4.0.30319.42000

Failed to parse. 'DateTime' compatible data type is required for parameter 'FromDateTime'.
at ssFeatureToggle_Lib.CsRESTExpose.CsFeatureToggleAPI.CsFeatureToggleAPIController.FlowFeatureToggleAPIActionEV_FeatureToggle_GetHits(String auxinParamFromDateTime)
at lambda_method(Closure , Object , Object[] )
at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ActionExecutor.<>c__DisplayClass6_2.<GetExecutor>b__2(Object instance, Object[] methodParameters)
at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ExecuteAsync(HttpControllerContext controllerContext, IDictionary`2 arguments, CancellationToken cancellationToken)
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Web.Http.Controllers.ApiControllerActionInvoker.<InvokeActionAsyncCore>d__1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Web.Http.Filters.ActionFilterAttribute.<CallOnActionExecutedAsync>d__6.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Web.Http.Filters.ActionFilterAttribute.<CallOnActionExecutedAsync>d__6.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Web.Http.Filters.ActionFilterAttribute.<ExecuteActionFilterAsyncCore>d__5.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Web.Http.Filters.ActionFilterAttribute.<CallOnActionExecutedAsync>d__6.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Web.Http.Filters.ActionFilterAttribute.<CallOnActionExecutedAsync>d__6.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Web.Http.Filters.ActionFilterAttribute.<ExecuteActionFilterAsyncCore>d__5.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Web.Http.Filters.ActionFilterAttribute.<CallOnActionExecutedAsync>d__6.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Web.Http.Filters.ActionFilterAttribute.<CallOnActionExecutedAsync>d__6.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Web.Http.Filters.ActionFilterAttribute.<ExecuteActionFilterAsyncCore>d__5.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Web.Http.Controllers.ActionFilterResult.<ExecuteAsync>d__5.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Web.Http.Filters.AuthorizationFilterAttribute.<ExecuteAuthorizationFilterAsyncCore>d__3.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Web.Http.Controllers.ExceptionFilterResult.<ExecuteAsync>d__6.MoveNext()

I had the same problem, fixed by changing FromDateTime's data type: 

Hey! Thanks for the reply. I also figured that out indeed. Hopefully the makers can fix this in the component.

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.