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

Error when sending money to institution 90661 #417

Open
andreshndz opened this issue Aug 17, 2023 · 0 comments
Open

Error when sending money to institution 90661 #417

andreshndz opened this issue Aug 17, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@andreshndz
Copy link

When trying to send money to institution 90661, occurs the following error:

  File "/usr/local/lib/python3.7/site-packages/stpmex/resources/ordenes.py", line 83, in registra
    orden = cls(**kwargs)
  File "<string>", line 23, in __init__
  File "pydantic/dataclasses.py", line 99, in pydantic.dataclasses._generate_pydantic_post_init._pydantic_post_init
    # +=======+=======+=======+
pydantic.error_wrappers.ValidationError: 4 validation errors for Orden
cuentaBeneficiario
  código de banco no es válido (type=value_error.clabe.bank_code)
cuentaBeneficiario
  ensure this value has at most 16 characters (type=value_error.any_str.max_length; limit_value=16)
cuentaBeneficiario
  ensure this value has at most 10 characters (type=value_error.any_str.max_length; limit_value=10)
institucionContraparte
  90661 no se corresponde a un banco (type=value_error)
@andreshndz andreshndz added the bug Something isn't working label Aug 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant