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

Discretionary Data Error even when field not submitted #29

Open
jamesthrosby opened this issue Mar 2, 2018 · 0 comments
Open

Discretionary Data Error even when field not submitted #29

jamesthrosby opened this issue Mar 2, 2018 · 0 comments

Comments

@jamesthrosby
Copy link

For some reason when I run an Entry generator, if I do not submit anything for my discretionaryData field, i still get the following error:

nACHError[Invalid Data Type]: Discretionary Data's data type is required to be alphanumeric, but its contents don't reflect that.

This shouldn't be happening given that the field is marked as not required, and I'm not quite sure whats going on there

@jamesthrosby jamesthrosby reopened this Mar 2, 2018
ianberryman added a commit to ianberryman/nACH2 that referenced this issue Jan 23, 2019
Address issue glenselle#29 by adding default value to discretionary data field and all "required: false" fields, except those with "blank: true".  Default value is space-filled to field width.
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

No branches or pull requests

1 participant