"Invalid token" when trying to sign up with username already signed up
See original GitHub issueSentry Issue: BACKEND-2T
UniqueViolation: duplicate key value violates unique constraint "uq_signup_flows_username"
DETAIL: Key (username)=(esra) already exists.
File "sqlalchemy/engine/base.py", line 1771, in _execute_context
self.dialect.do_execute(
File "sqlalchemy/engine/default.py", line 717, in do_execute
cursor.execute(statement, parameters)
IntegrityError: (psycopg2.errors.UniqueViolation) duplicate key value violates unique constraint "uq_signup_flows_username"
DETAIL: Key (username)=(esra) already exists.
[SQL: UPDATE signup_flows SET username=%(username)s, birthdate=%(birthdate)s, gender=%(gender)s, hosting_status=%(hosting_status)s, city=%(city)s, geom=CAST(CAST(ST_GeogFromText(%(param_1)s) AS geography(POINT,4326)) AS geometry(POINT,4326)), geom_radius=%(geom_radius)s, accepted_tos=%(accepted_tos)s WHERE signup_flows.id = %(signup_flows_id)s]
[param...
(15 additional frame(s) were not displayed)
...
File "sqlalchemy/engine/base.py", line 1814, in _execute_context
self._handle_dbapi_exception(
File "sqlalchemy/engine/base.py", line 1995, in _handle_dbapi_exception
util.raise_(
File "sqlalchemy/util/compat.py", line 207, in raise_
raise exception
File "sqlalchemy/engine/base.py", line 1771, in _execute_context
self.dialect.do_execute(
File "sqlalchemy/engine/default.py", line 717, in do_execute
cursor.execute(statement, parameters)
Issue Analytics
- State:
- Created 2 years ago
- Comments:10 (10 by maintainers)
Top Results From Across the Web
What is an 'invalid token' when I try to reset my password?
A token is a one-time generated link that contains numbers and letters that'll allow you to reset your password. It cannot be reused...
Read more >Troubleshoot Invalid Token Errors - Auth0
Describes how to troubleshoot invalid token errors. ... Error Message: The ID token cannot be validated because it was signed using the HS256...
Read more >I'm getting the "Your token is invalid [401]" error
This error means that the app has experienced an authentication problem and can't verify your account information. If it occurs, you'll be automatically...
Read more >What is the Invalid Token message - Bitfinex support
The error message " · " usually occurs when you are trying to log in to your account through email confirmation. ; If...
Read more >What does 'invalid login token detected' mean?
If you are using our Android app, you may get a message saying 'invalid login token detected' and be unable to use the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Yep
OK, do a new PR when ready.