ERROR: Exception in ASGI application
Traceback (most recent call last):
...
return await dependant.call(**values)
File "/svp-harvester/app/api/routes/references.py", line 173, in get_reference_by_source_identifier_version
reference = await ReferenceDAO(
File "/svp-harvester/app/db/daos/reference_dao.py", line 203, in get_complete_reference_by_harvester_source_identifier_version
return (await self.db_session.execute(query)).unique().scalar_one_or_none()
File "/svp-harvester/venv/lib/python3.10/site-packages/sqlalchemy/engine/result.py", line 1502, in scalar_one_or_none
return self._only_one_row(
File "/svp-harvester/venv/lib/python3.10/site-packages/sqlalchemy/engine/result.py", line 813, in _only_one_row
raise exc.MultipleResultsFound(
sqlalchemy.exc.MultipleResultsFound: Multiple rows were found when one or none was required
get_complete_reference_by_harvester_source_identifier_version
ERROR: Exception in ASGI application Traceback (most recent call last): ... return await dependant.call(**values) File "/svp-harvester/app/api/routes/references.py", line 173, in get_reference_by_source_identifier_version reference = await ReferenceDAO( File "/svp-harvester/app/db/daos/reference_dao.py", line 203, in get_complete_reference_by_harvester_source_identifier_version return (await self.db_session.execute(query)).unique().scalar_one_or_none() File "/svp-harvester/venv/lib/python3.10/site-packages/sqlalchemy/engine/result.py", line 1502, in scalar_one_or_none return self._only_one_row( File "/svp-harvester/venv/lib/python3.10/site-packages/sqlalchemy/engine/result.py", line 813, in _only_one_row raise exc.MultipleResultsFound( sqlalchemy.exc.MultipleResultsFound: Multiple rows were found when one or none was required