Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
SofieW
Regular Visitor

Error message during my Fabric exercise

Hi, 

I'm just learning to work with Fabric. I'm following this exercise: mslearn-fabric (microsoftlearning.github.io)

When I'm on step "Load file data into a table" I get an error message, and I have no idea how to solve it. I uploaded a csv as instructed, and when I want to turn it into a table, it won't work.

This is the message: error {"name":"TypeError","message":"Cannot read properties of undefined (reading 'indexOf')"}

I tried other csv's with the same result. When I try to delete the data file to try again, I get the message "An exception occurred. Please refresh the page and try again." I have to delete the whole lakehouse. 

I have absolutely no idea what I'm doing wrong. Please help

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

HI @SofieW,

I success reproduce this issue on my side, it should be related to the display languages.
After I change the display language to 'Nederlands', the same issue appeared and I confirm these works well before change language.

Change language to Nederlands:

change language to nederlands.png

load to table fail.png

Change language to English:

change language back to English.pngload to tabel success.png

Regards,

Xiaoxin Sheng

View solution in original post

10 REPLIES 10
ReynaldoZuazo
New Member

In my case, I followed all the instructions in the tutorial and I got the same error. The steps were to download the sales.csv file, and I tried other csv files and couldn't load it into a table.
JeromeN_talan
New Member

Hi,

Same problem here.

I cant import any csv.

Anonymous
Not applicable

Hi @SofieW,

How did you do these steps? Have you check if file is broken during download? Please share some more detail about these operations then we can clarify your scenario and test to troubleshoot.

The tutorial steps should be: download the sample csv file, upload it to the Lakehouse files level. Then right-click on the uploaded csv files and choose ‘load data to tables’.

1.png

Notice: the orange underline 'sales' table is generated from these operations.

Regards,

Xiaoxin Sheng

Hi

I did it exactly as described in the tutorial:

download of the sales.csv to my downloads:

download.PNG

upload to my lakehouse in Fabric and then load to table:

upload.PNGloadtotable.PNG

And then I get the error. 

error.PNG

I have no idea what went wrong

Anonymous
Not applicable

HI @SofieW,

I success reproduce this issue on my side, it should be related to the display languages.
After I change the display language to 'Nederlands', the same issue appeared and I confirm these works well before change language.

Change language to Nederlands:

change language to nederlands.png

load to table fail.png

Change language to English:

change language back to English.pngload to tabel success.png

Regards,

Xiaoxin Sheng

YES! Thank you so much.

Hi,

Try copy the entire rows , paste it in notepad and then save it as csv file. Then try to upload to files folder and load to tables it should work.

Hi,

 

I did as you said and copied some rows to notepad and saved it as a csv. I got the same error. 

Hi Sofie,

Try to copy entire content and paste it. Make sure to select "Use header for column names". Also check if you are able to preview the file in fabric portal itself. 

Srisakthi_0-1722408095755.png

 

 

If issue persist plz paste screenshot of it.

Hi Srisakthi

 

I made a csv of the complete dataset, and saved it as sales2:

 

pasttonotepad.PNG

then i loaded it. I can see a preview, and I tried to make te table. Same error. 

preview.PNGcrreattable2.PNGerror.PNG

Helpful resources

Announcements
Fabric July 2025 Monthly Update Carousel

Fabric Monthly Update - July 2025

Check out the July 2025 Fabric update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.