Article - CS393703

ESI Transaction fails with error "Warning: Access control rules were disregarded to update the transaction status, as the authenticated user "XXX" did not have the required access permissions." in Windchill Enterprise Systems Integration

Modified: 30-Apr-2025   


Applies To

  • Windchill Enterprise Systems Integration 11.1 to 12.0

Description

  • ESI Transaction fails with error "Warning: Access control rules were disregarded to update the transaction status, as the authenticated user "XXX" did not have the required access permissions."
wt.access.NotAuthorizedException: ATTENTION:  Secured Action. You do not have the necessary authorization for this operation. Contact your administrator if you believe you have received this message in error.
    at wt.access.StandardAccessControlManager.throwNotAuthorizedException(StandardAccessControlManager.java:12454)
    at wt.access.StandardAccessControlManager.checkAccess(StandardAccessControlManager.java:7820)
    at wt.access.StandardAccessControlManager.checkAccess(StandardAccessControlManager.java:415)
    at sun.reflect.GeneratedMethodAccessor37.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at wt.services.ServiceFactory$ServerInvocationHandler.invoke(ServiceFactory.java:399)
    at com.sun.proxy.$Proxy54.checkAccess(Unknown Source)
    at wt.fc.cache.StandardObjReferenceCacheService.getReadOnlyObject(StandardObjReferenceCacheService.java:190)
    at sun.reflect.GeneratedMethodAccessor372.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at wt.services.ServiceFactory$ServerInvocationHandler.invoke(ServiceFactory.java:399)
    at com.sun.proxy.$Proxy60.getReadOnlyObject(Unknown Source)
    at wt.fc.CachedObjectReference.getReadOnlyObject(CachedObjectReference.java:227)
    at wt.inf.container.WTContainerRef.getReferencedContainerReadOnly(WTContainerRef.java:271)
    at com.ptc.windchill.esi.tgt.ESITargetUtility.getParentContainers(ESITargetUtility.java:1383)
    at com.ptc.windchill.esi.tgt.ESITargetUtility.associateDefaultTargets(ESITargetUtility.java:1431)
    at com.ptc.windchill.esi.tgt.ESITargetUtility.getTargetAssociations(ESITargetUtility.java:657)
    at com.ptc.windchill.esi.tgt.ESITargetUtility.getTargetAssociations(ESITargetUtility.java:620)
    at com.ptc.windchill.esi.bom.ESIBOMRenderer.getTgtsMatchingWithDestId(ESIBOMRenderer.java:2217)
    at com.ptc.windchill.esi.bom.ESIBOMRenderer.buildBom(ESIBOMRenderer.java:915)
    at com.ptc.windchill.esi.bom.ESIBOMRenderer.buildGroups(ESIBOMRenderer.java:468)
    at com.ptc.windchill.esi.rnd.BasicESIRenderer.render(BasicESIRenderer.java:1048)
    at com.ptc.windchill.esi.bom.ESIBOMRenderer.getBOM(ESIBOMRenderer.java:631)
    at com.ptc.windchill.esi.ecn.ESIWTChangeOrder2Renderer.buildDetail(ESIWTChangeOrder2Renderer.java:859)
    at com.ptc.windchill.esi.ecn.ESIWTChangeOrder2Renderer.buildGroups(ESIWTChangeOrder2Renderer.java:530)
    at com.ptc.windchill.esi.rnd.BasicESIRenderer.render(BasicESIRenderer.java:1048)
    at com.ptc.windchill.esi.ecn.ESIWTChangeOrder2Renderer.getECN(ESIWTChangeOrder2Renderer.java:1235)
    at com.ptc.windchill.esi.svc.StandardESIService.getECN(StandardESIService.java:2362)
    at com.ptc.windchill.esi.txn.ESIResponseGenerator.getECN(ESIResponseGenerator.java:873)
    at com.ptc.windchill.esi.txn.ESIResponseGenerator.generateResponse(ESIResponseGenerator.java:549)
    at com.ptc.windchill.esi.tgt.delegate.DefaultESITargetProcessor.doOperation(DefaultESITargetProcessor.java:204)
    at com.ptc.windchill.esi.txn.ESIResponseGenerator.run(ESIResponseGenerator.java:1483)
    at wt.session.SessionThread.run(SessionThread.java:225)
  • Release To Manufacturing (RTM) Workflow generates ESI Failure Task with error message:
 
Warning: Access control rules were disregarded to update the transaction status, as the authenticated user "XXX" did not have the required access permissions. 
An error occurred while generating the ESI response. See the error logs for more information. 
Error message: wt.util.WTRuntimeException: (wt.access.accessResource/19) wt.access.NotAuthorizedException: ATTENTION: Secured Action. You do not have the necessary authorization for this operation. Contact your administrator if you believe you have received this message in error.
This is a printer-friendly version of Article 393703 and may be out of date. For the latest version click CS393703