Hi All,
Anyone seen this error?
System.ArgumentException: Parameter "custNum" must be an integer value.
at Epicor.Utilities.Objects.GetTypedValue(String val, Type theType, String paramName) in C:\_Releases\ICE\ICE3.2.400.38\Source\Framework\Epicor.System\Utilities\Objects.cs:line 43
at Ice.Hosting.RestApi.OperationInvokeHelper.GetByID(IceDataContext dataContext, String serviceName, NameValueCollection queryParams) in C:\_Releases\ICE\ICE3.2.400.38\Source\Framework\Epicor.Ice\Hosting\ServiceCaller\OperationInvokeHelper.cs:line 73
at Ice.Hosting.RestApi.OperationInvokeHelper.GetByID(String serviceName, NameValueCollection queryParams) in C:\_Releases\ICE\ICE3.2.400.38\Source\Framework\Epicor.Ice\Hosting\ServiceCaller\OperationInvokeHelper.cs:line 54
at Epicor.OData.V3.DataSources.IceODataServiceCaller.LoadItem(TypeData typeData, ContextInfo context, String[] keys, IQueryOptions options) in C:\_Releases\ICE\ICE3.2.400.38\Source\Framework\Epicor.RESTApi\Epicor.OData.V3\DataSources\Main\IceODataServiceCaller.cs:line 65
at Epicor.OData.V3.DataSources.DataSourceProvider.GetEntity(TypeMapping typeMapping, ContextInfo context, String[] keys, IEdmEntityType entityType, IQueryOptions queryOptions) in C:\_Releases\ICE\ICE3.2.400.38\Source\Framework\Epicor.RESTApi\Epicor.OData.V3\DataSources\Main\DataSourceProvider.cs:line 53
at Epicor.OData.V3.Controllers.HandleODataV3Controller.Get(String key) in C:\_Releases\ICE\ICE3.2.400.38\Source\Framework\Epicor.RESTApi\Epicor.OData.V3\Controllers\HandleODataV3Controller.cs:line 71
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.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.Dispatcher.HttpControllerDispatcher.<SendAsync>d__15.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Web.Http.Dispatcher.HttpControllerDispatcher.<SendAsync>d__15.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.HttpServer.<SendAsync>d__24.MoveNext()
I can’t seem to find what it’s relating…
Thanks
Aaron.
Sorry… Sharing is caring and all of that stuff…