Skip to content

KYC Level5 fails missing doc_expire on Address.rb #1269

@andrew-thought

Description

@andrew-thought

Baseapp on KYC level5 (Addres/utility bill) not sending doc_expire, but Barong API is requiring it and erroring out with 422 Missing doc_expire.

Not sure best path here, Baseap doesn't have expiration date on Level 5 form, can set Baseapp to send doc_expire way in the future, or modify Barong to ignore doc_expire for api/v2/resources/address.

Baseapp and Barong version 2-6-stable

Thanks!

Barong error
{"date":"2021-03-24T14:30:18.579+00:00","severity":"WARN","data":{"status":422,"time":{"total":323.38,"db":1.39,"view":321.99},"method":"POST","path":"/api/v2/resource/addresses","params":{"upload":"[FILTERED]","address":"36 test ","city":"Test","country":"US","postcode":"17555"},"host":"xxx","response":{"errors":["doc_expire.blank"]},

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions