Uploaded image for project: 'Nuxeo Studio'
  1. Nuxeo Studio
  2. NXS-5753

Exception during oktaSynchroListener sync listener execution, continuing to run other listeners

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.30.0
    • Component/s: Technical / Transverse

      Description

      org.nuxeo.ecm.core.api.NuxeoException: Error while trying to remove Okta user with id = 00u5qxdne7Ozwy2bB2p7 from App with id = 0oapg68lylfebL8uq2p6
       Response code : 403
       Response : {"errorCode":"E0000046","errorSummary":"Deactivate application for user forbidden.","errorLink":"E0000046","errorId":"oaejk378mqYRi2WoMaQoJYlCg","errorCauses":[{"errorSummary":"The application cannot be unassigned from the user while their group memberships grant them access."}]}
      	at com.nuxeo.connect.service.OktaServiceImpl.unauthorizeApplication(OktaServiceImpl.java:510)
      	at com.nuxeo.connect.listeners.OktaSynchroListener.lambda$synchronizeOktaConnectAuthorizations$7(OktaSynchroListener.java:205)
      	at java.util.ArrayList.forEach(ArrayList.java:1257)
      	at com.nuxeo.connect.listeners.OktaSynchroListener.synchronizeOktaConnectAuthorizations(OktaSynchroListener.java:196)
      	at com.nuxeo.connect.listeners.OktaSynchroListener.handleEvent(OktaSynchroListener.java:58)
      	at org.nuxeo.ecm.core.event.impl.EventServiceImpl.fireEvent(EventServiceImpl.java:250)
      	at org.nuxeo.ecm.core.api.AbstractSession.notifyEvent(AbstractSession.java:283)
      	at org.nuxeo.ecm.core.api.AbstractSession.removeNotifyOneDoc(AbstractSession.java:1455)
      	at org.nuxeo.ecm.core.api.AbstractSession.removeDocument(AbstractSession.java:1434)
      	at org.nuxeo.ecm.core.api.AbstractSession.removeDocument(AbstractSession.java:1424)
      	at com.nuxeo.connect.service.NuxeoConnectComponent.deleteConnectClient(NuxeoConnectComponent.java:626)
      	at com.nuxeo.connect.cleaner.CleanerWork.work(CleanerWork.java:76)
      	at org.nuxeo.ecm.core.work.AbstractWork.runWorkWithTransaction(AbstractWork.java:416)
      	at org.nuxeo.ecm.core.work.AbstractWork.runWorkWithTransactionAndCheckExceptions(AbstractWork.java:377)
      	at org.nuxeo.ecm.core.work.AbstractWork.run(AbstractWork.java:338)
      	at org.nuxeo.ecm.core.work.WorkHolder.run(WorkHolder.java:57)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
      	at java.lang.Thread.run(Thread.java:748)
      

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 hour
                1h