Skip to content

When optional fields having "alphanumeric" type in an ACH file are left empty, nACHError is thrown with "Invalid data type" message #4

Description

@insertQuirkyNameHere

For example, if the 'Reference Code' field in the File Header is left empty, a nACHError is thrown even though the file is in the correct format.
The issue seems to be with alphanumericRegex specified in lib.validate.js. It does not recognize empty strings

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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