mitodl / edx-platform

The Open edX platform, the software that powers edX!
http://open.edx.org/
GNU Affero General Public License v3.0
6 stars 1 forks source link

EnterpriseCustomerIdentityProvider.DoesNotExist: EnterpriseCustomerIdentityProvider matching query does not exist. #294

Open sentry-io[bot] opened 2 years ago

sentry-io[bot] commented 2 years ago

Sentry Issue: OPENEDX-RESIDENTIAL-3MJ

EnterpriseCustomerIdentityProvider.DoesNotExist: EnterpriseCustomerIdentityProvider matching query does not exist.
  File "common/djangoapps/third_party_auth/pipeline.py", line 785, in associate_by_email_if_enterprise_user
    enterprise_customer_user = is_enterprise_customer_user(current_provider.provider_id, current_user)
  File "common/djangoapps/third_party_auth/utils.py", line 94, in is_enterprise_customer_user
    enterprise_idp = EnterpriseCustomerIdentityProvider.objects.get(provider_id=provider_id)
  File "django/db/models/manager.py", line 85, in manager_method
    return getattr(self.get_queryset(), name)(*args, **kwargs)
  File "django/db/models/query.py", line 435, in get
    raise self.model.DoesNotExist(

[Multiple_SSO_SAML_Accounts_Association_to_User] Error in saml multiple accounts association: User ID: 28749, User Email: jchand@mit.edu:,Provider ID: saml-mit-kerberos, Exception: DoesNotExist('EnterpriseCustomerIdentityProvider matching query does not exist.')