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

ValidationError: 1 validation error for StpTransaction #432

Closed
sentry-io bot opened this issue Dec 13, 2023 · 0 comments · Fixed by #433
Closed

ValidationError: 1 validation error for StpTransaction #432

sentry-io bot opened this issue Dec 13, 2023 · 0 comments · Fixed by #433
Assignees

Comments

@sentry-io
Copy link

sentry-io bot commented Dec 13, 2023

Sentry Issue: SPEID-PROD-KF

StopIteration: 
  File "mongoengine/queryset/base.py", line 266, in get
    result = next(queryset)
  File "mongoengine/queryset/base.py", line 1572, in __next__
    raw_doc = next(self._cursor)
  File "pymongo/cursor.py", line 1287, in next
    raise StopIteration

DoesNotExist: Transaction matching query does not exist.
  File "speid/commands/spei.py", line 67, in reconciliate_deposits
    fecha_operacion=fecha_operacion.date(),

ValidationError: 1 validation error for StpTransaction
RFCCurpBeneficiario
  none is not an allowed value (type=type_error.none.not_allowed)
  File "speid/helpers/transaction_helper.py", line 20, in process_incoming_transaction
    external_tx = StpTransaction(**incoming_transaction)  # type: ignore
  File "<string>", line 20, in __init__
    ClaveRastreo: StrictStr
  File "pydantic/dataclasses.py", line 99, in pydantic.dataclasses._generate_pydantic_post_init._pydantic_post_init
    raise validation_error
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

Successfully merging a pull request may close this issue.

1 participant