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 field has extra not needed and not documented array #171

Open
matkoniecz opened this issue Jul 1, 2024 · 0 comments
Open

error field has extra not needed and not documented array #171

matkoniecz opened this issue Jul 1, 2024 · 0 comments

Comments

@matkoniecz
Copy link

see also #128

To reproduce: enable config={{"header": true}}

Pass data where some rows have less columns than header

[[{"type":"FieldMismatch","code":"TooFewFields","message":"Too few fields: expected 10 fields but parsed 1","row":7}],[{"type":"FieldMismatch","code":"TooFewFields","message":"Too few fields: expected 10 fields but parsed 1","row":8}],[{"type":"FieldMismatch","code":"TooFewFields","message":"Too few fields: expected 10 fields but parsed 1","row":9}],[{"type":"FieldMismatch","code":"TooFewFields","message":"Too few fields: expected 10 fields but parsed 1","row":10}],[{"type":"FieldMismatch","code":"TooFewFields","message":"Too few fields: expected 10 fields but parsed 1","row":11}],[{"type":"FieldMismatch","code":"TooFewFields","message":"Too few fields: expected 10 fields but parsed 1","row":12}],[{"type":"FieldMismatch","code":"TooFewFields","message":"Too few fields: expected 10 fields but parsed 1","row":13}],[{"type":"FieldMismatch","code":"TooFewFields","message":"Too few fields: expected 10 fields but parsed 1","row":14}]]

why each error is packed into a single element array?

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