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

Prepping for a Fabric certification exam? Join us for a live prep session with exam experts to learn how to pass the exam. Register now.

Reply
VBeaklini
Helper I
Helper I

Error when loading data to a table

Hello i´m currently doing a free online course for Power BI for business inteligence when i encountered the following error while using PostegreSQL and loading data to a table:

 

ERROR:  invalid byte sequence for encoding "UTF8": 0xe9 0x73 0x74
CONTEXT:  COPY TB_PRODUTO, line 2
 
I understand this looks like a location/language error, but i don´t know how to solve for PostegreSQL, only on Power BI. And please note the default language for my PostegreSQL is already set to UTF-8.
 
Thanks for the help,
Victor Beaklini
1 ACCEPTED SOLUTION
jennratten
Super User
Super User

It appears to be a problem with the data in the database.  I am not sure that you will be able to fix it or work around it with Power BI.  Here are a few references I found.

https://stackoverflow.com/questions/4867272/invalid-byte-sequence-for-encoding-utf8 

https://dba.stackexchange.com/questions/4777/how-to-solve-utf8-invalid-byte-sequence-copy-errors-on-... 

If this post helps to answer your questions, please consider marking it as a solution so others can find it more quickly when faced with a similar challenge.

Proud to be a Microsoft Fabric Super User

View solution in original post

3 REPLIES 3
jennratten
Super User
Super User

It appears to be a problem with the data in the database.  I am not sure that you will be able to fix it or work around it with Power BI.  Here are a few references I found.

https://stackoverflow.com/questions/4867272/invalid-byte-sequence-for-encoding-utf8 

https://dba.stackexchange.com/questions/4777/how-to-solve-utf8-invalid-byte-sequence-copy-errors-on-... 

If this post helps to answer your questions, please consider marking it as a solution so others can find it more quickly when faced with a similar challenge.

Proud to be a Microsoft Fabric Super User

I managed to solve the problem with your solution. Thanks for the reply.

Anonymous
Not applicable

Hi @VBeaklini ,

 

If jennratten's answer is helpful, please consider marking his answer as a solution. This will help people who later encounter similar problems to find this thread faster, thanks in advance!🙂

 

Best Regards,
Gao

Community Support Team

Helpful resources

Announcements
May PBI 25 Carousel

Power BI Monthly Update - May 2025

Check out the May 2025 Power BI update to learn about new features.

Notebook Gallery Carousel1

NEW! Community Notebooks Gallery

Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.

May 2025 Monthly Update

Fabric Community Update - May 2025

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

Top Solution Authors