[19.2] Internal Server Error on REST API invocation. java.lang.IllegalStateException: Missing authentication token.

The Call advanced web service is throwing following exception. Any ideas? 

[ajp-nio-8009-exec-3] ERROR com.appiancorp.rest.shared.FallbackExceptionMapper - Internal Server Error on REST API invocation.
java.lang.IllegalStateException: Missing authentication token.

at com.appiancorp.security.auth.SecurityContextProviderSpringImpl.get(SecurityContextProviderSpringImpl.java:13)
at com.appiancorp.security.authz.AuthorizationMethodInterceptor.invoke(AuthorizationMethodInterceptor.java:45)
at com.appiancorp.kougar.services.KougarServiceInvocationHandler.invoke(KougarServiceInvocationHandler.java:324)
at com.sun.proxy.$Proxy136.getTypeByQualifiedName(Unknown Source)
at sun.reflect.GeneratedMethodAccessor1758.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.atlassian.plugin.util.ContextClassLoaderSettingInvocationHandler.invoke(ContextClassLoaderSettingInvocationHandler.java:26)
at com.sun.proxy.$Proxy57.getTypeByQualifiedName(Unknown Source)
at sun.reflect.GeneratedMethodAccessor1758.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:333)
at org.eclipse.gemini.blueprint.service.importer.support.internal.aop.ServiceInvoker.doInvoke(ServiceInvoker.java:56)
at org.eclipse.gemini.blueprint.service.importer.support.internal.aop.ServiceInvoker.invoke(ServiceInvoker.java:60)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:133)
at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:121)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
at org.eclipse.gemini.blueprint.service.util.internal.aop.ServiceTCCLInterceptor$1.run(ServiceTCCLInterceptor.java:61)
at org.eclipse.gemini.blueprint.util.internal.PrivilegedUtils.executeWithCustomTCCL(PrivilegedUtils.java:130)
at org.eclipse.gemini.blueprint.service.util.internal.aop.ServiceTCCLInterceptor.invokePrivileged(ServiceTCCLInterceptor.java:58)
at org.eclipse.gemini.blueprint.service.util.internal.aop.ServiceTCCLInterceptor.invoke(ServiceTCCLInterceptor.java:50)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
at org.eclipse.gemini.blueprint.service.importer.support.LocalBundleContextAdvice.invoke(LocalBundleContextAdvice.java:57)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:133)
at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:121)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:213)
at com.sun.proxy.$Proxy379.getTypeByQualifiedName(Unknown Source)
at com.appiancorp.type.cdt.UiConfig.<init>(UiConfig.java:90)
at com.appiancorp.rest.shared.WebSubmissionRequest.toUiConfigFromAction(WebSubmissionRequest.java:203)
at com.appiancorp.rest.shared.WebSubmissionRequest.handleNoActivityChain(WebSubmissionRequest.java:188)
at com.appiancorp.rest.shared.WebSubmissionRequest.handleNoActivityChain(WebSubmissionRequest.java:175)
at com.appiancorp.rest.shared.WebSubmissionRequest.call0(WebSubmissionRequest.java:91)
at com.appiancorp.rest.shared.WebSubmissionRequest.call0(WebSubmissionRequest.java:52)
at com.appiancorp.uidesigner.AbstractActionRequest.call(AbstractActionRequest.java:24)
at com.appiancorp.rest.processmodel.ProcessModelRestService.startProcessWithTypedValueForm(ProcessModelRestService.java:489)
at com.appiancorp.rest.processmodel.ProcessModelRestService.startProcessWithNormalForm(ProcessModelRestService.java:283)
at sun.reflect.GeneratedMethodAccessor2306.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)

  Discussion posts and replies are publicly visible

Parents
  • From Error snippet it seems your Appian installation lacks appian.sec file under Appian_Home/conf(if running 18.x)
    Appian restricts communications between the engines servers and application server through a security token & secured license.The security token prevents an unauthorized calls to the engines.

    You need to either generate a new appian.sec or place the older appian.sec file(in case of ungrade) to relevant folder

    Hope it helps!!.

Reply
  • From Error snippet it seems your Appian installation lacks appian.sec file under Appian_Home/conf(if running 18.x)
    Appian restricts communications between the engines servers and application server through a security token & secured license.The security token prevents an unauthorized calls to the engines.

    You need to either generate a new appian.sec or place the older appian.sec file(in case of ungrade) to relevant folder

    Hope it helps!!.

Children
No Data