Policy Automation for B2C Service

Get Involved. Join the Conversation.

Topic

    Cy Routh
    Error: no initID supplied in query string
    Topic posted February 18, 2019 by Cy Routh 
    171 Views, 4 Comments
    Title:
    Error: no initID supplied in query string
    Summary:
    Query string errors after re-directing OPA hub to different OSvC site
    Content:

    Any idea what might be causing this error?

    We've been getting lots of them since our client's OPA hub was redirected to a different OSvC site. We're running an OPA interview in Agent Desktop. It's a production system, so I haven't been able to beat on it very hard to try to find out more.

    Thanks

     

    Non-optional input mapping specified, but no initID supplied in query string
    com.oracle.determinations.connector.core.servicecloud.exception.ServiceCloudConnectorError: Non-optional input mapping specified, but no initID supplied in query string
            at com.oracle.determinations.connector.plugin.servicecloud.plugins.ServiceCloudConnector.validateContext(ServiceCloudConnector.java:339)
            at com.oracle.determinations.connector.plugin.servicecloud.plugins.ServiceCloudConnector.getExternalInstances(ServiceCloudConnector.java:405)
            at com.oracle.determinations.engine.ExternalEntityInstanceRule.think(ExternalEntityInstanceRule.java:91)
            at com.oracle.determinations.engine.AbstractRule.think(AbstractRule.java:107)
            at com.oracle.determinations.engine.ExternalEntityInstanceRule.think(ExternalEntityInstanceRule.java:69)
            at com.oracle.determinations.engine.Session.thinkStep(Session.java:885)
            at com.oracle.determinations.engine.Session.think(Session.java:931)
            at com.oracle.determinations.interview.engine.InterviewSession.<init>(InterviewSession.java:159)
            at com.oracle.determinations.interview.engine.InterviewEngine.createSession(InterviewEngine.java:82)
            at com.oracle.determinations.interview.engine.InterviewEngine.createSession(InterviewEngine.java:75)
            at com.oracle.determinations.web.platform.controller.local.LocalSessionContext.startNewInterview(LocalSessionContext.java:328)
            at com.oracle.determinations.interview.web.v2_0.controller.JSONController.startSession(JSONController.java:221)
            at com.oracle.determinations.web.platform.controller.actions.StartSessionAction.processRequest(StartSessionAction.java:165)
            at com.oracle.determinations.web.platform.controller.actions.StartSessionAction.doGetResource(StartSessionAction.java:76)
            at com.oracle.determinations.web.platform.controller.actions.Action.getResource(Action.java:78)
            at com.oracle.determinations.web.platform.servlet.WebDeterminationsServlet.processRequest(WebDeterminationsServlet.java:318)
            at com.oracle.determinations.web.platform.servlet.WebDeterminationsServlet.doGet(WebDeterminationsServlet.java:205)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
            at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
            at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
            at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:301)
            at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
            at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:60)
            at com.oracle.determinations.web.platform.servlet.RequiredResponseHeaderFilter.doFilter(RequiredResponseHeaderFilter.java:43)
            at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:60)
            at com.oracle.determinations.web.platform.servlet.URLFilter.doFilter(URLFilter.java:151)
            at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:60)
            at com.oracle.determinations.server.runtime.logging.WDLoggingFilter.doFilter(WDLoggingFilter.java:61)
            at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:60)
            at com.oracle.determinations.hub.runtime.cloud.WDCloudFilter.doFilter(WDCloudFilter.java:238)
            at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:60)
            at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3748)
            at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3714)
            at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
            at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
            at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2283)
            at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2182)
            at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1498)
            at weblogic.work.ExecuteThread.execute(ExecuteThread.java:263)
            at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
    
    Version:
    18C

    Comment

     

    • Matt Sevin

      Is it possible the two OSvC sites are running different version of the widget code?   I'd start on the OSvC side and make sure everything involved in calling OPA is identical.  Does this happen with every call, or just occasionally?   Next thing to check would be whatever is determining the initId to be passed to OPA (i.e. anything hard-coded or that could be different at the data level between the two OSvC sites such that some call returns a null on one site, but not the other).

      • Cy Routh

        Thanks Matt,

        We're running in Agent Desktop, not Customer Portal, so there is no widget. It's just pointing to the policy model in the workspace's OPA control. I've checked the custom objects and OPA's account permissions across the two OSvC environments as well. 

        My current guess from trying to interpret the stack trace is that the error happens when the interview is trying to load dynamic data for objects other than the Incident from which it is launched.

        I think the client has an SR (re)opened now, so maybe we'll get some traction on that front. It's been difficult to get steps from them for reproducing the issue they've been happening though, and it's a production system so I'm reluctant to just start banging on things to see what happens. I was just kinda hoping one of you folks might be able to offer some insight based on the stack trace.

    • Cy Routh

      FYI,

      Support has identified the issue and is trying to track down the root cause. This does not appear to be a configuration issue, but who knows until the root cause is tracked down. Also, it only affects a small fraction of OPA sites integrated with OSvC Agent Desktop.

      For completeness' sake, I'll drop in a snippet from an associated error message:

      Identity mapping specified, but no valid user supplied in SAML token