-
Notifications
You must be signed in to change notification settings - Fork 42
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
No error detected when there is mismatch between fields and headers #57
Comments
Hi @VarunDelft, |
Hi @shystruk , I am basically trying to check for an incorrectly formatted csv. Sometimes the user forgets to include the delimiters and that results in mismatch of headers and the fields specified under it. In Papa Parse, these errors are detected as FieldMismatch error. You can try this out here: https://www.papaparse.com/demo. Under results.errors you can see the error type and message displayed "Too many fields: expected 2 fields but parsed 3". |
Hey @shystruk, |
@sushieez make sense, should return an error when fields mismatch |
Hi,
Given the following CSV:
Config:
I would expect a parse error since there is mismatch between headers and fields. But I don't get any error in the validator response. Is this feature not implemented or am I missing something ?
Thanks.
The text was updated successfully, but these errors were encountered: