Skip to content

Error when sending money to institution 90661 #417

@andreshndz

Description

@andreshndz

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions