# INji 0.11.0 mobile application card activation failing

**URL:** <https://community.mosip.io/t/inji-0-11-0-mobile-application-card-activation-failing/1222>\
**Category:** General\
**Tags:** inji\
**Created:** [April 9, 2024, 7:33am UTC](https://community.mosip.io/t/inji-0-11-0-mobile-application-card-activation-failing/1222 "2024-04-09T07:33:19Z")\
**Posts on this page:** 16\
**Page:** 1

<div class="post-metadata">

**Author:** ![karthiksj](https://avatars.discourse-cdn.com/v4/letter/k/ed655f/32.png) [@karthiksj](https://community.mosip.io/u/karthiksj)\
**Post date:** [April 9, 2024, 7:33am UTC](https://community.mosip.io/t/inji-0-11-0-mobile-application-card-activation-failing/1222/1 "2024-04-09T07:33:19Z")

</div>

I have built an apk from inji 0.11.0 source code and using mimoto 0.11.0 in the env. Here we are able to add the card but while activating the card getting “Something is wrong. Please try again later!” pop up. Can someone help on this.

 ![shared image](https://europe1.discourse-cdn.com/flex017/uploads/mosip1/original/2X/5/5b9c2b62f641bac6123f447e3d5a07a15bf773d7.jpeg)

---

<div class="post-metadata">

**Author:** ![karthiksj](https://avatars.discourse-cdn.com/v4/letter/k/ed655f/32.png) [@karthiksj](https://community.mosip.io/u/karthiksj)\
**Post date:** [April 15, 2024, 5:29am UTC](https://community.mosip.io/t/inji-0-11-0-mobile-application-card-activation-failing/1222/2 "2024-04-15T05:29:04Z")

</div>

Please have a look in this.

---

<div class="post-metadata">

**Author:** ![swatigoel](https://dub1.discourse-cdn.com/flex017/user_avatar/community.mosip.io/swatigoel/32/751_2.png) [@swatigoel](https://community.mosip.io/u/swatigoel)\
**Post date:** [April 15, 2024, 8:26am UTC](https://community.mosip.io/t/inji-0-11-0-mobile-application-card-activation-failing/1222/3 "2024-04-15T08:26:55Z")

</div>

Hi @karthiksj ,  
Can you please share logs of esignet pod with us?  
for activation to work, we need to onboard binding keys. is it done?

---

<div class="post-metadata">

**Author:** ![swatigoel](https://dub1.discourse-cdn.com/flex017/user_avatar/community.mosip.io/swatigoel/32/751_2.png) [@swatigoel](https://community.mosip.io/u/swatigoel)\
**Post date:** [April 15, 2024, 8:33am UTC](https://community.mosip.io/t/inji-0-11-0-mobile-application-card-activation-failing/1222/4 "2024-04-15T08:33:20Z")

</div>

You can get details about binding partner in mimoto-default.properties file  
binding partner id [mosip-config/mimoto-default.properties at collab1 · mosip/mosip-config · GitHub](https://github.com/mosip/mosip-config/blob/collab1/mimoto-default.properties#L184)  
binding partner api key [mosip-config/mimoto-default.properties at collab1 · mosip/mosip-config · GitHub](https://github.com/mosip/mosip-config/blob/collab1/mimoto-default.properties#L185)  
please note that, binding partner api key has 3 months expiry by default. If it’s expired, require renew or generate a new one.

Steps to find api key is expired or not:

1. Check the IDA database. There are partner\_data and partner\_mapping tables. Table partner\_data should have entry for keybinding partner and mapping should be available in partner\_mapping
2. run query to check api key expiry  
select api\_key\_expires\_on from api\_key\_data where api\_key\_id=‘’;  
Note: You can get api key id from partner mapping table

---

<div class="post-metadata">

**Author:** ![karthiksj](https://avatars.discourse-cdn.com/v4/letter/k/ed655f/32.png) [@karthiksj](https://community.mosip.io/u/karthiksj)\
**Post date:** [April 15, 2024, 9:31am UTC](https://community.mosip.io/t/inji-0-11-0-mobile-application-card-activation-failing/1222/5 "2024-04-15T09:31:57Z")

</div>

I have ran mimoto onboarder and its successfull, will take fresh logs and share it with you

---

<div class="post-metadata">

**Author:** ![karthiksj](https://avatars.discourse-cdn.com/v4/letter/k/ed655f/32.png) [@karthiksj](https://community.mosip.io/u/karthiksj)\
**Post date:** [April 15, 2024, 11:13am UTC](https://community.mosip.io/t/inji-0-11-0-mobile-application-card-activation-failing/1222/6 "2024-04-15T11:13:30Z")

</div>

@swatigoel Please find the logs

{“@timestamp”:“2024-04-15T11:08:21.207Z”,“@version”:“1”,“message”:“Failed to send binding otp: {}”,“logger\_name”:“io.mosip.esignet.services.KeyBindingServiceImpl”,“thread\_name”:“http-nio-8088-exec-4”,“level”:“ERROR”,“level\_value”:40000,“stack\_trace”:“io.mosip.esignet.api.exception.SendOtpException: required\_header\_missing\n\tat io.mosip.authentication.esignet.integration.service.IdaKeyBinderImpl.sendBindingOtp(IdaKeyBinderImpl.java:91)\n\tat io.mosip.esignet.services.KeyBindingServiceImpl.sendBindingOtp(KeyBindingServiceImpl.java:66)\n\tat io.mosip.esignet.services.KeyBindingServiceImpl$$FastClassBySpringCGLIB$$fb325dfa.invoke()\n\tat org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)\n\tat org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:771)\n\tat org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)\n\tat org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:749)\n\tat org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:367)\n\tat org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:118)\n\tat org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)\n\tat org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:749)\n\tat org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:691)\n\tat io.mosip.esignet.services.KeyBindingServiceImpl$$EnhancerBySpringCGLIB$$53202028.sendBindingOtp()\n\tat io.mosip.esignet.controllers.KeyBindingController.sendBindingOtp(KeyBindingController.java:42)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:190)\n\tat org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:138)\n\tat org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:105)\n\tat org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:878)\n\tat org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:792)\n\tat org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87)\n\tat org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1040)\n\tat org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:943)\n\tat org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006)\n\tat org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:909)\n\tat javax.servlet.http.HttpServlet.service(HttpServlet.java:652)\n\tat org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883)\n\tat javax.servlet.http.HttpServlet.service(HttpServlet.java:733)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)\n\tat org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:103)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)\n\tat org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:103)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)\n\tat org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:320)\n\tat org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:126)\n\tat org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:90)\n\tat org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)\n\tat org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:118)\n\tat org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)\n\tat org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:137)\n\tat org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)\n\tat org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:111)\n\tat org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)\n\tat org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:158)\n\tat org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)\n\tat org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:63)\n\tat org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)\n\tat org.springframework.security.oauth2.server.resource.web.BearerTokenAuthenticationFilter.doFilterInternal(BearerTokenAuthenticationFilter.java:130)\n\tat org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)\n\tat org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)\n\tat org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:116)\n\tat org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)\n\tat org.springframework.security.web.csrf.CsrfFilter.doFilterInternal(CsrfFilter.java:117)\n\tat org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)\n\tat org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)\n\tat org.springframework.security.web.header.HeaderWriterFilter.doHeadersAfter(HeaderWriterFilter.java:92)\n\tat org.springframework.security.web.header.HeaderWriterFilter.doFilterInternal(HeaderWriterFilter.java:77)\n\tat org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)\n\tat org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)\n\tat org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:105)\n\tat org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)\n\tat org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:56)\n\tat org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)\n\tat org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)\n\tat org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:215)\n\tat org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:178)\n\tat org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:358)\n\tat org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:271)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)\n\tat org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100)\n\tat org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)\n\tat org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93)\n\tat org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)\n\tat org.springframework.boot.actuate.metrics.web.servlet.WebMvcMetricsFilter.doFilterInternal(WebMvcMetricsFilter.java:93)\n\tat org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)\n\tat org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201)\n\tat org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:202)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:542)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:143)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:690)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:747)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:374)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:868)\n\tat org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1590)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n”,“appName”:“esignet”}  
{“@timestamp”:“2024-04-15T11:08:21.305Z”,“@version”:“1”,“message”:“Unhandled exception encountered in handler advice”,“logger\_name”:“io.mosip.esignet.advice.ExceptionHandlerAdvice”,“thread\_name”:“http-nio-8088-exec-4”,“level”:“ERROR”,“level\_value”:40000,“stack\_trace”:“io.mosip.esignet.core.exception.EsignetException: required\_header\_missing\n\tat io.mosip.esignet.services.KeyBindingServiceImpl.sendBindingOtp(KeyBindingServiceImpl.java:70)\n\tat io.mosip.esignet.services.KeyBindingServiceImpl$$FastClassBySpringCGLIB$$fb325dfa.invoke()\n\tat org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)\n\tat org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:771)\n\tat org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)\n\tat org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:749)\n\tat org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:367)\n\tat org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:118)\n\tat org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)\n\tat org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:749)\n\tat org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:691)\n\tat io.mosip.esignet.services.KeyBindingServiceImpl$$EnhancerBySpringCGLIB$$53202028.sendBindingOtp()\n\tat io.mosip.esignet.controllers.KeyBindingController.sendBindingOtp(KeyBindingController.java:42)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:190)\n\tat org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:138)\n\tat org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:105)\n\tat org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:878)\n\tat org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:792)\n\tat org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87)\n\tat org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1040)\n\tat org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:943)\n\tat org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006)\n\tat org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:909)\n\tat javax.servlet.http.HttpServlet.service(HttpServlet.java:652)\n\tat org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883)\n\tat javax.servlet.http.HttpServlet.service(HttpServlet.java:733)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)\n\tat org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:103)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)\n\tat org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:103)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)\n\tat org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:320)\n\tat org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:126)\n\tat org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:90)\n\tat org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)\n\tat org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:118)\n\tat org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)\n\tat org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:137)\n\tat org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)\n\tat org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:111)\n\tat org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)\n\tat org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:158)\n\tat org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)\n\tat org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:63)\n\tat org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)\n\tat org.springframework.security.oauth2.server.resource.web.BearerTokenAuthenticationFilter.doFilterInternal(BearerTokenAuthenticationFilter.java:130)\n\tat org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)\n\tat org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)\n\tat org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:116)\n\tat org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)\n\tat org.springframework.security.web.csrf.CsrfFilter.doFilterInternal(CsrfFilter.java:117)\n\tat org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)\n\tat org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)\n\tat org.springframework.security.web.header.HeaderWriterFilter.doHeadersAfter(HeaderWriterFilter.java:92)\n\tat org.springframework.security.web.header.HeaderWriterFilter.doFilterInternal(HeaderWriterFilter.java:77)\n\tat org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)\n\tat org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)\n\tat org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:105)\n\tat org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)\n\tat org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:56)\n\tat org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)\n\tat org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)\n\tat org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:215)\n\tat org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:178)\n\tat org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:358)\n\tat org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:271)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)\n\tat org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100)\n\tat org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)\n\tat org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93)\n\tat org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)\n\tat org.springframework.boot.actuate.metrics.web.servlet.WebMvcMetricsFilter.doFilterInternal(WebMvcMetricsFilter.java:93)\n\tat org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)\n\tat org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201)\n\tat org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:202)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:542)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:143)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:690)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:747)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:374)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:868)\n\tat org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1590)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n”,“appName”:“esignet”}

---

<div class="post-metadata">

**Author:** ![karthiksj](https://avatars.discourse-cdn.com/v4/letter/k/ed655f/32.png) [@karthiksj](https://community.mosip.io/u/karthiksj)\
**Post date:** [April 15, 2024, 12:38pm UTC](https://community.mosip.io/t/inji-0-11-0-mobile-application-card-activation-failing/1222/7 "2024-04-15T12:38:54Z")

</div>

This setup is deployed 20 days back so partner api key also not expired.

---

<div class="post-metadata">

**Author:** ![swatigoel](https://dub1.discourse-cdn.com/flex017/user_avatar/community.mosip.io/swatigoel/32/751_2.png) [@swatigoel](https://community.mosip.io/u/swatigoel)\
**Post date:** [April 15, 2024, 12:40pm UTC](https://community.mosip.io/t/inji-0-11-0-mobile-application-card-activation-failing/1222/8 "2024-04-15T12:40:16Z")

</div>

It looks like while onboarding partner, sending otp claim is missing.  
@Anusha_sunkadh can you please help to check this log from esignet?

---

<div class="post-metadata">

**Author:** ![karthiksj](https://avatars.discourse-cdn.com/v4/letter/k/ed655f/32.png) [@karthiksj](https://community.mosip.io/u/karthiksj)\
**Post date:** [April 16, 2024, 4:21am UTC](https://community.mosip.io/t/inji-0-11-0-mobile-application-card-activation-failing/1222/9 "2024-04-16T04:21:03Z")

</div>

@Anusha_sunkadh Please help me on this.

---

<div class="post-metadata">

**Author:** ![Anusha\_sunkadh](https://dub1.discourse-cdn.com/flex017/user_avatar/community.mosip.io/anusha_sunkadh/32/30_2.png) [@Anusha\_sunkadh](https://community.mosip.io/u/Anusha_sunkadh)\
**Post date:** [April 16, 2024, 5:56pm UTC](https://community.mosip.io/t/inji-0-11-0-mobile-application-card-activation-failing/1222/10 "2024-04-16T17:56:59Z")

</div>

HI @karthiksj

Based on the esignet logs shared seems like required binding partner details are missing in the request header.

I think mimoto logs will help us understand the issue better.

1. Is partener-id and partner-api-key is set with valid values?

> wallet.binding.partner.id=mpartner-default-mimotokeybinding  
> wallet.binding.partner.api.key=${mimoto.wallet.binding.partner.api.key}

**Note** : check if the mimoto.wallet.binding.partner.api.key is with valid value in secrets (rancher)

if the above is set with valid values, then enable debug logging with below property in mimoto-default.properties

> logging.level.org.springframework.web.client.RestTemplate=DEBUG

Restart the mimoto server and rerun the card activation from INJI and then share the mimoto logs here.

---

<div class="post-metadata">

**Author:** ![karthiksj](https://avatars.discourse-cdn.com/v4/letter/k/ed655f/32.png) [@karthiksj](https://community.mosip.io/u/karthiksj)\
**Post date:** [April 17, 2024, 5:03am UTC](https://community.mosip.io/t/inji-0-11-0-mobile-application-card-activation-failing/1222/11 "2024-04-17T05:03:39Z")

</div>

@Anusha_sunkadh partener-id and partner-api-key is set properly. mimoto.wallet.binding.partner.api.key is with valid value in secrets.  
Will share the logs soon.

@Anusha_sunkadh This is we are getting in mimoto while activating the card.  
2024-04-17 06:29:42.488 INFO [mimoto,917e76206a1894a7829c40cafe8d6a53,d6d37cf4145c2f1f,false] 8 — [nio-8088-exec-3] io.mosip.mimoto.util.RestApiClient : RestApiClient::postApi()::entry uri: [https://esignet.tfgov.idencode.link/v1/esignet/binding/binding-otp](https://esignet.tfgov.idencode.link/v1/esignet/binding/binding-otp)  
2024-04-17 06:29:42.489 DEBUG [mimoto,917e76206a1894a7829c40cafe8d6a53,d6d37cf4145c2f1f,false] 8 — [nio-8088-exec-3] o.s.web.client.RestTemplate : Created POST request for “[https://esignet.tfgov.idencode.link/v1/esignet/binding/binding-otp](https://esignet.tfgov.idencode.link/v1/esignet/binding/binding-otp)”  
2024-04-17 06:29:42.489 DEBUG [mimoto,917e76206a1894a7829c40cafe8d6a53,d6d37cf4145c2f1f,false] 8 — [nio-8088-exec-3] o.s.web.client.RestTemplate : Setting request Accept header to [application/json, application/\*+json]  
2024-04-17 06:29:42.489 DEBUG [mimoto,917e76206a1894a7829c40cafe8d6a53,d6d37cf4145c2f1f,false] 8 — [nio-8088-exec-3] o.s.web.client.RestTemplate : Writing [BindingOtpRequestDto(requestTime=2024-04-17T06:29:41.307Z, request=BindingOtpInnerReqDto(individualId=4580346351, otpChannels=[EMAIL, PHONE]))] as “application/json” using [org.springframework.http.converter.json.MappingJackson2HttpMessageConverter@28c48148]  
2024-04-17 06:29:43.319 DEBUG [mimoto,917e76206a1894a7829c40cafe8d6a53,d6d37cf4145c2f1f,false] 8 — [nio-8088-exec-3] o.s.web.client.RestTemplate : POST request for “[https://esignet.tfgov.idencode.link/v1/esignet/binding/binding-otp](https://esignet.tfgov.idencode.link/v1/esignet/binding/binding-otp)” resulted in 200 (OK)  
2024-04-17 06:29:43.319 DEBUG [mimoto,917e76206a1894a7829c40cafe8d6a53,d6d37cf4145c2f1f,false] 8 — [nio-8088-exec-3] o.s.web.client.RestTemplate : Reading [class io.mosip.mimoto.core.http.ResponseWrapper] as “application/json” using [org.springframework.http.converter.json.MappingJackson2HttpMessageConverter@28c48148]  
{“@timestamp”:“2024-04-17T06:29:43.325Z”,“level”:“ACCESS”,“level\_value”:70000,“traceId”:“917e76206a1894a7829c40cafe8d6a53”,“appId”:“7JU98ERER5KC”,“statusCode”:200,“req.requestURI”:“/v1/mimoto/binding-otp”,“bytesSent”:192,“timeTaken”:1.251,“appName”:“mimoto”}

---

<div class="post-metadata">

**Author:** ![Anusha\_sunkadh](https://dub1.discourse-cdn.com/flex017/user_avatar/community.mosip.io/anusha_sunkadh/32/30_2.png) [@Anusha\_sunkadh](https://community.mosip.io/u/Anusha_sunkadh)\
**Post date:** [April 18, 2024, 5:48am UTC](https://community.mosip.io/t/inji-0-11-0-mobile-application-card-activation-failing/1222/12 "2024-04-18T05:48:24Z")

</div>

We are checking on this @karthiksj we will soon have an update.

In the meantime can you try running this CURL or via Postman and see if eSignet is responding with a valid response?

curl --location ‘[https://esignet.collab.mosip.net/v1/esignet/binding/binding-otp](https://esignet.collab.mosip.net/v1/esignet/binding/binding-otp)’   
–header ‘Authorization: Bearer sampl-jwt-auth-token’   
–header ‘PARTNER-ID: mpartner-default’   
–header ‘PARTNER-API-KEY: sdasdfasfasdfasdfasdfasdf’   
–header ‘Content-Type: application/json’   
–data ‘{  
“requestTime”: “2024-04-18T05:55:15.507Z”,  
“request”: {  
“individualId” : “4976458142”,  
“otpChannels” : [“email”]  
}  
}’

**Note** : Replace sample-jwt-auth-token, individualId, partner-id and partner-api-key with values w.r.t your environment.

---

<div class="post-metadata">

**Author:** ![Anusha\_sunkadh](https://dub1.discourse-cdn.com/flex017/user_avatar/community.mosip.io/anusha_sunkadh/32/30_2.png) [@Anusha\_sunkadh](https://community.mosip.io/u/Anusha_sunkadh)\
**Post date:** [April 19, 2024, 6:27am UTC](https://community.mosip.io/t/inji-0-11-0-mobile-application-card-activation-failing/1222/13 "2024-04-19T06:27:34Z")

</div>

@karthiksj

what is the version of esignet?

---

<div class="post-metadata">

**Author:** ![swatigoel](https://dub1.discourse-cdn.com/flex017/user_avatar/community.mosip.io/swatigoel/32/751_2.png) [@swatigoel](https://community.mosip.io/u/swatigoel)\
**Post date:** [May 7, 2024, 8:48am UTC](https://community.mosip.io/t/inji-0-11-0-mobile-application-card-activation-failing/1222/14 "2024-05-07T08:48:36Z")

</div>

@karthiksj is this resolved?

---

<div class="post-metadata">

**Author:** ![karthiksj](https://avatars.discourse-cdn.com/v4/letter/k/ed655f/32.png) [@karthiksj](https://community.mosip.io/u/karthiksj)\
**Post date:** [May 7, 2024, 8:49am UTC](https://community.mosip.io/t/inji-0-11-0-mobile-application-card-activation-failing/1222/15 "2024-05-07T08:49:43Z")

</div>

@swatigoel its resolved

---

<div class="post-metadata">

**Author:** ![svahsek](https://dub1.discourse-cdn.com/flex017/user_avatar/community.mosip.io/svahsek/32/1098_2.png) [@svahsek](https://community.mosip.io/u/svahsek)\
**Post date:** [June 26, 2024, 10:53am UTC](https://community.mosip.io/t/inji-0-11-0-mobile-application-card-activation-failing/1222/16 "2024-06-26T10:53:41Z")

</div>

Closed on June 26, 2024, 10:53am UTC


