You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
IntegrityError: UNIQUE constraint failed: user.sub
File "sqlalchemy/engine/base.py", line 1967, in _exec_single_context
self.dialect.do_execute(
File "sqlalchemy/engine/default.py", line 924, in do_execute
cursor.execute(statement, parameters)
IntegrityError: (sqlite3.IntegrityError) UNIQUE constraint failed: user.sub
[SQL: INSERT INTO user (sub, name) VALUES (?, ?)]
[parameters: ('85508c45876a957ac931508225e295c0a64bc378fefd4e534e63919493c38eae1dd60a61fff26cd433f1b9824010c389a3ecf7fd55ae0fc7e5f49d90e46a0ab4', 'f82a939a7d17f31ae4294af7f6d8a938f9255e639524f7f97a060a574e017c2c83cf038c483ac7ba7ba65e9c0e262f2ba74f5c6d8682705b673786e4ce5d7183')]
(Background on this error at: https://sqlalche.me/e/20/gkpj)
(29 additional frame(s) were not displayed)
...
File "eligibility_server/db/setup.py", line 54, in import_users
import_csv_users(path, remote)
File "eligibility_server/db/setup.py", line 88, in import_csv_users
save_user(row["sub"], row["name"], types)
File "eligibility_server/db/setup.py", line 113, in save_user
db.session.commit()
File "<string>", line 2, in commit
# Copyright (C) 2005-2024 the SQLAlchemy authors and contributors
File "<string>", line 2, in _prepare_impl
# Copyright (C) 2005-2024 the SQLAlchemy authors and contributors
The text was updated successfully, but these errors were encountered:
Sentry Issue: ELIGIBILITY-SERVER-J
The text was updated successfully, but these errors were encountered: