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

Scan for malformed CSV files to avoid SIS Upload Error #104

Open
jonespm opened this issue Dec 22, 2020 · 0 comments
Open

Scan for malformed CSV files to avoid SIS Upload Error #104

jonespm opened this issue Dec 22, 2020 · 0 comments

Comments

@jonespm
Copy link
Member

jonespm commented Dec 22, 2020

Frequently a CSV files comes along that causes a "SIS Upload Error". One often reason for this the CSV files contain unescaped quotes. Something along the lines of

01234567,testuser,,"Nickname"","Firstname",[email protected],active

The problem is that these CSV files are contained within a zip file that we don't do any processing to. To fix this we'd have to uncompress the zip files, scan for malformed content and fix it and re-compress. The correct fix to escape double quotes like this is to put an extra double quote in front of it.

Currently fixing this is a manual process. It was believed that they'd try to fix this upstream (TDX 231033) but feels like this has been a problem for a few months so might be worth looking at, or at least doing processing for in the new process of the uploader if this was rewritten. The upstream fix looks like it was just to prevent these characters from being entered, so that still seems like we might see problems with the downstream data.

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