Unable to upload csv files into snowflake table

Insert CSV data into a database

I've used this document to read the csv file into database using the fileButton component. I enabled the Parse value as well. The result im getting is is the form of 2D array.
image
When i tried reading the values. Its throwing an error like-
image

Any help here please!

Hey @Jyothi,

What happens if you use fileButton1.parsedValue instead of fileButton1.parsedValue[0] ?