Hello all,
I am having trouble reading a CSV file from a URL. Hoping someone can help.
File looks simple (see below sample rows)
Date, employees_present
2024-09-01, 56
2024-09-02, 51
- I have a URL that has the location of this CSV file
- I am feeding this URL to a flow variable
- I convert the flow variable type to “Path” from the default type which was string
- I then use this flow variable in the CSV reader node with the following configuration
- –Read from: Custom/KNIME URL
- –URL is populated with the flow variable that was earlier configured
- –This configuration looks perfect and I can see Knime is pulling in the correct URL to the csv in the URL field
However when running it gives me an error that says: The row containing the table headers (row number 0) was not part of the table
I tried the below to rule out issues with the file structure:
- Downloaded the same file by entering the same URL in Chrome. File was downloaded to downloads folder
- Used CSV reader node to read the same file from downloads folder using “Local File System” as Read From option
In this method where it is reading from local system, it works perfectly
Not sure what is wrong and why the same exact file will work from local folder but not from URL.
Kindly help