Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AuthAlreadyAssociated: This account is already in use. #1248

Open
sentry-io bot opened this issue Jun 1, 2021 · 0 comments
Open

AuthAlreadyAssociated: This account is already in use. #1248

sentry-io bot opened this issue Jun 1, 2021 · 0 comments
Assignees

Comments

@sentry-io
Copy link

sentry-io bot commented Jun 1, 2021

Sentry Issue: BOOTCAMPS-15T

UniqueViolation: duplicate key value violates unique constraint "social_auth_usersocialauth_provider_e6b5e668_uniq"
DETAIL:  Key (provider, uid)=(email, [email protected]) already exists.

  File "django/db/backends/utils.py", line 84, in _execute
    return self.cursor.execute(sql, params)
  File "newrelic/hooks/database_psycopg2.py", line 64, in execute
    return super(CursorWrapper, self).execute(sql, parameters, *args,
  File "newrelic/hooks/database_dbapi2.py", line 38, in execute
    return self.__wrapped__.execute(sql, parameters,

IntegrityError: duplicate key value violates unique constraint "social_auth_usersocialauth_provider_e6b5e668_uniq"
DETAIL:  Key (provider, uid)=(email, [email protected]) already exists.

(13 additional frame(s) were not displayed)
...
  File "django/db/backends/utils.py", line 84, in _execute
    return self.cursor.execute(sql, params)
  File "django/db/utils.py", line 89, in __exit__
    raise dj_exc_value.with_traceback(traceback) from exc_value
  File "django/db/backends/utils.py", line 84, in _execute
    return self.cursor.execute(sql, params)
  File "newrelic/hooks/database_psycopg2.py", line 64, in execute
    return super(CursorWrapper, self).execute(sql, parameters, *args,
  File "newrelic/hooks/database_dbapi2.py", line 38, in execute
    return self.__wrapped__.execute(sql, parameters,

AuthAlreadyAssociated: This account is already in use.
(7 additional frame(s) were not displayed)
...
  File "social_core/backends/base.py", line 80, in authenticate
    return self.pipeline(pipeline, *args, **kwargs)
  File "social_core/backends/base.py", line 83, in pipeline
    out = self.run_pipeline(pipeline, pipeline_index, *args, **kwargs)
  File "social_core/backends/base.py", line 113, in run_pipeline
    result = func(*args, **out) or {}
  File "social_core/pipeline/social_auth.py", line 44, in associate_user
    result = social_user(backend, uid, user, *args, **kwargs)
  File "social_core/pipeline/social_auth.py", line 23, in social_user
    raise AuthAlreadyAssociated(backend, msg)

Received unexpected AuthException
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant