I have written a script that imports data into a from a specified CSV file to a list in a specified SharePoint 2013 site (on premise). However, when I come to run the script, I get these two errors:
I understand why I am getting these errors. It is because the column in the CSV file which holds Date fields contains blanks. I would put these blanks to a date however, there is another column in SharePoint where if it's value is "1" that column MUST NOT contain a date.
What can I add to my script to fix this issue?
Thanks in advance, Sam D Harris