HomeGuidesAPI ReferenceChangelogDiscussions
GuidesiMIS ProfessionaliMIS EnterpriseClient SupportLog In
Discussions
These docs are for v20.3.44. Click to read the latest docs for v20.3.192.

Discussions

Ask a Question
Back to All

Error Message with using a REST API

Submitted as Tech Support ticket 73416. Has anyone experience this type of message while using a REST API?

We were successfully pushing data into an iMIS multi instance user defined table but recently we have been getting these types of error messages, even though the record is being updated in iMIS. Not sure if this is caused by a lack of user permissions or something caused by installing Service Pack M or N.

2018-09-28 16:19:26,728 [97] ERROR KPBSSQL:KPBSDEV [(null)] - Error occured at Uri: https://kpbsapp.advsolhosting.net/ASi.Scheduler_KPBSdev/api/PM_MemberBenefits/~854543|555011
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at Asi.iBO.ContactManagement.CContact.FlowUDData(DataServer server, Boolean companyRecord)
at Asi.iBO.ContactManagement.CContact.FlowDownCompanyUserDefinedData(IiMISUser user, String companyId)
at Asi.Soa.V10.Membership.Persistence.UserDefinedTablePersistenceStrategy.SaveChanged(Object entityInstance)
at Asi.Soa.Core.Domain.Repository.PersistChanged(Object entityInstance)
at Asi.Soa.Core.Domain.UnitOfWork.Persist()
at Asi.Soa.Core.Domain.UnitOfWork.Commit()
at Asi.Services.Core.EntityServiceToCommonServiceAdapter1.Update(TDataContract dataContract) at Asi.Services.Core.EntityServiceToCommonServiceAdapter1.Update(Object dataContract)
at Castle.Proxies.Invocations.ICommonService_Update.InvokeMethodOnTarget()
at Castle.DynamicProxy.AbstractInvocation.Proceed()
at Asi.Shared.Aspects.CacheAspect.Intercept(IInvocation invocation) in C:\Builds\208\ScrumV3\sp137_Main10\Sources\MainFoundation\imis.net\Packages\Platform\Asi.Shared\Aspects\CacheAspect.cs:line 62
at Castle.DynamicProxy.AbstractInvocation.Proceed()
at Asi.Services.Core.Interceptors.CommonSecurityAspect.Intercept(IInvocation invocation)
at Castle.DynamicProxy.AbstractInvocation.Proceed()
at Asi.Services.Core.Interceptors.ServiceTaskTriggerInterceptor.Intercept(IInvocation invocation)
at Castle.DynamicProxy.AbstractInvocation.Proceed()
at Asi.Shared.Aspects.PerformanceAspect.Intercept(IInvocation invocation) in C:\Builds\208\ScrumV3\sp137_Main10\Sources\MainFoundation\imis.net\Packages\Platform\Asi.Shared\Aspects\PerformanceAspect.cs:line 55
at Castle.DynamicProxy.AbstractInvocation.Proceed()
at Castle.Proxies.ICommonService`1Proxy_3.Update(Object dataContract)
at Asi.Scheduler.Controllers.CommonServiceController.Put(String entityName, String entityId, Object entity)