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

ActiveRecord::RecordInvalid: Validation failed: Contact location has already been taken (ActiveRecord::RecordInvalid) #2688

Open
sentry-io bot opened this issue Oct 29, 2024 · 0 comments

Comments

@sentry-io
Copy link

sentry-io bot commented Oct 29, 2024

Sentry Issue: CONVENE-36

ActiveRecord::RecordInvalid: Validation failed: Contact location has already been taken (ActiveRecord::RecordInvalid)
  app/models/authentication_method.rb:57:in `bump_one_time_password!'
    update!(last_one_time_password_at: Time.zone.now)
  app/models/authentication_method.rb:61:in `send_one_time_password!'
    bump_one_time_password!
  app/models/authenticated_session.rb:56:in `verify_or_resend_otp'
    authentication_method.send_one_time_password!(space)
  app/models/authenticated_session.rb:38:in `save'
    verify_or_resend_otp
  app/controllers/authenticated_sessions_controller.rb:13:in `create'
    if authenticated_session.save
...
(103 additional frame(s) were not displayed)

ActiveRecord::RecordInvalid: Validation failed: Contact location has already been taken (ActiveRecord::RecordInvalid)
  app/models/authentication_method.rb:57:in `bump_one_time_password!'
    update!(last_one_time_password_at: Time.zone.now)
  app/models/authentication_method.rb:61:in `send_one_time_password!'
    bump_one_time_password!
  app/models/authenticated_session.rb:56:in `verify_or_resend_otp'
    authentication_method.send_one_time_password!(space)
  app/models/authenticated_session.rb:41:in `rescue in save'
    verify_or_resend_otp
  app/models/authenticated_session.rb:35:in `save'
    def save
...
(104 additional frame(s) were not displayed)
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

0 participants