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

Unable to send a domain invitation #3403

Open
Tracked by #3402
abroddrick opened this issue Jan 24, 2025 · 0 comments
Open
Tracked by #3402

Unable to send a domain invitation #3403

abroddrick opened this issue Jan 24, 2025 · 0 comments
Labels
bug Something that isn't working as intended bundled Parent ticket will be sprinted and this ticket is included in the parent dev issue is for the dev team

Comments

@abroddrick
Copy link
Contributor

Current Behavior

We know that if a domain invitation notification fails for a particular domain manager then it blocks a domain invitation from sending. However, we got into a scenario on getgov-development where we could not determine why an invite would not send. When adding a domain invitation for "expert-down-little.gov" first only a warning message appeared saying "could not send email invitation", no error message saying it was unable to send to a manager. The logs read "Could not send email invitation (Other Exception)" indicating an unexpected exception occurred. When another attempt was made to this email address, but by a different user, the following error (not warning) appeared "is already a member of another .gov organization."

Further, when others tried different emails we did get an error message saying it failed to send to a manager. Then when other attempts were made to send a domain invitation to [email protected] and [email protected], but in both cases the the portfolio invitation failed and no traceback was logged to indicate why. The error in this case changed to be "Could not sent email invitation to [email protected] for portfolio Farm Credit Administration. Portfolio invitation not saved."

Expected Behavior

The portfolio invitation shouldn't fail. "Could not send email invitation (Other Exception)" shouldn't have occurred in this scenario.

Keep in mind the other bug tickets this is bundled with, but investigate this error to determine if there is a runtime or general logic error that may have been missed. Add additional error logs where deemed helpful.

If this is resolved in the other bug fix (#3378 ), then mark this as closed.

Steps to Reproduce

  1. open development and in django admin domain invitations table
  2. send a domain invitation for expert-down-little.gov
  3. see errors

Environment

getgov-development

Additional Context

slack thread with screenshots, who ran into this error and on what email address.

Issue Links

No response

@abroddrick abroddrick added the bug Something that isn't working as intended label Jan 24, 2025
@abroddrick abroddrick added the dev issue is for the dev team label Jan 24, 2025
@abroddrick abroddrick moved this from 👶 New to 🎯 Ready in .gov Product Board Jan 24, 2025
@abroddrick abroddrick added the bundled Parent ticket will be sprinted and this ticket is included in the parent label Jan 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something that isn't working as intended bundled Parent ticket will be sprinted and this ticket is included in the parent dev issue is for the dev team
Projects
Status: 🎯 Ready
Development

No branches or pull requests

1 participant