DjangoGirls / djangogirls

Website for DjangoGirls.org
http://djangogirls.org/
BSD 3-Clause "New" or "Revised" License
462 stars 283 forks source link

HttpError: <HttpError 409 when requesting https://admin.googleapis.com/admin/directory/v1/users?alt=json ret... #740

Closed sentry-io[bot] closed 2 years ago

sentry-io[bot] commented 2 years ago

Sentry Issue: DJANGO-GIRLS-WEBSITE-3A

HttpError: <HttpError 409 when requesting https://admin.googleapis.com/admin/directory/v1/users?alt=json returned "Entity already exists.". Details: "[{'message': 'Entity already exists.', 'domain': 'global', 'reason': 'duplicate'}]">
(6 additional frame(s) were not displayed)
...
  File "organize/models.py", line 250, in send_deployed_email
    dummy_email, email_password = gmail_accounts.get_or_create_gmail(
  File "core/gmail_accounts.py", line 135, in get_or_create_gmail
    return create_gmail_account(event)
  File "core/gmail_accounts.py", line 58, in create_gmail_account
    service.users().insert(body={
  File "googleapiclient/_helpers.py", line 131, in positional_wrapper
    return wrapped(*args, **kwargs)
  File "googleapiclient/http.py", line 937, in execute
    raise HttpError(resp, content, uri=self.uri)
amakarudze commented 2 years ago

This is a data error.